Jump to content

CSS properties in HTML element pages


Konedima

Recommended Posts

Personally, I'm always confused which CSS properties go with what HTML eleement. I think a good idea would be for it to list on the HTML element page what CSS properties apply to it.(sorry if this has already been suggested, if it's there and I haven't noticed it)

Link to comment
Share on other sites

Of course, there are a few exclusions to what reportingsjr said, but they are usually clearly explained. For example "list-style" properties are only available to list elements OR elements that have "display: list-item;", but that's logical, even if it wasn't explained.If there's anything that's not applicable somewhere, it can usually be fixed by setting the right "display" property.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...