In my previous post I provided a jQuery and CSS-based solution for styling the first word of all headings in a page differently. Let’s look at a different scenario now where the first character of all headings (say, <h2> this time) in a page are different from the rest of the letters. The jQuery logic [...]
It’s seems tough but believe me it’s quiet an easy process if you do understand positioning in CSS.
Here I want to place a simple html list in front of flash animation.
At first, I am writing my html code.
<object classid=”” width=”” height=”” title=”banner”>
<param value=”transparent” />
<param value=”” />
<embed src=”” wmode=”transparent” width=”” height=””></embed>
A colleague required a quick solution by which the first word of each heading in her design would be of a different color than the rest of the words in that heading. Using a <span> element for a part of the heading (say, <h1>) and styling it with CSS to apply a different color should [...]