Is it appropriate to break lines this way?
On my user profiles, the information appears like this, with no spaces in-between the lines:
Account Type: Basic
Status: Offline
Last Activity: December 15th, 2012
Gender: Female
Country: United States
but I used <br />'s and not <p>'s to achieve this. Is that wrong?
The better I get at programming, the more I appreciate arrays. Handy dandy things they are.
Hi,
It is ok, you can increase the line height (space between lines) using this code in css:
Code:
selector { line-height:200%; }
A quick way is to style the "pre" tags to match the style of your page and use them. Use of "<br />" is dependent on your document type (XHTML). There are several other ways, too, but simplest is always best.
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Posting Permissions
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
Forum Rules
Bookmarks