SiteExperts.com Logo Home | Community | Developer's Paradise
User Groups | Site Tools | Site Information | Search
 Main Menu
 Resource

Removing Margins

Categories...
Client User Group
HTML, CSS and XML, Site Design, Write Once!
Language
No Script
Product
IE3, IE4, NS4
Task
Cross-Browser DHTML, HTML Enhancement
Technology
CSS, HTML

Sponsored Links
Developer's Paradise : Inside Technique :
Removing Margins
Submission by SiteExperts Staff

Go to the resource:
Removing Margins

Add to Assistant

Short Description
Remove the extra space around your document. We provide techniques for IE3/4 and Navigator 4.0.

Long Description
Remove the extra space around your document. We provide techniques for IE3/4 and Navigator 4.0.

Author
Scott Isaacs
Submission URL
http://www.SiteExperts.com/tips/html/ts02/page1.asp
Submission Date
Jan 22,1998
 

Discussion and Rate this Resource
Overall Rating: 4.6

Frances on Sep 12, 2000 at 2:02:46 AMRating: 5
( Sorry, forgot the rating!  :-] )
Frances on Sep 12, 2000 at 1:56:55 AMNo Rating

This is very useful, being set out as a complete article.
I was already using the
<BODY TOPMARGIN=0 LEFTMARGIN=0
      MARGINWIDTH=0 MARGINHEIGHT=0>
method, but this article makes it all much clearer.

I have one question: the above works in my IE5 browser, so why would the
<STYLE TYPE="text/css">
  BODY {margin: 0pt}
</STYLE>
method be needed at all?

VM on Sep 5, 2000 at 3:27:45 PMRating: 4

I spent two hours utill I found the way to remove margins in Netscape.

Too bad I haven't seen this article before.

Thanks

veredes on Aug 24, 2000 at 10:54:15 AMRating: 3

Its true this MOSTLY works.  However netscape still leaves a blank space on the right side for a scrollbar if a scrollbar is not needed.

This can be compensated for by adding a div and placing it below the visable area of the browser window.  This forces a scrollbar to allways display. 

This (hack) solution has issues because of the netscape resize bug.

Does anyone have a better answer?

pvlassov on Aug 14, 2000 at 7:35:02 AMRating: 5
AHHHHH I was looking for this trick all my life!!!!!!!!

More Ratings/ Comments


To rate and comment on a resource, you must first logon.

If you are not registered, please register yourself to become a member of the SiteExperts.community.

User Name
Password

Copyright © 1997-2008 InsideDHTML.com, LLC. All rights reserved.