View Full Version : CSS to show submited data as list.
08-02-2007, 09:53 AM
I have a table that shows data with bullet infront of each list. But when I display it is doesn't show as a list... It shows like this:
• AC • Water
Is there anyway to use CSS to make it show like this?:
It would simply have to put a <BR> before each •
08-02-2007, 10:29 AM
Okay, little bit confused as to what you tried to make it appear inline as a list element will display as a block by default. Have you used:
Can you show us an example, or link to your page? If you have used a list and it's displaying like that then you could try adding to the CSS:
08-02-2007, 11:12 AM
Well that would work for static data. The problem is the text I am trying to list is dynamic, users submit. I have a form where users can enter data using this: http://www.freewebs.com/moreauctions/addtext.html
After they submit the form, I can later print/echo the text using $showcontent which is the variable for the textarea.
Now have to somehow get the value of $showcontent, then put a <br> BEFORE each bullet before printing it.
That would be down to you're PHP coding. I would use a loop.
Powered by vBulletin® Version 4.2.2 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.