Jump to content

making a line break in an xml catalog


Cory Duchesne

Recommended Posts

So I'm all finished Jon's tutorial on making a php shopping cart, and am now in the process of customizing the shopping cart system to fit the catalog of certain business I am helping a friend with.

 

My problem is that the xml catalog seems to only display horizontally across the page, but I need to make a line break, or else the items will look crammed together.

 

Does anyone here know what tag to use to make a line break? I tried both

and

, but neither work. I did some google searches, and some others have asked this same question, but the suggestions people are making (something about /n) are not working for me.

 

Thanks!

 

- Cory

 

 

PS: here is what the code looks like that I want to break up into separate lines.

 



Dried Tomatoes
Tomatoes
blah test alpha beta carrot
2.00



Dried Apples
Apples
blah test alpha beta carrot
2.00




Mango
Mango
blah test alpha beta carrot
2.00



Orange
Orange
blah test alpha beta carrot
2.00



Orange
Orange
blah test alpha beta
2.00




Edited by Cory Duchesne
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...