HighDots Forums  

margin-top

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


Discuss margin-top in the Cascading Style Sheets forum.



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

Default margin-top - 08-04-2008 , 09:10 PM






Working with the following web page and I can't seem to get the banner to
sit at the top of the page in firefox/iceweasel. Works great in all
versions of IE 5, 5.5, 6, 7 can you suggest why I might have this problem?

http://www.testbeddesigns.com/CSS_XHTML/ch5_threecol.html

my style sheet:
http://www.testbeddesigns.com/CSS_XHTML/ch5_threecol.css

any insight would be appreciated

thank you
Kevin

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

Default Re: margin-top - 08-04-2008 , 09:30 PM







Kevin Raleigh wrote:
Quote:
Working with the following web page and I can't seem to get the banner to
sit at the top of the page in firefox

http://www.testbeddesigns.com/CSS_XHTML/ch5_threecol.html
That space above the banner is the default top margin on the h1 element.
Go look up collapsing margins for more info.

--
Berg


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

Default Re: margin-top - 08-04-2008 , 09:46 PM



In article <Z42dnTDdcZQRNQrVnZ2dnUVZ_jadnZ2d (AT) giganews (DOT) com>,
Kevin Raleigh <kraleigh (AT) sbcglobal (DOT) net> wrote:

Quote:
Working with the following web page and I can't seem to get the banner to
sit at the top of the page in firefox/iceweasel. Works great in all
versions of IE 5, 5.5, 6, 7 can you suggest why I might have this problem?

http://www.testbeddesigns.com/CSS_XHTML/ch5_threecol.html

my style sheet:
http://www.testbeddesigns.com/CSS_XHTML/ch5_threecol.css

any insight would be appreciated

At least add to #header h1 {margin-top:0;}

--
dorayme


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 - 2009, Jelsoft Enterprises Ltd.