Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Center elements inside of a container Re: Center elements inside of a container

#49980
AzizLight
Participant

Ok thanks a lot for the help. I thought that the padding shrink the text rather than the container (blocks).
Anyway, I made it work on every browser except IE. I tried to add this conditional comment, but I never used conditional comments before so I don’t really know what I’m doing (yes I’m a noob):

Code:

This did not work (on IE 6 at least). Does anybody have a solution please?
Here is the pages in question: http://aziz-light.is-a-geek.com/center3boxesPX.html and http://aziz-light.is-a-geek.com/center3boxesEM.html .