Previous Message
Next Message

Re: [css-d] single pixel lines/rules

Sent by Kevin Smith on 11 September 2002 15:03


On 09.11.2002 4:50 AM, Phil Treble wrote:

> I am trying to display two single pixel lines one on top of each
> other which span the whole window. The top one being black the bottom
> being white.

This works for me:

div {
 height:1px;
 line-height:1px;
 border-top:solid 1px #000;
 border-bottom:solid 1px #fff;
 margin:0;
 padding:0;
 width:100%
 }

[...]

<div></div>

--
kevin c smith                                      tel: 410.571.9462
[EMAIL-REMOVED]                             http://www.tatnet.com
Previous Message
Next Message

Message thread: