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.
<div id=”main-content”>
<div>
<object classid=”” width=”” height=”” title=”banner”>
<param value=”transparent” />
<param value=”” />
<embed src=”” wmode=”transparent” width=”” height=””></embed>
</object>
</div>
<ul>
<li><a href=”#”>link01</li>
<li><a href=”#”>link02</li>
<li><a href=”#”>link03</li>
<li><a href=”#”>link04</li>
</ul>
</div>
Then [...]
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 [...]
