T
Tim Gill
Hi all,
well, I finally decided to chuck FrontPage and start coding by hand in
NotePad to teach myself some real html/css; it has been mentioned that the
syntax that FP will insert of its own accord will not help. So far I am
getting along ok, except for a couple issues:
First off: I have my navigation arranged in a series of lists that I want to
put headers on. So far the code is something like this (imagine that the
links have urls anchored to them):
<div id="navbar">
<p>Section One</p>
<ul>
<li>The first link</li>
<li>The second link</li>
</ul>
<p>Section Two</p>
<ul>
<li>The third link</li>
<ul>
<li>The third link's subset</li>
</ul>
<li>The fourth link</li>
</ul>
</div>
etc. etc.
My problem is I get a full line space between the headings and the lists of
links, which I don't want. What can I do in the stylesheet to get rid of
this? Should the headings be <h1><h2> etc. elements (though this does not
seem to fix the problem) or id'd with a class I can specify in the
stylesheet (i.e. <p class="blah")?
Secondly, is there any advice/and or links to sites that give a helpful
tutorial on how to create a simple two column layout with a header and
footer on top? I don't want to use a template, I want to write the CSS
myself.
Thanks for your time
-TG
well, I finally decided to chuck FrontPage and start coding by hand in
NotePad to teach myself some real html/css; it has been mentioned that the
syntax that FP will insert of its own accord will not help. So far I am
getting along ok, except for a couple issues:
First off: I have my navigation arranged in a series of lists that I want to
put headers on. So far the code is something like this (imagine that the
links have urls anchored to them):
<div id="navbar">
<p>Section One</p>
<ul>
<li>The first link</li>
<li>The second link</li>
</ul>
<p>Section Two</p>
<ul>
<li>The third link</li>
<ul>
<li>The third link's subset</li>
</ul>
<li>The fourth link</li>
</ul>
</div>
etc. etc.
My problem is I get a full line space between the headings and the lists of
links, which I don't want. What can I do in the stylesheet to get rid of
this? Should the headings be <h1><h2> etc. elements (though this does not
seem to fix the problem) or id'd with a class I can specify in the
stylesheet (i.e. <p class="blah")?
Secondly, is there any advice/and or links to sites that give a helpful
tutorial on how to create a simple two column layout with a header and
footer on top? I don't want to use a template, I want to write the CSS
myself.
Thanks for your time
-TG