retailworld started this topic @ 09:27 on 22/04/2004
Although not directly linked to this forum (although I am a startup), I need to ask a question to one of the decent web designers who post here...
My web site pages are made up of 'includes'. I would like a stylesheet to govern all the pages. I have the stylesheet working for individual parts of the site, but when I bring all the pages together with 'includes' the output does not use the stylesheet properties.
What I am aiming for is this - two have two seperate link colours. I need white hyperlinks and black hyperlinks.
Has anyone got any ideas? I am tearing my hair out with this one! [

!]
Many thanks,
Richard
------------------------
Regards,
Richard
Retail World - Supporting Retailers Across the UK
www.retailforum.co.uk
RE: Help needed on web design
seiretto | 22/04/2004 09:55 AM
Hi Richard,
You need to define the link classes within your .css file like this:
a.blacklink:link{color:#000000; font-weight:bold; font-style:none; text-decoration: none;}
a.blacklink:visited{color:#000000; font-weight:bold; font-style:none; text-decoration: none;}
a.blacklink:hover{color:#000000; background-color:#FFFFFF;font-weight:bold; font-style:none; text-decoration: none;}
THEN add the class to each anchar tag like this:
<a class="blacklink" href="http://www.seiretto.com/ ">UK Business Web Hosting</a>
Hope that helps.
Dave Walker.
http://www.seiretto.com UK Business Web Hosting
------------------------
Dave Walker - Seiretto Ltd (est 1996)
UK website hosting | PHP hosting | UK Linux Managed Servers | UK Windows Managed Servers
RE: Help needed on web design
retailworld | 22/04/2004 10:32 AM
FANTASTIC !!!
Seems to work exactly as needed!
I was going wrong with the anchor tag - I assumed that the included page would automatically pull the settings from the stylesheet, when in fact it wasn't.
Regardless, many thanks, you have helped where quite a few people haven't been able to.
Richard.
------------------------
Regards,
Richard
Retail World - Supporting Retailers Across the UK
www.retailforum.co.uk