At 08:43 -0500 9/11/06, Richard Pierce wrote:
>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.
Well perhaps it would be useful for you to post a link to a mockup of
how you envisage it with notes explaining what's needed...
In the absence of that, is this what you had in mind?
http://www.fu2k.org/alex/css/cssjunk/slantbox
Much though I love pushing CSS to its limits and experimenting, I
side with Christian here. If the background image needs to be
changed, then create the background image on the fly using
ImageMagick (or whatever). Then simply declare the containing element
to be display:table-cell - this would have the advantage that the
text could be placed in the middle come what may.
Of course, IE still doesn't support any of the display:table family,
so that's out unless you can use a table for the structure.
______________________________________________________________________
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/