Archive for the tag 'css'

Remember to Love / Hate Links

Posted by admin

Ever wondered how to define styles for Hyperlinks ? Well. There are four different selectors for a hyperlink. You would normally see this at the top of the stylesheet. a:link {text-decoration:none;color:#ff0000} a:visited {text-decoration:none;color:#0000ff;} a:hover {text-decoration:underline;} a:active {text-decoration:underline;} The first line defines that normal unvisited links will have ‘no underline’, and will look ‘red’ in color. […]

Read Full Post »

Comments Off on Remember to Love / Hate Links

Font sizes and Accessibility

Posted by admin

Lets take a closer look at the font-size property in CSS. You might have seen this following piece of code in some theme’s style.css file. #content h2 { font-size:1.4em;} or this #content h2 { font-size:14px;} or this #content h2 { font-size:10pt;} What is the difference between all of these ? which one is better ? […]

Read Full Post »

Comments Off on Font sizes and Accessibility

How to properly hide the title of your blog?

Posted by admin

This is one of the most common customizations that people want to do in their wordpress blog. They want to hide their site’s title from displaying at their header. It is most probably because their header image already has it as part of the image itself. Lets take a look at the most common approaches […]

Read Full Post »

Comments Off on How to properly hide the title of your blog?

Sidebar drops down

Posted by admin

Lets take a look at one of the most common problems with the wordpress sites.

The sidebar does not stay on the side, and it falls down to be below the content area.

Read Full Post »

Comments Off on Sidebar drops down