HTML Question

Started by
13 comments, last by SSJCORY 19 years, 11 months ago
Never ever use "position: absolute", since that ruins your layout.
If you use it, then the browser won''t count it as an object in the page, more like floating on the page. Use this standard way instead:

<body bgcolor="black" topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0">...</body>


--
You''re Welcome,
Rick Wong
- sitting in his chair doing the most time-consuming thing..
Advertisement
Thanks i like that way better. None of this div align shit


Favorite Quotes:Gandalf: You shall not pass!|Smeagol: We don''t need you!|Sloth: Hey you guys!|
Favorite Quotes:Gandalf: You cannot pass!|Smeagol: We don't need you!|Sloth: Hey you guys!|
Or there's:

<body style="margin:0px;"> 


Which is CSS embedded straight into the HTML.

Edit: OK 'nostyle=' should be 'style=' but it changes it each time I post.

[edited by - botman2 on May 9, 2004 12:26:25 PM]
Argh, except now it''s decided to actually show style afterall, but I''m too scared to edit my post again.
Just bite the bullet and write a linked style sheet. Its far simpler than embeding provided you reuse the same elements.

IE
Body {	Margin: 0px 0px 0px 0px;} 


And download TopStyle Lite from Bradbury.

Jay

This topic is closed to new replies.

Advertisement