On Jun 14, 2006, at 9:23 AM, Allison Bloodworth wrote:

> I am trying to style an <hr> and am having trouble applying a color  
> to it in
> Firefox 1.5.0.4/PC. It looks fine in IE 6.0/PC. I'm following these
> instructions: http://www.sovavsiti.cz/css/hr.html
>
> And the code is:
> <div class="AdminTablelessDivider" id="input" name="input"><hr></div>
>
> .AdminTablelessDivider hr
> {
>       color: #CCCCCC;
>       background-color: #CCCCCC;
>       height: 1px;
> }

You need to set the border to "none" (for Firefox. Safari ,....):
hr
{
        color: #c00;
        background-color: #c00;
        height: 1px;
        border:0
}

And if that is not the problem, then please make a reduced test page  
that you can show us.
It is always possible that some other code or rules interfere with  
that rule block you mention.


Philippe
---
Philippe Wittenbergh
<http://emps.l-c-n.com>




______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to