Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > Help with a list

Help with a list
Thread Tools
Mac Enthusiast
Join Date: Jul 2003
Status: Offline
Reply With Quote
Oct 16, 2004, 10:48 AM
 
I am tyring to create what looks like an unordered list in my html document. Essentially, I am taking a MS word document that has step-by-step instructions on how to do something. Each step is its own bullet and some bullets have sub-bullets. Additionally next to some of the bullets will be thumbnails with links to pictures (floating on the right). I can either do a blockquote of the text and just paste it into the html document or I can cut and paste each bullet point as a list item.

I read somewhere that blockquotes are not a good idea. My question is: what is the best way to create a list with bullets and sub-bullets and retain the ability to throw pictures next to certain bullet points?

I am using pure css for formatting. Any advice is appreciated. If anyone has any examples of what I am trying to describe above, I would love to see them.
     
Mac Elite
Join Date: Oct 2000
Status: Offline
Reply With Quote
Oct 16, 2004, 12:10 PM
 
Code:
<ul> <li>Item 1</li> <li>Item 2</li> <ul> <li>Sub-item 1</li> <li>Sub-item 2</li> </ul> <li>Item 3</li> <li>Item 4 <a href="big.gif"><img src="thumb.gif" /></a></li> <li>Item 5</li> </li>
Is that what you're thinking of?...
     
Mac Elite
Join Date: Oct 1999
Location: San Jose, Ca
Status: Offline
Reply With Quote
Oct 16, 2004, 01:55 PM
 
Synotic has the best answer, but just for diversity you can also use something like this:
Code:
<dl> <dt>your title</dt> <dd>some text</dd> <dt>the next title</dt> <dd><dl> <dt>a sub title</dt> <dd>and the sub-text</dd> </dl></dd> </dl>
You can mix and match these structure together, so when you want the indenting without the bullet points the definition-list method is very nice. It also has the nice point of being a very old tag (so all browsers respect it) and being friendly to screen readers (visual impaired readers).
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 09:16 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2