Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New to the CF scene
    Join Date
    Jul 2005
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

    CSS problem! Help please!!

    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)..

  • #2
    Senior Coder nikkiH's Avatar
    Join Date
    Jun 2005
    Location
    Near Chicago, IL, USA
    Posts
    1,973
    Thanks
    1
    Thanked 32 Times in 31 Posts
    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?verbos.../PHP/index.php

    If this post contains any code, I may or may not have tested it. It's probably just example code, so no getting knickers in a bunch over a typo, OK? If it doesn't have basic error checking in it, such as object detection or checking if objects are null before using them, put that in there. I'm giving examples, not typing up your whole app for you. You run code at your own risk.
    Bored? Visit
    http://www.kaelisspace.com/

  • #3
    New to the CF scene
    Join Date
    Jul 2005
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I just found out myself right now..
    THANKS VERY MUCH ANYWAY!!

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


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •