...

View Full Version : Problem with sublist...



mccdaddy
04-20-2007, 06:09 AM
Hi. I'm creating a website for a friend using a template I downloaded. My problem is the list on the right sidebar. I managed to get a sublist entry under "Education" but I can't get it to work under the "Experience" heading.

I'd appreciate any assistance.

http://thefactotum.home.comcast.net/test/index.html

Also, why are the quotation marks rendering as symbols???

Thanks.

mccdaddy

ronaldb66
04-20-2007, 09:03 AM
Because you bodged the list's structure.
Here's the #nav div's markup with consistent indentation as it is now:


<div id="nav">
<ul id="menu">
<li><a href="#">Index</a></li>
<li><a href="#">Education</a>
<ul>
<li><a href="#">Resume</a></li>
</ul>
</li>
<li><a href="#">Experience</a>
<ul>
<li>U.S. Secretariat for American Catholics</li>
<li>Smith College</li>
<li>Independence Tobacco Project</li>
<li>Women Higher Education</li>
<li>Jobin Hospital</li>
</ul>
<p>For more information, contact:
<P>Lisa Johnson, DrPH, MHS
<P> e-mail addresS
</div>

I don't know exactly what it is you want to achieve, but try to add the parts marked in red:


<div id="nav">
<ul id="menu">
<li><a href="#">Index</a></li>
<li><a href="#">Education</a>
<ul>
<li><a href="#">Resume</a></li>
</ul>
</li>
<li><a href="#">Experience</a>
<ul>
<li>U.S. Secretariat for American Catholics</li>
<li>Smith College</li>
<li>Independence Tobacco Project</li>
<li>Women Higher Education</li>
<li>Jobin Hospital</li>
</ul>
</li>
</ul>
<p>For more information, contact:
<P>Lisa Johnson, DrPH, MHS
<P> e-mail addresS
</div>

For the quotation marks, use HTML entities (&ldquo; resp. &rdquo; ).

mccdaddy
04-20-2007, 05:11 PM
Thanks for your reply, Ronald. Unfortunately the added close tags threw it even more out of whack: http://thefactotum.home.comcast.net/test/index2.html.

What I'm trying to do is create an indented sublist under "Experience", starting with the entry "U.S. Secretariat for American Catholics", then "Smith College" and so on, just as "Resume" is indented under "Education".

BTW, thanks for the tips on the quotes coding. Strangely I've never used them before.

mccdaddy

koyama
04-21-2007, 03:07 PM
Unfortunately the added close tags threw it even more out of whack: http://thefactotum.home.comcast.net/test/index2.html.

Hmm... I'm not sure what you mean. Look fine in Firefox 2.0.0.3.

If you are referring to the different font for that sublist, then maybe you should specify the font-family in the body element since it seems that you are using the same font-family for all elements.

You do not need to specify font-family for each element h1, h2, h3, p, a etc.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum