Hello.
Anyone want to take a look at my CSS and see if anything is wrong? In IE the page looks like it should, but in firefox some part moves down. I have "float: left;" and i dont want to use absolute. I'v tried everything else.
Url: <!-- m --><a class="postlink" href="Http://ikt-student.hivolda.no/~berentse/layers/index.php">Http://ikt-student.hivolda.no/~berentse ... /index.php</a><!-- m -->
Thanks!You have no doctype which puts IE into 'quirks' mode. IE and all other browsers will rarely look the same without one. Fix IE by using a proper doctype (see sig below). Then set your margins and padding to zero to make sure all browsers are on the same footing. Then set each element to the margin/padding you want.<!-- m --><a class="postlink" href="http://www.tjkdesign.com/articles/boxmodel.asp">http://www.tjkdesign.com/articles/boxmodel.asp</a><!-- m -->
Difference between box models, doctype switching, etc. (<!-- m --><a class="postlink" href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnie60/html/cssenhancements.asp">http://msdn.microsoft.com/library/defau ... ements.asp</a><!-- m -->)
The Box Model Problem (<!-- m --><a class="postlink" href="http://www.communitymx.com/content/article.cfm?cid=E0989953B6F20B41">http://www.communitymx.com/content/arti ... 53B6F20B41</a><!-- m -->)
Flash Satay: Embedding Flash While Supporting Standards. (<!-- m --><a class="postlink" href="http://www.alistapart.com/articles/flashsatay/">http://www.alistapart.com/articles/flashsatay/</a><!-- m -->)Tha for answer. I will read trough the articles, but i must say i dont get it yet. probably something with me starting with CSS yesterday.(Always used tables).
Anyone want to take a look at my CSS and see if anything is wrong? In IE the page looks like it should, but in firefox some part moves down. I have "float: left;" and i dont want to use absolute. I'v tried everything else.
Url: <!-- m --><a class="postlink" href="Http://ikt-student.hivolda.no/~berentse/layers/index.php">Http://ikt-student.hivolda.no/~berentse ... /index.php</a><!-- m -->
Thanks!You have no doctype which puts IE into 'quirks' mode. IE and all other browsers will rarely look the same without one. Fix IE by using a proper doctype (see sig below). Then set your margins and padding to zero to make sure all browsers are on the same footing. Then set each element to the margin/padding you want.<!-- m --><a class="postlink" href="http://www.tjkdesign.com/articles/boxmodel.asp">http://www.tjkdesign.com/articles/boxmodel.asp</a><!-- m -->
Difference between box models, doctype switching, etc. (<!-- m --><a class="postlink" href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnie60/html/cssenhancements.asp">http://msdn.microsoft.com/library/defau ... ements.asp</a><!-- m -->)
The Box Model Problem (<!-- m --><a class="postlink" href="http://www.communitymx.com/content/article.cfm?cid=E0989953B6F20B41">http://www.communitymx.com/content/arti ... 53B6F20B41</a><!-- m -->)
Flash Satay: Embedding Flash While Supporting Standards. (<!-- m --><a class="postlink" href="http://www.alistapart.com/articles/flashsatay/">http://www.alistapart.com/articles/flashsatay/</a><!-- m -->)Tha for answer. I will read trough the articles, but i must say i dont get it yet. probably something with me starting with CSS yesterday.(Always used tables).