View Single Post
Old 12-16-2012, 10:46 PM   PM User | #4
Excavator
Master Coder


 
Excavator's Avatar
 
Join Date: Dec 2006
Location: Alaska
Posts: 9,410
Thanks: 22
Thanked 1,765 Times in 1,749 Posts
Excavator has a spectacular aura aboutExcavator has a spectacular aura aboutExcavator has a spectacular aura about
Quote:
Originally Posted by Primebluez View Post
: I ended up using another div as wrapper and text-align (most likely incorrect way) to center images.
Text align applied to the containing element is a perfectly valid way of centering images since they are inline elements.
The main reason for so much extra coding in my example page is being able to handle the captions as well.

It looks like you're doing great though - I love seeing people figure it out for themselves. Good job on the valid markup
__________________
Validate often DURING development - Use it like a splelchecker | Debug during Development |Write it for FireFox, ignore IE
Use the right DocType | Validate your markup | Validate your CSS | Why validating is good | Why tables are bad
Excavator is offline   Reply With Quote