Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Help Needed Please


benbow

Recommended Posts

Posted

Hi, I am trying to create a size chsrt, but i need to know how you can get spaces between, words/numbers, i do know you use <br> at the end of a line, but how do you get the spaces between so they all line up correct,

 

For example -

 

years - chest - waist - length

1-2 - 22" - 21" - 26"

3-4 - 24" - 23" - 28"

 

 

Any help would be appreciated.

 

Thanks in advance. :(

Posted

Caroline,

 

In HTML, the   is what's called a non-breaking space. You can use these in succession as an easy way to create spaces.

 

Even better is to use pre-formatted text. This uses fixed width fonts (courier) which allows you to create columns that align evenly. With pre-formatting, you don't need any html tags, just type is out as you want it.

 

eg.

 

<pre>

years - chest - waist - length

1-2 - 22" - 21" - 26"

3-4 - 24" - 23" - 28"

</pre>

 

I haven't tried this in the part description field, but I'm pretty sure it will work.

 

 

Pete

Posted
Caroline,

 

In HTML, the   is what's called a non-breaking space. You can use these in succession as an easy way to create spaces.

 

Even better is to use pre-formatted text. This uses fixed width fonts (courier) which allows you to create columns that align evenly. With pre-formatting, you don't need any html tags, just type is out as you want it.

 

eg.

 

<pre>

years - chest - waist - length

1-2 - 22" - 21" - 26"

3-4 - 24" - 23" - 28"

</pre>

 

I haven't tried this in the part description field, but I'm pretty sure it will work.

Pete

Thankyou Pete - tried it out and it has worked a treat , Just had to take out the - and line up the text under the header for it to centre it with the header , AGAIN THANKYOU ! :thumbsup:

Archived

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

×
×
  • Create New...