|
|
|||||||||
|
|||||||||
|
|||||||||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
|
|
Ajax Application Generator Generate database and reporting .NET Web apps in minutes. Quickly create visually stunning, feature-rich apps that are easy to customize and ready to deploy. Download Now!
|
|
#1
|
|||
|
|||
|
css filters
hi, i'm trying to make a border with a shadow filter and then have the text normal inside it, but it seems to be making to text have the shadow too.
Code:
<div style="border: dashed 1pt black;
padding:5px;
width:100%;
text-align:center;
filter:progid:DXImageTransform.Microsoft.Shadow(co lor='#333333', Direction=135, Strength=10)">
<p style="width:100%;
filter:progid:DXImageTransform.Microsoft.Shadow(co lor='#333333', Direction=135, Strength=0)">Friday and Saturday Nights Open 10pm-2am</p></div>
|
|
#2
|
||||
|
||||
|
Hey dethfire,
That's a tricky one - I had a quick look at trying to stop the CSS filter cascading onto the text, but no luck. I tried inserting another DIV inside the DIV with the filter, and setting my new DIV to: Code:
<DIV style="filter:none">Friday night...</div> PS - I edited your post so that the code was more readable, and took out the smilies that occured in the code. |
![]() |
| Viewing: Dev Articles Community Forums > Web Design > Web Development > css filters |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|