Centering a custorom template page....

General ShopSite user discussion

Centering a custorom template page....

Postby Yachtsman » Fri Dec 11, 2009 9:42 am

Just learning the system and I have a simple customer page I'm experimenting with.

For some reason I can not get it to "center" in the browser window. It always displays left aligned.

Im sure I'm missing something very simple - any thoughts?
Yachtsman
 
Posts: 24
Joined: Fri Dec 11, 2009 9:21 am
Location: washington

Postby BFChris » Fri Dec 11, 2009 10:10 am

What is the page? What template are you using?
~~Barefoot Chris
--------------------------------
Barefoot Chris Web Design
www.barefootchris.net
--------------------------------
BFChris
 
Posts: 322
Joined: Mon Oct 09, 2006 3:28 pm
Location: PA

Postby Yachtsman » Fri Dec 11, 2009 11:48 am

I'm not using a shopsite template. I have just created a custom page with html.

Maybe that is my problem?
Yachtsman
 
Posts: 24
Joined: Fri Dec 11, 2009 9:21 am
Location: washington

Postby BFChris » Fri Dec 11, 2009 12:45 pm

What is the page?
~~Barefoot Chris
--------------------------------
Barefoot Chris Web Design
www.barefootchris.net
--------------------------------
BFChris
 
Posts: 322
Joined: Mon Oct 09, 2006 3:28 pm
Location: PA

Postby Yachtsman » Sun Dec 13, 2009 12:07 pm

I unsure what you are asking.

I'm trying to create a template that I can use for several pages. At the moment I'm just trying to get a very simple example to work.

I would assume <body style="text-align:center"> would center the page but it does not work in my example.

<body style="text-align:center">
<table style="width:300px;">
<tr><td>
<p>Now is the time for all young men to come to the aid of their country.</p>
</td></tr></table>
</body>

If I add <cneter> to the example it does work.

<body style="text-align:center">
<center>
<table style="width:300px;">
<tr><td>
<p>Now is the time for all young men to come to the aid of their country.</p>
</td></tr></table>
</center></body>

However, doing that to my more complex page does not work.

I have look at example that do cneter and those that do not and have not found the difference in the code.
Yachtsman
 
Posts: 24
Joined: Fri Dec 11, 2009 9:21 am
Location: washington

Postby BFChris » Mon Dec 14, 2009 9:45 am

Where are you adding this? In a regular HTML page or a Shopsite template.

If you posted a URL (link) to the page in question, we'd be able to see what's going on better.
~~Barefoot Chris
--------------------------------
Barefoot Chris Web Design
www.barefootchris.net
--------------------------------
BFChris
 
Posts: 322
Joined: Mon Oct 09, 2006 3:28 pm
Location: PA


Return to User Forum

Who is online

Users browsing this forum: No registered users and 108 guests