Guest Posted September 8, 2005 Posted September 8, 2005 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.
methodprobiz Posted September 9, 2005 Posted September 9, 2005 Can someone tell me where i tell oscommerce to allow for white space? thanks gary. <{POST_SNAPBACK}> 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.
Guest Posted September 9, 2005 Posted September 9, 2005 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. <{POST_SNAPBACK}> That's what i needed, thanks very much for your reply methodprobiz :)
Recommended Posts
Archived
This topic is now archived and is closed to further replies.