HighDots Forums  

Template's column heights change in different browsers

Cascading Style Sheets Layout/presentation on the WWW (comp.infosystems.www.authoring.stylesheets)


Discuss Template's column heights change in different browsers in the Cascading Style Sheets forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Vez
 
Posts: n/a

Default Template's column heights change in different browsers - 11-08-2007 , 08:44 PM






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


Reply With Quote
  #2  
Old   
dorayme
 
Posts: n/a

Default Re: Template's column heights change in different browsers - 11-08-2007 , 09:49 PM






In article
<1194576276.157155.306780 (AT) s15g2000prm (DOT) googlegroups.com>,
Vez <tw (AT) emailaccount (DOT) com> wrote:

Quote:
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


Reply With Quote
  #3  
Old   
Vez
 
Posts: n/a

Default Re: Template's column heights change in different browsers - 11-09-2007 , 12:09 PM



On Nov 8, 7:49 pm, dorayme <doraymeRidT... (AT) optusnet (DOT) com.au> wrote:
Quote:
In article
1194576276.157155.306... (AT) s15g2000prm (DOT) googlegroups.com>,

Vez <t... (AT) emailaccount (DOT) com> wrote:
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



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.