Jump to content

CSS properties in HTML element pages

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 post
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 post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...