Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

HTML Forum


You are currently viewing our HTML Forum as a guest. Please register to participate.
Login



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Reply
How do i center this template?
Old 01-08-2007, 04:02 PM How do i center this template?
Average Talker

Posts: 25
Trades: 0
i made this marketting site for playboy clothing. I realised its not the best of ideas but for future refferences how do i center the main body?

www.aboutclout.com
ashtonuk is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 01-08-2007, 04:12 PM Re: How do i center this template?
Novice Talker

Posts: 8
Name: Mike
Trades: 0
I am having the same problem. I created my webpage in Photoshop, and it is aligning to the left.

Last edited by Reidy; 01-08-2007 at 04:17 PM..
Reidy is offline
Reply With Quote
View Public Profile
 
Old 01-08-2007, 06:38 PM Re: How do i center this template?
Defies a Status

Posts: 1,606
Trades: 0
Quote:
Originally Posted by ashtonuk View Post
i made this marketting site for playboy clothing. I realised its not the best of ideas but for future refferences how do i center the main body?

www.aboutclout.com

Add <center> here:
Quote:
<center><body bgcolor="#0066cc">
and add </center> here:

Quote:
</table></center>
</body>
</html>
Edit: Just noticed you are using CSS. Most likely align=center for the body tag.
__________________
Colbyt

Please login or register to view this content. Registration is FREE

Last edited by colbyt; 01-08-2007 at 06:43 PM..
colbyt is offline
Reply With Quote
View Public Profile
 
Old 01-08-2007, 07:41 PM Re: How do i center this template?
Average Talker

Posts: 25
Trades: 0
Quote:
Originally Posted by colbyt View Post
Add <center> here:


and add </center> here:



Edit: Just noticed you are using CSS. Most likely align=center for the body tag.
much appreciated
ashtonuk is offline
Reply With Quote
View Public Profile
 
Old 01-08-2007, 08:31 PM Re: How do i center this template?
Defies a Status

Posts: 1,606
Trades: 0
Quote:
Originally Posted by ashtonuk View Post
much appreciated

You can send one of the models over to express your gratitude.
__________________
Colbyt

Please login or register to view this content. Registration is FREE
colbyt is offline
Reply With Quote
View Public Profile
 
Old 01-08-2007, 09:00 PM Re: How do i center this template?
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
The <center> method is deprecated. Since you're using XHTML as your DOCTYPE, that old, moldy html method is NOT VALID !

Better method using CSS !
body{
text-align: center /* centers for IE
}

#container { /* or whatever your main container is named */
margin: 0 auto; /* centers for other browsers
width: xxx;
text-align: left; /* re-aligns text to the left for everything inside it
}
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Old 01-09-2007, 02:04 PM Re: How do i center this template?
Average Talker

Posts: 25
Trades: 0
can someone tell me why it still comes up as "playboy catalog" on the tab bar, i changed it in dreamweaver but i must be missing out a simple detail to solve this, thanks

Edit: i figured it out

Last edited by ashtonuk; 01-09-2007 at 03:24 PM..
ashtonuk is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to How do i center this template?
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.18346 seconds with 12 queries