Thanks codepo. That would work if I could predefine the color triangles I want. Unfortunately, I can't- the colors need to be a user defineable option. I suppose I should have clarified- the colors of the triangles, as well as the text floating on top- all need to be dynamic.
>From: "Christian Heilmann" <[EMAIL PROTECTED]> >To: "Richard Pierce" <[EMAIL PROTECTED]> >CC: [email protected] >Subject: Re: [css-d] Triangles with content >Date: Thu, 9 Nov 2006 06:59:23 +0000 > > > Hey all, been struggling with this one for a while and thought I'd throw >it > > out. I'd like to build a square divided into 2 right triangles (thanks >goes > > to: http://www.infimum.dk/HTML/slantinfo.html for the original idea). > >Easy: Use a background image. Slants are a fun idea but totally >pointless for a real live product. Why would you want to paint images >with borders and HTML elements? It is as clever as font tags and align >attributes or painting an image with table cells with background >colours. CSS is there to define how semantically valuable HTML should >look like, and HTML is not there to support a CSS trick. > >-- >Chris Heilmann >Book: http://www.beginningjavascript.com >Blog: http://www.wait-till-i.com >Writing: http://icant.co.uk/ >______________________________________________________________________ >css-discuss [EMAIL PROTECTED] >http://www.css-discuss.org/mailman/listinfo/css-d >IE7 information -- http://css-discuss.incutio.com/?page=IE7 >List wiki/FAQ -- http://css-discuss.incutio.com/ >Supported by evolt.org -- http://www.evolt.org/help_support_evolt/ _________________________________________________________________ Get today's hot entertainment gossip http://movies.msn.com/movies/hotgossip?icid=T002MSN03A07001 ______________________________________________________________________ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d IE7 information -- http://css-discuss.incutio.com/?page=IE7 List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
