Matt Fielding wrote:
> I'm trying to make a custom <hr /> tag using a <div> styled as follows:
>
> div.hr
> {
> margin-top: 5px;
> height: 5px;
> width: 95%;
> border-width: 0 0 1px 0;
> border-style: dashed;
> border-color: #cc0000;
> }
>
> and using the HTML:
>
> <center><div class="hr"><!-- rofl --></div></center>
>
> I have tried to add and a comment inside the div, but neither help it
> register it's width. The just sets it to one character wide. Works
> fine in Firefox as usual. URL to see an example is
> http://mattu.isa-geek.com/index2.php
this breaks in IE6 and IE/Mac, the navbar takes the available width.
The #navbar needs a width; div.hr's with of 95% inside <center> seems to
miss the intrinsic width (95% of what?)
btw.: center?
Ingo
--
http://www.satzansatz.de/css.html
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7 information -- 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/