You are here: Creating 2 style sheets for links on a page « HTML « IT news, forums, messages
Creating 2 style sheets for links on a page

Posted by Mike Azzopardi on 05/04/06 14:47

Hi there

I'm hoping someone can show me how to do this please.
I have a page where I want the links in the menu to act differently to the
links on main page (the colours, mouse over, font etc)

At the moment I have one style sheet that looks like this which is fine for
the main page:

a {
font-family: "Courier New", Courier, mono;
color: #0000FF;
}
body {
font-family: "Courier New", Courier, mono;
font-size: 16pt;
font-weight: bolder;
color: #660000;
}
a:hover {
font-family: "Courier New", Courier, mono;
color: #660000;
}

but I don't know how to make the menu links different. I am using
Dreamweaver MX. And the other thing is I have the Menu as an include file
which looks like this:

document.write('<table width="100%" height="2%" border=0 align="center"
cellpadding=0 cellspacing=0 bordercolor="#FFFFFF" hspace="2">'
+' <tr> '
+' <td bgcolor=#000066> '
+' <div align="center"><font size="4" face="Courier New, Courier,
mono"><strong><a href="../index.html">Home</a> '
+' - <a href="../donate.htm">Donate</a> - <a
href="../artists.htm">Artists</a> '
+' - <a href="../project.htm">The Project</a> - <a
href="../form/index.htm">Sign '
+' Up</a> - <a href="http://www.heifer.org"
target="_blank">Heifer.org</a> '
+' - <a href="../contact.htm">Contact</a> - <a
href="../links.htm">Links</a></strong></font></div></td>'
+' </tr>'
+' <tbody>'
+' </tbody>'
+' </table>');

Any help appriciated.

Best Regards
Mike

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация