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

Greetings,

I am trying to create a horizontal line using CSS (without an image). The <hr> element is not really as thick as I want it. Thus, I am trying something like this:

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

This looks fine in IE7, Firefox, etc.

However, in IE6, the line looks like it is about 20 pixels in height.

Does anybody know the proper adjustment I need to make so IE6 will look more like IE7?

Thanks in advance!

Sincerely,
Travis Walters
Reply With Quote

Sponsored Links