View Single Post
Old 02-08-2008   #5 (permalink)
agentxi
photoshop ninja
 
agentxi's Avatar
 
Join Date: Oct 2006
Location: Red Deer - ish, Alberta
Posts: 553

Quote:
Thank you for the quick and efficient response! I also appreciate your naming suggestions :]! I have a question though...say I changed the name of 'content' to 'wrapper' and make a new div for the content called 'content'. Would I have 'text-align: center;' in 'content' or 'wrapper'?
you would have text-align: center in the wrapper
when you use margin: 0 auto; this centers it in all browsers except ie6

using text-align: center; centers it in ie6.
__________________

when evil is afoot, and you don't have any arms, you've gotta use your head. And when evil is ahead and you're behind, you've gotta do the legwork. But when you can't get a leg up, you gotta be hip. You gotta keep your chin up, and kick some-...
agentxi is offline   Reply With Quote