On Sun, Aug 17, 2003 at 12:19:32PM +0100, Margot wrote:
I'm helping a friend build her family history website, and we have a small problem.
She has chosen the colours she wants for her pages - cream background, black text, headings in various browns and greens - but all the links keep coming out bright blue! It looks terrible!
I've discovered that I can change the viewing preferences in browsers to make the links the right colours, but we can't expect people all over the world to adjust their browser settings just to see her site the way it is intended to be.
I've tried fiddling around in Mozilla Composer and in Bluefish, but I can't get the links to look right. How can I cure this?
I'd recommend using a style sheet (css) for this; once you have it set up, you can make changes to the look of every page by just changing the one file (the style sheet).
Declaring the link color in css is as simple as:
a:link {color:#003366;} a:visited {color:#ffccff;} a:hover {background-color:#ffffff;}
The advantage here too is that you can specify other things, like the background color of a link, underlining and style etc.
For web-safe colors and their hex codes, I like http://www.visibone.com/colorlab/.
For a quick intro to css, I like www3schools http://www.w3schools.com/css/default.asp
HTH, Todd
Thanks everybody for links and tips - I'll have a look at everything and see how I get on.
Margot
Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
