homepage Welcome to WebmasterWorld Guest from 54.237.213.31
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Home / Forums Index / Browsers / Opera Browser Usage and Support
Forum Library, Charter, Moderator: open

Opera Browser Usage and Support Forum

    
Question about margin-top:0px;
full doctype, opera doesn't recognize it
macrost

10+ Year Member



 
Msg#: 476 posted 8:32 pm on Oct 18, 2004 (gmt 0)

I am using xhtml transitional with a full doctype, but it seems that opera doesn't recognize the css margin-top:0px; deal.

Does anyone have an explaination for this?

 

encyclo

WebmasterWorld Senior Member encyclo us a WebmasterWorld Top Contributor of All Time 10+ Year Member



 
Msg#: 476 posted 8:52 pm on Oct 18, 2004 (gmt 0)

Are you using it on the
body tag? If so, you need padding-top:0; as well.

Opera's use of padding is actually more logical than the others' use of margin, but it's confusing at first.

macrost

10+ Year Member



 
Msg#: 476 posted 9:08 pm on Oct 18, 2004 (gmt 0)

encyclo,
Thanks! Heh, go figure.

BlobFisk

WebmasterWorld Senior Member blobfisk us a WebmasterWorld Top Contributor of All Time 10+ Year Member



 
Msg#: 476 posted 12:45 pm on Oct 19, 2004 (gmt 0)

Hey macrost,

Don't forget that you don't need to specify a unit on 0 (zero) sizes. Since the value is zero then a unit is not needed.

HTH

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Browsers / Opera Browser Usage and Support
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved