zoula Posted November 27, 2003 Posted November 27, 2003 Hello There, I am facing a problem with the products's description. When I paste a product's description it looks all fine. There is a space between each paragraph. Once I save the updates and view the content, it is displayed as a single paragragh descring the product. ;) Any suggestions ? Thank you in advance.
Guest Posted November 27, 2003 Posted November 27, 2003 <br> for one line space and <br><br> for two line space HTH The_Bear
berkedam Posted November 27, 2003 Posted November 27, 2003 Better way: <p>yr paragraph in here</p> Between </p> and <p> there will be white space. <br> for a new line in the same paragraph "If you're working on something new, then you are necessarily an amateur."
zoula Posted November 28, 2003 Author Posted November 28, 2003 Hello "The_Bear", Hello Berkedam, Thank you all for your usefull tips and prompt replies. It worked indeed. My problem now is that I have to insert around 120+ products and I have to put the description of all of them in the database. :( . Furthermore, each products descipriton has a couple of paragraphs. As I am moving slowly towards PHP, and to make sure that I do not encounter the same problem in the future, I have created a small module which runs on MS Word to convert my text in such way that the desciprtion appears properly on the cart system (in terms of paragragh spacing) . Just in case if someone would be interested to use it in the future: ============================================ MyCount = ActiveDocument.Paragraphs.Count For i = 1 To MyCount ActiveDocument.Paragraphs(i).Range.Select Selection.MoveLeft Unit:=wdCharacter, Extend:=wdExtend If Selection.Text <> Chr(13) Then Selection.TypeText ("<p>" & Selection.Text & "</p>") Else Selection.TypeText ("<p></p>") End If Next ============================================= Thank you again for the help and I hope my input would be useful as well. Regards :D
Recommended Posts
Archived
This topic is now archived and is closed to further replies.