View Single Post
  #4 (permalink)  
Old 04-29-2008, 04:38 PM
twalters84 twalters84 is offline
Learning Programmer
 
Join Date: Oct 2007
Posts: 56
Rep Power: 5
twalters84 is on a distinguished road
Default Re: Horizontal Line in IE6

Hello again,

Here is the solution:

"As for why this isn't working, it's because IE is saving enough room for text inside this div. Either set the text size to 1px or turn hide the overflow."

div.hr
{
height: 2px;
background: #000000;
margin: 5px 0px 5px 0px;
padding: 0px 0px 0px 0px;
font-size: 1px;
}

Maybe this will help somebody in the future. Thanks again.

Sincerely,
Travis Walters
Reply With Quote