The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Centering my website layout?
Jenno89
post Mar 22 2012, 06:59 AM
Post #1





Group: Members
Posts: 1
Joined: 22-March 12
Member No.: 16,764



Hi,

Does anyone know what code I could use to automatically centre the layout on this website?
http://coastalvillagespetcare.co.uk/Websit...out-Final2.html

Thank you

Jenno89
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post Mar 22 2012, 07:45 AM
Post #2


🌟Computer says no🌟
********

Group: WDG Moderators
Posts: 20,716
Joined: 9-August 06
Member No.: 6



See http://www.w3.org/Style/Examples/007/center.html .
You need a doctype or browsers will be in Quirks Mode and centering won't work so well.
http://hsivonen.iki.fi/doctype/
And you need to visit the validator (link at top of this page). Afraid you have some severe errors.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 29th March 2024 - 12:32 AM