CSS archive

Full screen background images

I’m putting this here for my own sanity. If I had £1 for every time I’ve tried to solve this issue! The goal here is to have a background image that covers the whole of the browser window. Ideally we want it to scale, stay centred, and keep it’s correct proportions. My go-to article on […]

Tags: ,

Proper float clearing

I was browsing through Forrst recently and happened across the following advice on float clearing. An easy way to properly clear floats without extra markup. If you’re not using some sort of clearfix you probably should be. .clearself:before, .clearself:after { content: ” “; display: block; height: 0; overflow: hidden; } .clearself:after {clear: both;} .clearself {zoom: […]

Tags:

Drop down menus, z-index and IE

One of Internet Explorer’s (IE) most commonly encountered bug is when using z-index. I experienced this recently when using the DDSlider plugin for WordPress along with a drop down navigation. Whilst doing some browser testing I noticed that the drop down menu hides behind the DDSlider. I tried to fix this using z-index. I applied […]

Tags: , , , ,

Internal Link Layout Issue

I recently came across an unusual problem when using internal links on a WordPress site. The link in question linked from one page on the site to a specific section on another page of the same site. When this link was followed there was an error with the page layout. More accurately, the new page […]

Tags: , , ,

Cufon visited link color fix

I recently had an issue with the color of visited links when using Cufon. More specifically, I am using the WP-Cufon plugin with WordPress. The issue I had was that the color I set for the link wasn’t being rendered by Cufon. In firebug it showed that the element color was red, but it was showing […]

Tags: , , , ,