Etomite Community Forums: basic question about Template - Etomite Community Forums

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

basic question about Template

#1 User is offline   Spring0105 

  • Etomite Forum Newbie
  • Group: Member
  • Posts: 2
  • Joined: 10-December 09

Posted 18 December 2009 - 07:17 AM

I am really sorry to ask this basic question but I cannot find the answer anywhere and I have looked. Please can someone tell me how to centre a template. I have found a template that is perfect for my requirements but it is positioned to the left and I would like it centred.

Many thanks

#2 User is offline   DeanC 

  • Etomite Administrator
  • Group: Admin
  • Posts: 4,722
  • Joined: 08-June 04
  • Gender:Male
  • Location:United Kingdom

Posted 18 December 2009 - 09:52 AM

Each template is different on how it's centred - based on how it was made. Which template is it?
Also, try asking on the GFWD forums.

#3 User is offline   Markioooo 

  • Etomite Forum Newbie
  • Group: Member
  • Posts: 16
  • Joined: 22-February 06

Posted 04 February 2010 - 01:58 PM

The main (first) DIV of the website (let's call it container) can be centered with the following css:

body {
text-align: center; /* for internet explorer */
}
.container {
width: 990px; /* example: depends on template*/
margin: 0 auto 0 auto; /*top right bottom left*/
text-align: left; /*overrule text align set in body*/
}

Regards
Mark
www.deraaf.com

=====

View PostSpring0105, on 18 December 2009 - 07:17 AM, said:

I am really sorry to ask this basic question but I cannot find the answer anywhere and I have looked. Please can someone tell me how to centre a template. I have found a template that is perfect for my requirements but it is positioned to the left and I would like it centred.

Many thanks


Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users