Jump to content

Re-defining h tags


Mark H

Recommended Posts

Hi all,I would think that if I set display: block I could then add a width: px and a background image to the tags?Would this be possible? The tags I want to do this with are <h1> to <h3>, specifically only within one particular <div>.Is is okay? Would it have any SEO consequences?Thanks,Mark.

Link to comment
Share on other sites

That should work absolutely fine. Unless you're deliberately trying to hide the text (e.g. by setting the font color and background color the same) then there shouldn't be any SEO consequences either.

Link to comment
Share on other sites

Thanks travelluk.I've done it okay and am pleased with the results. Thank you for confirming that it is not an erroneous way of using CSS and tags.Mark.

Link to comment
Share on other sites

you don't even need to add display:block since tags are already block level elements by default.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...