Help Please!
Date: 08/02/06
(WebDesign) Keywords: browser, css
I cannot get CSS psuedo elements to work. Help please!
p{
position:relative;
background:transparent;
top:-40px;
font-family:Georgia, "Times New Roman", Times, serif;
font-size:14px;
text-align:justify;
color:#ddb;
padding:2% 10% 0% 10%;
height:150px;
}
p:first-letter{
line-height:30px;
font-size:38px;
color:#ddc;
float:left;
padding:2% 3% 0 0;
font-family:Georgia, "Times New Roman", Times, serif;
}
This is my code, but when I view it in a browser, it doesn't work.
::Edit::
Oh geez, I left everyone in the dark here, apologies!
What doesn't work are the first-letter attributes, and they don't work in FF or IE.
Sorry folks, h aha, that should clear things up.
Source: http://community.livejournal.com/webdesign/1146798.html