By krasch78 on
Let's say I have an article where people have the option to leave a comment.
And offcourse people can also reply to any comments that is allready there.
My question is:
Is there any way to make a style so that a comment to the article has lets say a border, but any replys to a comment doesn't have a border.
I have created an image that shows what I would like to achieve:
http://krasch.dk/drupalhelp/style_comments.jpg
So.. in the illustration the comments with red border are comments to the article, while non bordered comments are 'replys' to the comments..
Hope my question is understandable - and someone can tell me what I should look for in the css...
Thanks :)
Comments
_
I think you'd need to style all comments with the red border, then add a more specific select for the child comments to remove it.
Problem is though - I can't
Problem is though - I can't figure out if "child comments" has a different ID, and if not - how I can give it a different ID myself.
_
Every theme is different. Just examine the source-- either with the browser or something like firebug. And you probably don't need to add anything... just keep adding selectors to get more specific until you override it.