Bayard's Weblog!!!

My Weblog for Poetry, Quotes, Stuff to Do, ideas about life, and things I for some reason need to save for future reference

Wednesday, September 07, 2005

Spacing Images with CSS

Using the DIV tag, Images have a 12 pixel space in all directions.
Which makes them appear to be in table cells, without being table cells.

Note: Dreamweaver doesn't show the space around the images while the pages
are being designed.

It works great in Firefox, but I may have to edit the CSS to make it
work right in IE!

#spacedimages img{
padding: 12px; }

I tested this out and it works great!

My testing:
http://www.my-computer-tutor.net/files/test.html