Archive for the ‘CSS’ Category

Small update

Wednesday, October 1st, 2008

I was a little bit bored today so I updated my contact page. Go click on the link up the top and give it a whirl! It’s a bit of a pointless update really and I might revert back to the previous version… but I’ll leave it for a while and see.
What do you think?
By the way, my contact page uses degradable JavaScript (try it with JavaScript turned off and on), so does my portfolio (although, not quite as well yet). Sometimes I wonder why more people don’t use degradable JavaScript, but it is a bit of a pain too… [...]

CSS Floats and Container Height

Tuesday, August 26th, 2008

<edit>
As pointed out by rborn in the comments below a better way is to simple set the container overflow css property to “auto”. This does the job for you and is a bit tidied that the following solution. However, it might still be use to some of you anyway as it describes the clear property in CSS.
</edit>
It’s been a while since I think I’ve learned something new in the CSS world. So I’m glad to have been recently taught something by a friend.
The problem
For simplicities sake, I’ll just discuss DIV’s. When you make a DIV float (DivB) and its inside [...]