> 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 in the body). Neither
> work.
Hi Mike,
It should be perfectly possible to achieve what you want, with the method
you're using. Something like:
.test { width: 400px; }
in your CSS and:
<hr class="test">
will validate and have the expected result. That's 'width', anyway. I'm not
quite sure what you mean by 'position' - maybe you could elaborate.
If this is similar to what you're doing, and it's still not working, a specific
example (preferably by URL) would help us to solve the problem.
Regards,
- Bobby
______________________________________________________________________
css-discuss [[email protected]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/