Semantic vs client XHTML/CSS

by oneafrikan

I’ve had a question posed today by a client where the problem was something like this:
(I’ve added space to the html so that WordPress doesn’t render as html code for the page)

< p class="classname" >< strong >This is a sample highlighted body text < / strong >

Now, the class in question just changed the font color from the default paragraph colour, to the new improved colour (this was the first paragraph in a page of three or more paragraphs), so it needed to be highlighted as the synopsis or abstract for the page. So we have a diff. colour, and a bolding of the text to highlight it. All fine.

Now, the client wanted to remove the < strong > tags and put that styling into the css, leaving the code sans strong tags, like so:

< p class="classname" >This is a sample highlighted body text

My argument was that sematically, if you strip out the css, you’ll still be left with a paragraph that is highlighted (if you keep the strong tags), and therefore of value to the user. If not, you’re left with paragraphs that all look the same.

Now, I know this is an eeeeny weeeeny tiny issue, but I was wondering what you think? Am I smoking my socks here, or do I get the point of semantic XHTML?