[CODE] Double-Background Table

POSTED: Sun May 13, 2012 11:47 pm

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut vel mi arcu, vel pulvinar felis. Morbi venenatis nunc ac quam bibendum at tristique libero facilisis. Morbi porta justo et felis vestibulum a elementum velit iaculis. Duis tempor, ante sed dignissim vulputate, enim urna molestie lacus, et volutpat nulla lacus et ligula. Donec in molestie lacus. Nulla vel quam eu diam blandit ultricies a in felis. Phasellus purus neque, mattis eget suscipit eu, posuere id dui.

Nunc vitae malesuada sapien. "Vestibulum arcu enim, egestas sollicitudin tincidunt nec, sollicitudin quis ante." Praesent risus ligula, laoreet sit amet facilisis eu, convallis a nisl. Morbi suscipit aliquet lectus, in eleifend neque ultrices sit amet. Praesent nec risus neque, non placerat tortor. Aliquam iaculis, nibh eu facilisis molestie, augue diam rhoncus tellus, in euismod leo augue in urna. Curabitur felis arcu, adipiscing quis porttitor ac, venenatis non nibh. Curabitur et placerat purus. Pellentesque magna dui, vulputate vel semper et, iaculis vel velit. Quisque iaculis purus non purus gravida elementum. Morbi dolor purus, scelerisque non tempus ut, semper quis erat. Nulla egestas faucibus ornare. In eget quam ac erat fringilla gravida ut vitae erat. Nunc ornare laoreet ligula semper ultricies. Vestibulum eu dolor quis sapien vehicula adipiscing sed vitae dui. Etiam dolor ante, luctus at posuere non, aliquet sed diam.



Defining factor:
Code: Select all
background-image:url(backround1u​rl), url(backround2url);
background-position: background1's position, background2's position;
background-repeat: background1's repeat value, background2's repeat value;

POSTED: Sun May 13, 2012 11:54 pm

TRANSPARENT TWO BACKGROUND TABLE

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut vel mi arcu, vel pulvinar felis. Morbi venenatis nunc ac quam bibendum at tristique libero facilisis. Morbi porta justo et felis vestibulum a elementum velit iaculis. Duis tempor, ante sed dignissim vulputate, enim urna molestie lacus, et volutpat nulla lacus et ligula. Donec in molestie lacus. Nulla vel quam eu diam blandit ultricies a in felis. Phasellus purus neque, mattis eget suscipit eu, posuere id dui.

Nunc vitae malesuada sapien. "Vestibulum arcu enim, egestas sollicitudin tincidunt nec, sollicitudin quis ante." Praesent risus ligula, laoreet sit amet facilisis eu, convallis a nisl. Morbi suscipit aliquet lectus, in eleifend neque ultrices sit amet. Praesent nec risus neque, non placerat tortor. Aliquam iaculis, nibh eu facilisis molestie, augue diam rhoncus tellus, in euismod leo augue in urna. Curabitur felis arcu, adipiscing quis porttitor ac, venenatis non nibh. Curabitur et placerat purus. Pellentesque magna dui, vulputate vel semper et, iaculis vel velit. Quisque iaculis purus non purus gravida elementum. Morbi dolor purus, scelerisque non tempus ut, semper quis erat. Nulla egestas faucibus ornare. In eget quam ac erat fringilla gravida ut vitae erat. Nunc ornare laoreet ligula semper ultricies. Vestibulum eu dolor quis sapien vehicula adipiscing sed vitae dui. Etiam dolor ante, luctus at posuere non, aliquet sed diam.


What this does is it allows for a header or footer image, but causes the actual table's background to be a shade of 50% transparent white. It will contain the color of the background of the board without messing up the color of text you want.

POSTED: Mon May 14, 2012 1:23 am

:O Very useful! I never knew how to do this without some more complicated coding; I didn't realize how easy it would actually be, haha. Thanks on behalf of a table-maker. :DD

I still don't quite understand what the second one does... You mean the background color will be 50% white over what the board color is? So very light for this current default skin, but if the background skin was red, it'd be light red instead? (Raze should probably test this before blabbering questions but...)

POSTED: Mon May 14, 2012 2:43 am

Thanks!

And that's right; in the default skin right now, it's pretty light, but if you went to a skin where the post body was black, then the table would be a medium gray. :O Likewise, if the post body was dark orange, the table would be a light orange.

POSTED: Mon May 14, 2012 4:49 am

That's what i wanted to use for Kiara's fish table! Except I couldn't figure out how to make it work. Thanks!

Dead Templates

cron