Left Margin and Top Margin in Netscape

  You are currently not logged in. You can view the forums, but cannot post messages. Log In | Register

11-Feb-00 16:26
How can I set the Left and Top margins to 0 so that Netscape will recognize?
11-Feb-00 17:32

Hi batman,

If you mean using marginwidth=0 and marginheight=0 in framesets, then Netscape always leaves a bit of a gap, even when these values are set to zero. There's no way round this as far as I know!

Matt


--
Matt Doyle, Elated
3rd Edition of my jQuery Mobile book out now! Learn to build mobile web apps. Free sample chapter: http://store.elated.com/
24-Feb-00 17:12
Well I've somehow the same problem. Pics and background in the menubar just won't fit in both browsers. If it fits ie there will be a gap in nescape and reverse. I've managed to reduce the difference to 1 pixel (the above mensioned "bit of gap")if I avoid tables. But I didn't want to do without tables, so I'm searching for another solution. (without programming 2 different settings for ie and netscape)

Has anybody an idea? maybe with an <if> command

I found out that the gap in nescape can be avoided by using the picture as background--usually

www.auersperg.sth.ac.at
(sorry in German)

akai
25-Feb-00 17:45
I've found something

<body MARGINWIDTH=0 MARGINHEIGHT=0 ...>

should set the margin in Nescape to zero

akai
08-Mar-00 03:36
This should do the trick for both browsers

<BODY BGCOLOR="#ffffff" MARGINHEIGHT="0" MARGINWIDTH="0" leftmargin="0" rightmargin="0" topmargin="0">

Hope this will help you
Jeff
15-Mar-00 23:21
NIce one! This is dead useful for positioning flash movies and the near-randon#mness of the "safe" background colours it uses..

simon

--
ELATED : )
http://www.PageKits.com
Professional Website Templates

 
New posts
Old posts

Follow Elated