Good day to you, Yes, you can create a new tag! You can join Microsoft* and the W3C* by writing and publishing your own schema. However, it may be a very long, long time before Bob's !DOCTYPE is rendered properly in any browser. Most likely the rendering agents would simply ignore <clear / > when they display the page. <Enough sass.> I do understand wanting different tags, though.
I have used something like <br class="clear_sides"/ > when I wanted text next to an image to break below the image. (Shortening to <br id="cs"/ > saves only a couple characters.) I found an example similar to this when I checked the HTML 4.01 specs. I wasn't sure if it was valid CSS. I put it on a test page and jigsaw.w3.org validated the page. Hope you have a great day, Doug *I don't remember the other players who publish a schema, maybe Adobe? (I have often seen XML powered by private schemas, most of which only vary by unique presentation forms.) On Jun 22, 2: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] -~----------~----~----~----~------~----~------~--~---
