Click to See Complete Forum and Search --> : Command to draw line across screen


CZZ
05-05-2006, 03:05 AM
Am using:

!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">


I want to draw a line across screen to divide one section of a certain page from another [i]without[i] having to make seperate pages out of it, and haven't been able to locate any info on how to do so. Is there such a command, and if so, what is it?

Fang
05-05-2006, 06:06 AM
<hr>
<div style="border-bottom:1px solid red;"></div>

CZZ
05-10-2006, 11:09 PM
Fang

Tried the code, and ran into a problem: get the red line, BUT about 6 or so pixels above the RED line, is a grey line of the same width and pixel size.

Any ideas as to what's causing this? I changed the px to various sizes & still got the solid red line with the grey above it. For example I did one with the px set at 70 , and this produced a tall red line across screen but the second line across screen was still grey, and the 1 px size.

Bytes
05-10-2006, 11:14 PM
How About?

<hr width="300" size="3" color="#FF0000">

sridhar_423
05-10-2006, 11:21 PM
remove the hr tag. grey line will disappear