471,618 Members | 1,514 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,618 software developers and data experts.

Template's column heights change in different browsers

Vez
Why does this template display the text in columns 1 & 2 slightly
higher in IE7 than in Firefox 2.0.0.9?:

http://www.freecsstemplates.org/preview/saltpepper

-Thanks

Nov 9 '07 #1
2 1489
In article
<11**********************@s15g2000prm.googlegroups .com>,
Vez <tw@emailaccount.comwrote:
Why does this template display the text in columns 1 & 2 slightly
higher in IE7 than in Firefox 2.0.0.9?:

http://www.freecsstemplates.org/preview/saltpepper

-Thanks
Perhaps because the default css sheet that IE 7 uses is
different?

Anyway, take the main frame as a separate url and take a look:
notice that in the css there is
h2 {
font-size: 1.6em;
}

h3 {
margin: 0;
font-size: 1em;
}

The h2 margin is not set and might be inheriting or set in the
default sheet. Try zeroing the margin and padding for this and
then seeing in IE and FF.

--
dorayme
Nov 9 '07 #2
Vez
On Nov 8, 7:49 pm, dorayme <doraymeRidT...@optusnet.com.auwrote:
In article
<1194576276.157155.306...@s15g2000prm.googlegroups .com>,

Vez <t...@emailaccount.comwrote:
Why does this template display the text in columns 1 & 2 slightly
higher in IE7 than in Firefox 2.0.0.9?:
http://www.freecsstemplates.org/preview/saltpepper
-Thanks

Perhaps because the default css sheet that IE 7 uses is
different?

Anyway, take the main frame as a separate url and take a look:
notice that in the css there is

h2 {
font-size: 1.6em;

}

h3 {
margin: 0;
font-size: 1em;

}

The h2 margin is not set and might be inheriting or set in the
default sheet. Try zeroing the margin and padding for this and
then seeing in IE and FF.

--
dorayme

That was it! Zeroing the margin fixed it.

Thanks :)

Nov 9 '07 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

5 posts views Thread by yooyoo | last post: by
15 posts views Thread by Tamblyne | last post: by
reply views Thread by MattB | last post: by
4 posts views Thread by Brian Barnes | last post: by
3 posts views Thread by Joel Byrd | last post: by
7 posts views Thread by woessner | last post: by
272 posts views Thread by Peter Olcott | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.