On 3 Jan 2005, at 21:53, Ted Drake wrote:

#rlcategories li {list-style:none !important; margin:0; padding:0; display:block;}

Try using list-style-type : none as opposed to the shorthand property which expects three values.
!important may, and should, not be necessary if you have used logical and sensible application of CSS.


With regards to your XHTML:

There are two problems which can be solved in seconds. The img element needs to be self closed. The javascript needs to be commented out in some way or loaded externally. I recommend loading it externally.

With regards to Charles Martin's comment:

Try applying the list-item-style property to the UL element. I had this problem before and it seems to prefer this option apply to the whole list and not just a single LI element.

Note that the CSS specification indicates that list-style-type

Applies to: elements with 'display: list-item'
http://www.w3.org/TR/REC-CSS2/generate.html#lists
and
http://www.w3.org/TR/CSS21/generate.html#lists

I don't know how this will affect you but it is worth remembering that unordered list element is the block level element and that the list item element is the list element. Whilst inheritance seems to fix your problem, adherence to the specifications would or should be advised. Notwithstanding any bugs in the browsers, that is.


--
Paul Connolley
SQL/Systems Programmer
Egocentric - http://egocentric.co.uk

******************************************************
The discussion list for  http://webstandardsgroup.org/

See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
******************************************************



Reply via email to