Konedima Posted May 25, 2007 Share Posted May 25, 2007 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 More sharing options...
reportingsjr Posted May 25, 2007 Share Posted May 25, 2007 Umm, all css properties apply to all html elements... Link to comment Share on other sites More sharing options...
boen_robot Posted May 25, 2007 Share Posted May 25, 2007 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 More sharing options...
croatiankid Posted May 26, 2007 Share Posted May 26, 2007 Umm, all css properties apply to all html elements...No they don't...W3C has a lengthy document about this. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.