Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
4.2 Textpattern's default style with CSS drop shadow?
- Can that be done exclusively with a modification of the stylesheet?
- If not, what other forms or templates must be edited to make that type of change?
Thanks for any pointers or tips.
“Well, I, uh, don’t think it’s quite fair to condemn a whole program because of a single slip-up, sir.” General ‘Buck’ Turgidson
Offline
Re: 4.2 Textpattern's default style with CSS drop shadow?
1. yes, if it is ok that only more modern browsers support it (in other words not lte IE8)
/* div or article in case you use html 5 */
div.article, article { -moz-box-shadow: 0px 0px 4px #000; /* FF3.5+ */
-webkit-box-shadow: 0px 0px 4px #000; /* Saf3.0+, Chrome */
box-shadow: 0px 0px 4px #000; /* Opera 10.5, IE 9.0 */
}
edit: see this handy resource: css3 please
2. Else you’ll need some extra wrapper div and such which imho isn’t worth it
Last edited by JanDW (2010-07-01 16:26:49)
TXPDream – A Textpattern Tag Library for Adobe Dreamweaver. (updated for 4.2.0) | jdw_if_ajax – Only serve certain parts of a page when requested with AJAX
Offline
Re: 4.2 Textpattern's default style with CSS drop shadow?
TXPDream – A Textpattern Tag Library for Adobe Dreamweaver. (updated for 4.2.0) | jdw_if_ajax – Only serve certain parts of a page when requested with AJAX
Offline
Re: 4.2 Textpattern's default style with CSS drop shadow?
Jan, you’re giving me great answers. I appreciate the help.
“Well, I, uh, don’t think it’s quite fair to condemn a whole program because of a single slip-up, sir.” General ‘Buck’ Turgidson
Offline
Re: 4.2 Textpattern's default style with CSS drop shadow?
You’re welcome.
TXPDream – A Textpattern Tag Library for Adobe Dreamweaver. (updated for 4.2.0) | jdw_if_ajax – Only serve certain parts of a page when requested with AJAX
Offline