- From: Frank Rosendahl <Frank.Rosendahl@ElectricFarm.no>
- Date: Thu, 22 Nov 2001 08:24:06 +0100
- To: "'Sean LeBlanc'" <seanleblanc@home.com>
- Cc: www-style@w3.org
this will do:
<html>
<head>
<title></title>
<style type="text/css">
BODY { margin: 0; padding: 0; }
#header {position: absolute; top: 40px; left: 0px; width: 100%; color:
white; background-color: blue; }
</style>
</head>
<body>
<div id="header">
header area testing
</div>
</body>
</html>
u don't need the { border: none; } in the div.
- Frank
-----Original Message-----
From: Sean LeBlanc [mailto:seanleblanc@home.com]
Sent: 22. november 2001 00:33
To: www-style@w3.org
Subject: Re: Newbie questions
On 11-21 17:59, Jesse McCarthy wrote:
>
> Sean LeBlanc <seanleblanc@home.com> wrote on 11/21/01 5:48:56 PM:
> >>
> >> Try adding "border: none; padding: 0; margin: 0;"
>
> >
> >Thanks for the help. I tried this, and it still doesn't show up like I
> >expect: I still get the right margin. Are there some other values to try?
> >Is border supposed to be "none" or 0?
>
> Try
> border-style: none;
Still no go. :( Here's what's in my html file:
<html>
<head>
<LINK REL=StyleSheet HREF="me.css" TYPE="text/css">
</head>
<body>
<DIV ID=header>Header test</DIV>
</div>
</body>
</html>
Here's what is in the me.css file for the header:
#header {position: absolute; top: 40px; left: 0px; width: 100%; color:
white; background: blue; border: none; padding: 0; margin: 0; border-style:
none;}
--
Sean LeBlanc:seanleblanc@home.com Yahoo:seanleblancathome
ICQ:138565743 MSN:seanleblancathome AIM:sleblancathome
The difficulties you meet will resolve themselves as you advance. Proceed,
and
light will dawn, and shine with increasing clearness on your path.
-D'Alembert
Management QOTD:It is critical that we each stay ahead of the curve and take
the lead
on the customer integrity.
Received on Thursday, 22 November 2001 02:26:11 UTC