Creating HTML structure using lists

Thread Solved

Join Date: Nov 2007
Posts: 9
Reputation: Squeak is an unknown quantity at this point 
Solved Threads: 0
Squeak Squeak is offline Offline
Newbie Poster

Re: Creating HTML structure using lists

 
0
  #11
Mar 23rd, 2009
Originally Posted by pritaeas View Post
I think it doesn't make a difference when compared to div's. If he wants to make his point, a good test would be to recreate a 'css zen garden' page. I'm sure it's possible and it would help him explain his point. Then it would be possible to compare them and test the differences (div vs. ul/li).
I spoke with my coder and he didn't think that doing that would prove anything. He feels that the code in the template should stand for it's self.
I decided to put up a test site using the theme and see what happens with it. I feel that the proof is in the pudding so I am hoping that the site will help to prove the concept.

Thanks for your suggestion, but I don't think even if we did that, it will prove anything.
Reply With Quote Quick reply to this message  
Join Date: Nov 2007
Posts: 9
Reputation: Squeak is an unknown quantity at this point 
Solved Threads: 0
Squeak Squeak is offline Offline
Newbie Poster

Re: Creating HTML structure using lists

 
0
  #12
Mar 23rd, 2009
Originally Posted by MidiMagic View Post
Remember that lists are not block objects. They can't contain many tags, including img and p tags.
I am not following what you are saying, but I have to agree with cfajohnson's comment.
Last edited by Squeak; Mar 23rd, 2009 at 11:09 am. Reason: Had names mixed up
Reply With Quote Quick reply to this message  
Join Date: Nov 2007
Posts: 9
Reputation: Squeak is an unknown quantity at this point 
Solved Threads: 0
Squeak Squeak is offline Offline
Newbie Poster

Re: Creating HTML structure using lists

 
0
  #13
Mar 23rd, 2009
Originally Posted by cfajohnson View Post

Lists are block-level objects, but they can only contain <li> elements; <li> elements are also block-level, and they can contain anything.
I am glad that you are knowledgeable in coding and thank you for you comment.
Reply With Quote Quick reply to this message  
Join Date: Nov 2007
Posts: 9
Reputation: Squeak is an unknown quantity at this point 
Solved Threads: 0
Squeak Squeak is offline Offline
Newbie Poster

Re: Creating HTML structure using lists

 
0
  #14
Mar 23rd, 2009
Originally Posted by Jen0608 View Post
nice posts. ived been learning a lot of html... from divs to lists.
It is a good thing to learn new things, it helps up to grow and to challenge ourselves.
Reply With Quote Quick reply to this message  
Join Date: Dec 2008
Posts: 63
Reputation: cfajohnson is an unknown quantity at this point 
Solved Threads: 13
cfajohnson cfajohnson is offline Offline
Junior Poster in Training

Re: Creating HTML structure using lists

 
0
  #15
Mar 23rd, 2009
Originally Posted by MidiMagic View Post
Sorry, I have that backwards. The p tag can't contain ul or ol.

No tag can contain another tag. An element can contain another element. Elements are delimited by tags.

The P element cannot contain any block-level element, and since its closing tag is optional, a block level element implicitly closes a preceding P element.
Chris F.A. Johnson
http://cfajohnson.com
Reply With Quote Quick reply to this message  
Join Date: Nov 2007
Posts: 9
Reputation: Squeak is an unknown quantity at this point 
Solved Threads: 0
Squeak Squeak is offline Offline
Newbie Poster

Re: Creating HTML structure using lists

 
0
  #16
Mar 23rd, 2009
Originally Posted by Squeak View Post
I am not following what you are saying, but I have to agree with cfajohnson's comment.
Actually, I don't understand you either and I am getting mixed up with your and my comments.
Reply With Quote Quick reply to this message  
Reply

This thread has been marked solved.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the HTML and CSS Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC