// archives

CSS

This category contains 3 posts

Understanding Simple Positioning with CSS

While learning CSS, the one thing I kept (and keep) messing up was the ability to position elements correctly.  I found I had a hard time getting the correct way to use position absolute and relative.  The trick that I was taught was when you use position: absolute to define your specific co-ordinates (ie top: [...]

Centering with CSS

If you have a container (ie a fixed size frame) and you want to center that container in the page, the traditional, old fashioned way was to use a table or the < center > tag.  With CSS, you simple use this in your container class: margin: 0px auto; You can always use a top [...]

CSS Background Image Hacks

Great article on CSS some great things you can do with CSS Background Images: http://nicolasgallagher.com/css-background-image-hacks/

Categories

  • No categories

Categories