Re: [css-d] CSS statements for horizontal rule

2009-05-19 Thread Climis, Tim
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

Re: [css-d] CSS statements for horizontal rule

2009-05-19 Thread Bobby Jack
--- 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

Re: [css-d] CSS statements for horizontal rule

2009-05-19 Thread Bobby Jack
> 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 >

Re: [css-d] CSS statements for horizontal rule

2009-05-19 Thread Alan Gresley
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

[css-d] CSS statements for horizontal rule

2009-05-19 Thread Mike Morris
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