View Full Version : css for different tables on one page?


malachithree10
12-03-2003, 02:31 PM
Can I use a different CSS for my menu table on my home page? I want my text links to be different on my menu than that on my home page where the main text area would be.

I would have two seperate tables on my home page,
one for my menu and one for my main text area.

But I want my menu to all be bold text and I want my main text area to all be normal text with different hover colors for my main text area than that of my menu.

Is this possible?

Thank you!

pb&j
12-03-2003, 02:52 PM
sure, just create a different "class" for each table...
.table1 {styles here;}
.table2 {styles here;}

for the links css, they would look like...
.table1 a:link {styles here;}
.table1 a:vlink {styles here;}
and so on...

then add it to your opening table tags...
<table class="table1">
and so on...

malachithree10
12-03-2003, 02:57 PM
I am not sure exactly how to go about doing this. Would I have to edit this info into my html? And is there a tutorial or example of how this is done exactly? I sort of understand, but not really. LOL

Thank you pb&j! Much help!

hockyfan641
12-03-2003, 07:46 PM
do you have an external style sheet? If so just add that code there. If not, add that code between these tags:

<style type="text/css">
css: here
</script>

and put that between your head tags.

For more info on css go to www.w3schools.com

MaGiCSuN
12-04-2003, 12:10 PM
http://www.lissaexplains.com/css.shtml :)
check out section 3 too of that css part, it's about css layouts

Love,
Mirna