I've used CSS to style s for a long time. Here's an example from one of
my sites
div#menu hr {
width: 95%;
height: 1px;
border: 0;
clear: both; /* puts the hr below floated content */
margin: 0.625em auto; /* side margins set to auto centers the hr */
color: #ddd; /* set color in IE
--- On Tue, 5/19/09, Bobby Jack wrote:
> ...
> in your CSS and:
>
>
>
> ...
Sorry, Alan's point about closing the element is obviously an important one; I
rarely work with XHTML nowadays!
- Bobby
__
css-discuss [cs...@list
> I am trying to use horizontal rules
> of specific width and position in an
> xhtml strict 1.0 web page. The width and align
> attributes work, but do not
> pass the strict 1.0 validation test (as you probably
> know).
>
> I have tried using both class and id statements in a CSS
> file (with
>
Mike Morris wrote:
> I am trying to use horizontal rules of specific width and position in an
> xhtml strict 1.0 web page. The width and align attributes work, but do not
> pass the strict 1.0 validation test (as you probably know).
When validating the element with XHTML 1.0 Strict, you must co
I am trying to use horizontal rules of specific width and position in an
xhtml strict 1.0 web page. The width and align attributes work, but do not
pass the strict 1.0 validation test (as you probably know).
I have tried using both class and id statements in a CSS file (with
appropriate selectors