Ok, I've decided to learn CSS and so here is my question.
Since I am putting a table which happens to make up my navbar in every
page on the site, can I just put the whole table once in a css and then
a simple code in each html page? Or do I have to put the whole table in
in each html?
Here is the site:
http://www.arapahocampground.com/index1.html
Here is the table I have to put in each page. BTW, I copied this code from somewhere and I didn't name it "tblNAVBar", I just kept in in there.
(in case that helps)
<table width="875" height="24" border="0" cellpadding="0" cellspacing="0" id="tblNavBar" background="images/fa2.gif">
<tr>
<td align="center" valign="middle"><a href="index.html"><font face="arial" size="2"><b>HOME</B></a> </td>
<td align="center" valign="middle"><a href="services.html"><font face="arial" size="2"><b>SERVICES</B></a> </td>
<td align="center" valign="middle"><a href="camp.html"><font face="arial" size="2"><b>CAMPING</B></a> </td>
<td align="center" valign="middle"><a href="float.html"><font face="arial" size="2"><b>FLOATING</B></a> </td>
<td align="center" valign="middle"><a href="aboutus.html"><font face="arial" size="2"><b>ABOUT US</B></a> </td>
<td align="center" valign="middle"><a href="policy.html"><font face="arial" size="2"><b>POLICIES</B></a> </td>
<td align="center" valign="middle"><a href="dir.html"><font face="arial" size="2"><b>DIRECTIONS</B></a> </td>
<td align="center" valign="middle"><a href="contact.html"><font face="arial" size="2"><b>CONTACT US</B></a> </td>
<td align="center" valign="middle"><a href="pics.html"><font face="arial" size="2"><b>PICTURES</B></a> </td>
</tr></table>
Now, can I put that code into my main css?
Do I have to make a separate CSS?
Or do I have to put that code in every html?
Basically, I just wrote this whole site in html and now I want to figure out how to use CSS with it. This is my real first attempt at writing CSS.
I am working on getting the navbar in CSS at the moment, but will be putting everything I can in CSS from this site.
If anyone wants has nothing to do and feels like whipping up a CSS on this site, you'll make me happy but if not, I'd still be grateful if
I could just get the original info I am asking about.
Thanks