...

View Full Version : CSS problem! Help please!!



Nollie
07-12-2005, 06:19 PM
Hi, I have a problem with the css-style I'm using on a .php-file.

I'm writing the css inside the index.php-file itself, (which means that I don't use an external .css-file to the index.php)

here is the page : http://www.mordi-prod.net/PHP/index.php

but I'm discovering that the styles that I get on the web-bage is not the same as in the code in the index.php. I'm getting white writing at all the Links on the page, THOUGH there is no css-styles attached the index.php!

f. example: where it stands: "Registrer her!"-in white a the left on the page.

So I'm wondering where this style may come from???

I've seen through the whole page, but there is colour-codes (#) that indicates that there should be a white colour on that text (#FFFFFF)..

nikkiH
07-12-2005, 06:37 PM
Um, right here.
Simple view of the CSS.

A:link {color:#FFFFFF;FONT-SIZE: 10px; FONT-FAMILY: Verdana, Helvetica;text-decoration:none}
A:active {color:#FFFFFF;FONT-SIZE: 10px; FONT-FAMILY: Verdana, Helvetica;text-decoration:none}
A:visited {color:#FFFFFF;FONT-SIZE: 10px; FONT-FAMILY: Verdana, Helvetica;text-decoration:none}
A:hover {color:#C0C0C0;FONT-SIZE: 10px; FONT-FAMILY: Verdana, Helvetica;text-decoration:none}

You've got stuff all over in that page. Totally invalid html with multiple head tags and stuff. Styles in multiple places.
Clean up that code and you'll find all kinds of goodies.
http://validator.w3.org/check?verbose=1&uri=http%3A//www.mordi-prod.net/PHP/index.php

Nollie
07-12-2005, 06:47 PM
I just found out myself right now..
THANKS VERY MUCH ANYWAY!! :D :D :D

I've just beginning to understand this coding.. Just a week of practice.. :p



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum