Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Product Descriptions


Guest

Recommended Posts

Posted

Hi all,

 

I've recently been adding products to my catalogue, and for some reason no matter how much white space I put into my description, it just gets edited out by the control panel!

 

so if i have a description like this:

 

'

line 1

 

line 2

'

 

it will display like this

 

'

line1

line2

'

 

Can someone tell me where i tell oscommerce to allow for white space?

 

thanks

 

gary.

Posted
Can someone tell me where i tell oscommerce to allow for white space?

 

thanks

 

gary.

 

Hi Gary, I am new to OSC but kinda crafty at working php templates by now from other applications.

 

I believe your solution is good old fashioned HTML tag for line break which is:

<br />

You can stack those one right after the other to achieve more spacing or...

 

If you have large description to seperate into paragraphs you can even use:

<p> Your first paragraph text goes here </p>
<p>Your second paragraph text goes here...</p>

To that when rendered in browser... padding gives you the space you need and keeps your code clean.

Posted
Hi Gary, I am new to OSC but kinda crafty at working php templates by now from other applications.

 

I believe your solution is good old fashioned HTML tag for line break which is:

<br />

You can stack those one right after the other to achieve more spacing or...

 

If you have large description to seperate into paragraphs you can even use:

<p> Your first paragraph text goes here </p>
<p>Your second paragraph text goes here...</p>

To that when rendered in browser... padding gives you the space you need and keeps your code clean.

 

That's what i needed, thanks very much for your reply methodprobiz :)

Archived

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

×
×
  • Create New...