I don't see how inventing a <clear> tag would be an improvement over <div class="clear">: it doesn't add any semantic value to your document, which is the whole purpose of tags. True, <div class="clear"></div> isn't exactly full of meaning, but I would never leave <div> tags empty anyway, and you could always add an ID or another class to explain the purpose of your division. Something like <div class="clear" id="article">blah blah blah</div> would do the trick.
Leon On Jun 22, 8:09 pm, bobsawey <[email protected]> wrote: > Hey folks, > > I'm looking for some feedback on this. > > I've been thinking of doing something like <clear /> instead of <div > class="clear-both"> > > Any idea why I shouldn't make a new tag for this? It would make for > more clean code, and I don't see why it's off standard since it honors > xml and can be styled with css. > > Thanks! > > -Bob --~--~---------~--~----~------------~-------~--~----~ -- You received this because you are subscribed to the "Design the Web with CSS" at Google groups. To post: [email protected] To unsubscribe: [email protected] -~----------~----~----~----~------~----~------~--~---
