CSS Nav - HELP ME!
Ok I had to use a 102 width chunk of the navigation bar to get it to look right. I still cant get the spacing right. I want the links to appear in between those lines. I couldn't figure out a way to make the lines look right in css... here is the closest I have gotten http://www.koa.planetubh.com/apc/aaaa.html
http://koa.planetubh.com/apc/ is how i want it to look.. but not as part of the header.
kb posted this at 23:23 — 9th November 2003.
He has: 1,380 posts
Joined: Feb 2002
are you referring to the space between the graphic and the nav bar?
well this is the reason for the space:
cellspacing="10" cellpadding="2"
for another thing, if you are going to use stylesheets, use them for the whole page. you can do all the table and cell stuff inside a style sheet:
table.name {
width: x%;
height: x%;
padding: 0;
spacing: 0;
align: center;
}
td.name {
[same as above]
}
for another, why are you using a "div" tag to encapsulate the text of the navigation? set all that stuff to the table instead of the div, using the same syntax in the stylesheet
Script posted this at 00:24 — 10th November 2003.
He has: 69 posts
Joined: Oct 2003
because I don't know what i'm doing
I don't know css.. so that's why i didnt do the tables w/ it.
could you help me understand how I would do the tables and everything w/ css?
kb posted this at 00:39 — 10th November 2003.
He has: 1,380 posts
Joined: Feb 2002
i showed you in the code example i gave...
table.name {
width: x%;
height: x%;
padding: 0;
spacing: 0;
align: center;
}
td.name {
[same as above]
}
and then whatever you call the class (name, hobo, or whatever), refer to it like:
<table class="hobo">
<td class="hobo4000">
</td>
</table>
you can take the background stuff you used in your "div" style, and just transfer it to the table:
table.new{
background-image: url('www.mysite.com/img/you.gif');
}
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.