Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

CSS Forum


You are currently viewing our CSS Forum as a guest. Please register to participate.
Login



Reply
CSS menu font style help!
Old 08-12-2008, 09:12 AM CSS menu font style help!
Novice Talker

Posts: 5
Name: Jill
Trades: 0
Hi,
My CSS is working everywhere except the navigation menu on the left (in Firefox). Here's the page: http://www.seacoastcreatives.com/quote.html

The font is suppose to be verdana, white and underlined in hover state. Here's my CSS mark up in page (I've shortened it for the forum but all of it's enclosed in the <span> tag you see below:

<span class="class1">
<tr>
<td>&nbsp;
<a title="Seacoast Creatives - Home" href="index.html">Home</a></td>
</tr>
</span>

You can see my css code here: http://www.seacoastcreatives.com/css.css

Can someone tell me why that css is not working on my page but all else is? Thank you! - Jillyb
jillyb is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 08-12-2008, 11:02 AM Re: CSS menu font style help!
wayfarer07's Avatar
Poo on You

Latest Blog Post:
Introducing WowWindow
Posts: 3,985
Name: Abel Mohler
Location: Asheville, North Carolina USA
Trades: 0
<tr>s and <td>s do not belong inside of a span. Also, your whole layout is pretty messed up. Tables are not made to be used for layout. My recommendation is that you invest some time into learning how to craft sites using only the CSS box model, with an emphasis on <div>s and <ul><li>s instead of tables, which are meant only for tabular data.
__________________
Join me on
Please login or register to view this content. Registration is FREE
wayfarer07 is offline
Reply With Quote
View Public Profile Visit wayfarer07's homepage!
 
Old 08-12-2008, 11:10 AM Re: CSS menu font style help!
Novice Talker

Posts: 5
Name: Jill
Trades: 0
Thanks for the advice on tables, but can you show my how to set CSS styles for my chunk of menu code?

<span class="class1">
<tr>
<td>&nbsp;
<a title="Seacoast Creatives - Home" href="index.html">Home</a></td>
</tr>
<tr>
<td>&nbsp;
<a title="Seacoast Creatives - Web Design" href="webdesign.html">Web Design</a></td>
</tr>
<tr>
<td>&nbsp;
<a title="Seacoast Creatives - Hosting &amp; Domains" href="hosting.html">Hosting &amp; Domains</a></td>
</tr>
<tr>
<td>&nbsp;
<a title="Seacoast Creatives - Online Advertising &amp; SEO" href="advertising.html">Online Advertising &amp; SEO</a></td>
</tr>
<tr>
<td>&nbsp;
<a title="Seacoast Creatives - Employment & Referrals" href="employment.html">Employment &amp; Referrals</a></td>
</tr>
<tr>
<td>&nbsp;
<a title="Seacoast Creatives - Client Portfolio" href="clients.html">
Client Portfolio</a></td>
</tr>
<tr>
<td>&nbsp;
<a title="Seacoast Creatives - Get a Quote" href="quote.html">Get A Quote</a></td>
</tr>
<tr>
<td>&nbsp;
<a title="Seacoast Creatives - Contact Me" href="contact.html">Contact Me</a></td>
</tr>
</span>
jillyb is offline
Reply With Quote
View Public Profile
 
Old 08-12-2008, 11:26 AM Re: CSS menu font style help!
Skilled Talker

Posts: 84
Location: Brussels, Belgium
Trades: 0
"class1" is nested in a table... ( I don't have a problem with that personally. )
But, the table is classified too as id="Table_01", and I can't finds the "Table_01" specifications defined in you .css file.
Maybe you have to define specifications of the table to Verdana too.

Also, in your .css file you start defining DIV.navfont ... In your html file, I can't find a navfont class.
Strange.
__________________

Please login or register to view this content. Registration is FREE
Bulevardi is offline
Reply With Quote
View Public Profile
 
Old 08-12-2008, 11:37 AM Re: CSS menu font style help!
Novice Talker

Posts: 5
Name: Jill
Trades: 0
Thanks for the advice - I tried it and took out the id="Table_01", and deleted the DIV.navfont, but it's still not working. Any other suggestions?
jillyb is offline
Reply With Quote
View Public Profile
 
Old 08-12-2008, 12:06 PM Re: CSS menu font style help!
wayfarer07's Avatar
Poo on You

Latest Blog Post:
Introducing WowWindow
Posts: 3,985
Name: Abel Mohler
Location: Asheville, North Carolina USA
Trades: 0
try adding this to your CSS file:
Code:
table {
display: none !important;
}
please report feedback, I am interested to know the results.
__________________
Join me on
Please login or register to view this content. Registration is FREE

Last edited by wayfarer07; 08-12-2008 at 12:07 PM..
wayfarer07 is offline
Reply With Quote
View Public Profile Visit wayfarer07's homepage!
 
Old 08-12-2008, 01:58 PM Re: CSS menu font style help!
aldor's Avatar
Ultra Talker

Posts: 479
Name: Alan
Location: Lincoln(UK)
Trades: 0
You seem to be attempting to run before you can walk.
You are offering a web design service before you are able to properly organise your own site.
I have had a quick look at your code and notice for starters that you have not included a DOCTYPE statement, this is mandatory.
I suggest you spend some time looking at the various stickies at the top of the HTML forum and CSS forum on this site - there is a lot of good information there collated by some of the very talented contributors to this forum.
I hope this helps point you in the right direction.
aldor is offline
Reply With Quote
View Public Profile
 
Old 08-12-2008, 04:38 PM Re: CSS menu font style help!
LadynRed's Avatar
Defies a Status

Posts: 10,016
Location: Tennessee
Trades: 0
Agree 100% with Aldor

As for menus - tons of examples here:
http://www.cssplay.co.uk/menus/
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Old 08-12-2008, 04:49 PM Re: CSS menu font style help!
Novice Talker

Posts: 5
Name: Jill
Trades: 0
Thanks for the advice on the business aspect, i'm sure lots of people posting here are web designers but still need some assistance with html/css/photoshop/asp/etc or there wouldn't be forums like this one.

If someone could just please help me out here in teaching me a simple way to use CSS for font attributes within a table for my menu I'd really appreciate it.
In the mean time i'll take a look at the stickies and see if my answer is in there.
jillyb is offline
Reply With Quote
View Public Profile
 
Old 08-12-2008, 04:54 PM Re: CSS menu font style help!
LadynRed's Avatar
Defies a Status

Posts: 10,016
Location: Tennessee
Trades: 0
http://www.w3schools.com/css/css_font.asp
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Old 08-12-2008, 05:14 PM Re: CSS menu font style help!
Novice Talker

Posts: 5
Name: Jill
Trades: 0
Thanks, i have figured it out and will add the DOCTYPE to my pages also.
jillyb is offline
Reply With Quote
View Public Profile
 
Old 08-12-2008, 05:35 PM Re: CSS menu font style help!
wayfarer07's Avatar
Poo on You

Latest Blog Post:
Introducing WowWindow
Posts: 3,985
Name: Abel Mohler
Location: Asheville, North Carolina USA
Trades: 0
You seem to want:
CSS
Code:
font-family: Verdana, Arial, Helvetica, sans-serif;
to be prevalent throughout your document. You should define this rule in the body { } so that it is the default for everything. Then, if you want a different font-family somewhere, you may override it on individual elements or classes.
__________________
Join me on
Please login or register to view this content. Registration is FREE
wayfarer07 is offline
Reply With Quote
View Public Profile Visit wayfarer07's homepage!
 
Reply     « Reply to CSS menu font style help!
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.34942 seconds with 12 queries