I'm trying to style my forums. I want to add styles to certain links, to make them look like buttons. Problem is I dont want to write the same styles for different classes. Some links have so many class childs, I don't know how to reference it, eg:
<div class="links"><span thmr_curr="1" style="outline: medium none;" id="thmr_14" class="thmr_call">
<ul class="links inline"><li class="comment_add first">
<a href="/springburst/comment/reply/62#comment-form" title="Share your thoughts and opinions related to this posting.">Reply to this post</a></li>
<li class="statistics_counter last"><span>229 reads</span></li>
In the example (firebug output) above, I have created a class div around the html to display links, within the my node-forum.tpl.php file: ie
<?php if ($node->links) { ?><div class="links"><?php print custom_links($node->links, 'post'); ?></div><?php } ?>
</div>
how do I reference the anchor tag UNDER my defined "topics_inks" div? and how do I prevent having to write the same 'button' style for different Drupal named link classes?
Read »








