[RESOLVED] Visual difference
Hi,
What is the visual difference between:
In the CSS file:
Code:
p:first-letter {font-size: 14pt; font-style: italic;}
and
Code:
p.first:first-letter {font-size: 14pt; font-style: italic;}
Below is the code in the body of the html page:
Code:
<p> Joe's Fruit and Vegetables started out as a traditional
store selling store selling fruit and veg along with other commodity
items such as milk, soft drinks and sweets etc. Joe's has been in business
for 27 years and has reputation for the quality of their goods.</p>
Pictures would be good to help explain this to me.
Thanks
NW
Re: [RESOLVED] Visual difference
You are welcome. So it is clear now. The thing is CSS has such resources in bunches. Some of them are like same but the way it works are difference.
Re: [RESOLVED] Visual difference
Quote:
Originally Posted by eranga262154
You are welcome. So it is clear now. The thing is CSS has such resources in bunches. Some of them are like same but the way it works are difference.
Yeah, the difference between is clear now!
Re: [RESOLVED] Visual difference
Quote:
Originally Posted by Nightwalker83
Yeah, the difference between is clear now!
By the way have you found a complete list of style-attributes. Still I haven't see any complete document except this.
Re: [RESOLVED] Visual difference
Quote:
Originally Posted by eranga262154
By the way have you found a complete list of style-attributes.
I have been using Devguru!
Re: [RESOLVED] Visual difference
The official CSS property index is a great place to visit.