PDA

View Full Version : centering things using css/html for both, ie and


Arekushi-kun
03-24-2007, 08:30 PM
firefox? www.myspace.com/motodechikai

thats my space, the layout is written in css, thing is using firefox, everything on the right columns if pefectly centered withing the boxes, yet in IE everything sticks to the left. I've tried several tags but it still stays the same. Is it possible to make it centered for both browsers?

d3v10u5b0y
03-24-2007, 09:00 PM
It is strange that both IE and FF wouldn't see the tag the same. I didn't take the time to dig through the source code, but I'll offer a suggestion. You could wrap your 'About Me' and 'I'd Like To Meet' content in divs and give them the same class name. Then, use auto margins in the stylesheet to force them to center.

pr0digie
03-24-2007, 09:15 PM
looks ok to me...

if you want to center a div, give it a fixed width and a "margin: 0px auto;" style.