- From: Anne van Kesteren <fora@annevankesteren.nl>
- Date: Thu, 19 Aug 2004 08:31:39 +0200
- To: "W. Leon Sutton, Jr." <wsuttonjr@hyponiqs.com>
- CC: www-style@w3.org
> Looking at the above code, imagine what it'd be like if you were to have two > or more separate page elements that required these corners in order for the > page's design to flow properly. What if, also, those other elements were > different sizes than the original? That'd be a very big problem, indeed, as > CSS is supposed to eliminate more code than it adds. This being the case, > problems like this defeat the entire purpose of CSS, which is, need I remind > you again, to make it simpler. You might want to look at the CSS3 Border Module[1] > Now, here's the question. What if you could simplify all of that into one > CSS class and one HTML element? Right now, as I've stated, you can't really > do that, unless you have a fixed size titlebar. In that case a simple > background would do the trick. But if it's an auto sizing titlebar, well, > you're limited to the way I just stated or a variation thereof. There could > be a possibility of adding a different background CSS attribute for each > background you'd want to add, but to my knowledge, each new background > attribute would override those that come before it. And if the CSS3 Border Module won't do. I guess generated content can do the trick[2]. > You should also make note that the above example could be shortened down > even further by combining the 'container' DIV and the H3 HTML elements and > CSS classes. I did it this way, however, to give a clearer understanding of > the task at hand. This is maybe already possible using CSS 2.1[3] > Another nifty idea would be the addition of a CSS attribute that would allow > for absolutely positioning backgrounds, but that's another topic, > altogether. I don't understand. > Note: If there are any articles about this topic, please do feel free to > contact me at wlsuttonjr@hyponiqs.com so that I can look them over. I > glanced briefly at the content provided by this site and found nothing on > the matter. You should really look into the CSS3 Modules before proposing anything new. Most cool features are thought of. [1]<http://www.w3.org/TR/2002/WD-css3-border-20021107/> [2]<http://www.w3.org/TR/2003/WD-css3-content-20030514/> [3]<http://www.literarymoose.info/=/destroy/around.xhtml> -- Anne van Kesteren <http://annevankesteren.nl/>
Received on Thursday, 19 August 2004 06:32:08 UTC