Closed Thread Icon

Preserved Topic: Layout without runing border color of background? Pages that link to <a href="https://ozoneasylum.com/backlink?for=20436" title="Pages that link to Preserved Topic: Layout without runing border color of background?" rel="nofollow" >Preserved Topic: Layout without runing border color of background?\

 
Author Thread
grats42
Nervous Wreck (II) Inmate

From: hoboken nj
Insane since: Feb 2002

posted posted 02-14-2002 07:43

Okay, I'm using Dreamweaver. I know, bad me. Anyways, I'm tyring to layout a page with a bar of text and color along the left and bottom. Thing is, the back ground color I wanna use shows up just outside everything...Along the left, bottom, right and top..why? how do i make it not do that?


mr.maX
Maniac (V) Mad Scientist

From: Belgrade, Serbia
Insane since: Sep 2000

posted posted 02-14-2002 08:01

You should set page margins to zero...


grats42
Nervous Wreck (II) Inmate

From: hoboken nj
Insane since: Feb 2002

posted posted 02-14-2002 08:28

Beautiful. How do I do that?


CPrompt
Maniac (V) Inmate

From: there...no..there.....
Insane since: May 2001

posted posted 02-14-2002 13:55

<body margin-height="0" margin-top="0" margin-bottom="0" margin-right="0" margin-left="0">

Then if you want in your CSS (if you use it) you can put:
body{margin:0px;}

The first way is probably the best since NN4.7 has some trouble with CSS margin stuff.

Later,
C:\


~Binary is best~

kuckus
Bipolar (III) Inmate

From: Berlin (almost)
Insane since: Dec 2001

posted posted 02-14-2002 15:01

I thought you had to use

<body marginwidth="0" marginheight="0">

for Netscape (without the hyphens).
But I may be wrong, so just try it both suggestions

kuckus

Pugzly
Paranoid (IV) Inmate

From: 127.0.0.1
Insane since: Apr 2000

posted posted 02-14-2002 15:31

I believe the CSS method works in both. Correct?

CPrompt
Maniac (V) Inmate

From: there...no..there.....
Insane since: May 2001

posted posted 02-14-2002 19:44

Pugzly: I don't think that it does. I may be wrong. I have had some problems with those border things in NN when using CSS margins.

As for the hyphen thing, you may be right about that kuckus.

Later,
C:\


~Binary is best~

mr.maX
Maniac (V) Mad Scientist

From: Belgrade, Serbia
Insane since: Sep 2000

posted posted 02-14-2002 19:47

Those parameters don't have hyphens and they look a little bit different:

<BODY LEFTMARGIN="0" RIGHTMARGIN="0" TOPMARGIN="0" BOTTOMMARGIN="0" MARGINWIDTH="0" MARGINHEIGHT="0">


bitdamaged
Maniac (V) Mad Scientist

From: 100101010011 <-- right about here
Insane since: Mar 2000

posted posted 02-14-2002 22:22

you don't actually need the rightmargin value.



:[ Computers let you make more mistakes faster than any other invention in human history, with the possible exceptions of handguns and tequila. ]:

Slime
Lunatic (VI) Mad Scientist

From: Massachusetts, USA
Insane since: Mar 2000

posted posted 02-15-2002 00:45

Nor the bottommargin value, I believe.

mr.maX
Maniac (V) Mad Scientist

From: Belgrade, Serbia
Insane since: Sep 2000

posted posted 02-15-2002 17:43

MSIE has some bugs as far as margins are concerned and that's why you need those two additional parameters. For example, on my computer (IE6 / Windows XP), when I go to OSDN.COM web site (you have to type web address directly in the address bar, because problem sometimes won't appear after clicking on the link), I can see white space on the right side (right margin), even though LEFTMARGIN is set to zero value (I can show you a screenshot if you can't see the problem)...




[This message has been edited by mr.maX (edited 02-15-2002).]

Synthetic
Paranoid (IV) Inmate

From: under your rug,
Insane since: Jul 2001

posted posted 02-16-2002 16:29

grats42, if you can't find where to change that in dreamweaver press "crtl+j" it opens "page properties" that's the place to change that at.... just type a few "0" in there, it's easy...



[This message has been edited by Synthetic (edited 02-16-2002).]

« BackwardsOnwards »

Show Forum Drop Down Menu