josephiluminou
05-08-2009, 07:52 PM
I'm having trouble with a CSS style I found on A List Apart tutorial. It's a basic div style that puts a drop-shadow image behind a div. I copied
the script exactly and I think I've implemented it right. It works perfectly on Firefox but not so well on Internet Explorer. The top part of the div is being cutoff. I'm usually rather proficient with these sorts of problems but this
time...
The basic style is...
.p-shadow div {
background: none !important;
background: url(http://coffeeandcassettes.fatcow.com/layout/
shadow2.gif) no-repeat left top;
padding: 0 !important;
padding: 0px 6px 6px 0px;
}
.p-shadow p {
color: #777;
background-color: #fff;
font: 1em georgia, serif;
border: 1px solid #a9a9a9;
padding: 4px;
margin: -0.38em 0.38em 0.38em -0.38em !important;
margin: 0;
}
The HTML is just the simple:
<div class="p-shadow"><p>Some Text Here</p></div>
You can see it used at my page: http://www.coffeeandcassettes.com
My page is run with Blogger, I don't know if that's a factor. Any
ideas?
the script exactly and I think I've implemented it right. It works perfectly on Firefox but not so well on Internet Explorer. The top part of the div is being cutoff. I'm usually rather proficient with these sorts of problems but this
time...
The basic style is...
.p-shadow div {
background: none !important;
background: url(http://coffeeandcassettes.fatcow.com/layout/
shadow2.gif) no-repeat left top;
padding: 0 !important;
padding: 0px 6px 6px 0px;
}
.p-shadow p {
color: #777;
background-color: #fff;
font: 1em georgia, serif;
border: 1px solid #a9a9a9;
padding: 4px;
margin: -0.38em 0.38em 0.38em -0.38em !important;
margin: 0;
}
The HTML is just the simple:
<div class="p-shadow"><p>Some Text Here</p></div>
You can see it used at my page: http://www.coffeeandcassettes.com
My page is run with Blogger, I don't know if that's a factor. Any
ideas?