I regularly follow CSS-Tricks and this website has been useful in many ways. This is my first forum post, I hope someone can "throw me some bones" as I have tried literally all the options to center my layout, but for some unknown reasons (at least to me), the centering methods I used crippling the layout causing the website look ugly. I wish I could provide the link, but due to the nature of my work, I am compromised to do that.
Long story sweet: The centering layout I knew was text-center the body in css, left aligning the floats inside the container. Didn't work. Here is my snippet that I reverted to the previous and working version (left aligned)
body { background-color: #999999; font-size:12px; font-family:Verdana, Arial, Helvetica, sans-serif; }
I regularly follow CSS-Tricks and this website has been useful in many ways. This is my first forum post, I hope someone can "throw me some bones" as I have tried literally all the options to center my layout, but for some unknown reasons (at least to me), the centering methods I used crippling the layout causing the website look ugly. I wish I could provide the link, but due to the nature of my work, I am compromised to do that.
Long story sweet: The centering layout I knew was text-center the body in css, left aligning the floats inside the container. Didn't work. Here is my snippet that I reverted to the previous and working version (left aligned)
What other css centering methods do you know? How should I go about this? By the way, this is a theme layout for Drupal.
Thanks so much!
Have tried. It's not helping.
Here is what I have for CSS:
And here is my page.tpl:
There is something that I am not pick up on. :(
Also, take the width off of the body.
TaDa! Extra div was the PROBLEM! Thank you so much! Why didn't I pick up on this? :D