ClioSport.net

This is a sample guest message. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

  • Due to ongoing maintenance work some features and functions (including Dark mode!) may be unavailable or visually appear differently.
  • When you purchase through links on our site, we may earn an affiliate commission. Read more here.

Moving web pages centrally?

Car  Leon Cupra R 225
How do I "centralize" my web page in my browser? if my print screen attaches (:mad:) look at the bbc page I took a shot of in Firefox, I just want it central and not over to the left, looks odd :S

prtscreen.jpg
 
you create a div called 'container'

set its width to say 780px

then on your body properties set the margin: 0 auto 0 auto and the text-alight:center

all your website content goes withint the container div and everything will be centered!
 
I know what you mean, I hate when websites have it on the left, looks silly espeically on a 21-24"TFT.
 
IE7 does that as well ;)

I think it's highly underated, but if you like Firefox, good for you, I like it too, just prefer what I've got.
 
Back
Top