Not looking right in FF

Phoca Templates - templates for Joomla! CMS
Gandolf
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 14 Oct 2008, 00:28

Not looking right in FF

Post by Gandolf »

Check this link.
http://www.skogaslkk.se/joomla/index.ph ... &Itemid=27

In IE 7 all looks good but in FF 3.03 the text in the article is right beside the picture even though Vertical and Horizontal space is set to 10 for the picture. Where to fix that in the template?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Not looking right in FF

Post by Jan »

Hi, this should be changed in editor, if the hspace or vspace does't work, then e.g. some padding should be added into a class of the image (in editor )

Jan
If you find Phoca extensions useful, please support the project
Gandolf
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 14 Oct 2008, 00:28

Re: Not looking right in FF

Post by Gandolf »

If you're adamant about letting hspace and vspace do its thing, you're going to have to remove the universal selector reset. This is what I did in the template.css. Now it works.

I replaced

{
margin: 0;
padding: 0;
}

with this

html, body, div, span, applet, object, iframe,
p, pre, a, abbr, acronym, big, cite, code,
del, dfn, em, font, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center, dt, legend,
table, caption, tbody, tfoot, thead, tr, th, {
margin:0px;
padding:0px;
}
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Not looking right in FF

Post by Jan »

Ok, thank you for this info I will take a look at it and will change it for the next versions...

Jan
If you find Phoca extensions useful, please support the project
Post Reply