This was just for the example, just like when someone ask something about $_POST for eaxmple - I don't teach him at the same time about the security issuses, that would be impossible because then you need to explain X too, Y, Z and so on... It never ends.bokehman wrote:You only need one class. The non-inverted row will then default to the style of a <tr> with no class. Demo... except thats a <ul> styled like that
Again, that's was just an example, you'll never see styles embeded in my tags, never. I always use an external CSS file.bokehman wrote:Also I don't like the idea of the style being embeded in the tag; I want to be able to control everything to do with style from the stylesheet, not by editing a php file.
(I'm talking here ^^^ about a real code of mine, not examples on this forum, although I do my best not to do so even in the examples I give here - I think I've never given an example with embeded style in the tags on the forum too