Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Centering text


Guest

Recommended Posts

All you need to do is create a table with two cells. Use the one cell for positioning. For example

<tr>
<td width="30%"> </td>
<td>code for login goes here</td>
</tr>

 

Jack

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

All of My Addons

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

All you need to do is create a table with two cells.? Use the one cell for positioning.? For example
<tr>
<td width="30%"> </td>
<td>code for login goes here</td>
</tr>

 

Jack

Why not just create a class in the css?

 

.center {

text-align: center;

}

 

Then you can use it whereever you want to center something :thumbsup:

Link to comment
Share on other sites

Hey guys,

I really appreciate your support but can you give me a more detailed answer such as a "change this" "to this " example? I am not as smart as it may appear.

 

Thanks again

 

Why not just create a class in the css?

 

.center {

text-align: center;

}

 

Then you can use it whereever you want to center something :thumbsup:

Link to comment
Share on other sites

To use the css method, create the class (copy the code) as given into your stylesheet.css file. Then whenever youwant to use it, you would do someting like this:

<td class="center">your code goes here</td>

To use the table method, just use the code given. Are you confused about where to put the code or what code to put in it?

 

Jack

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

All of My Addons

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...