OZONE Asylum
Forums
XML - XSL - XSLT - XHTML - CSS - DOM
Another stupid Link-CSS question
This page's ID:
24935
Search
QuickChanges
Forums
FAQ
Archives
Register
Edit Post
Who can edit a post?
The poster and administrators may edit a post. The poster can only edit it for a short while after the initial post.
Your User Name:
Your Password:
Login Options:
Remember Me On This Computer
Your Text:
Insert Slimies »
Insert UBB Code »
Close
Last Tag
|
All Tags
UBB Help
As far as the id vs. class - an id is for something that is unique, and can only be used once on each page. A class is for something that is more generic, and will be used throughout a page. your use of id and class is not improper in itself. It is a little strange though to have a div containing your link with a class of storytitle, and then to also give the link itself the same class. you should set it up one of two ways - keep your CSS the way it is, call the div <div class="storytitle"> but remove the class declaration from the link itself or call the links by that class, but don't give the div a class, and call the css like this - a:link.storytitle { } etc.. also, be careful when combining an id and a class like you've done with the storytutle div. Whichever CSS is listed *last* in the style sheet will supercede earlier declarations. so if the id is listed after the class in the CSS, whatever you assinged to the id will be displayed if it conflicts with the class. Will this fix your problem? Unsure off hand, but it will help simplify things, and simplfying things always helps fix problems =) [url=http://in-dented.com/sigs.html][img]http://www.in-dented.com/sigs/knot_sig_32.gif[/img][/url]
Loading...
Options:
Enable Slimies
Enable Linkwords
« Backwards
—
Onwards »