Discover Habbo's history
Treat yourself with a Secret Santa gift.... of a random Wiki page for you to start exploring Habbo's history!
Happy holidays!
Celebrate with us at Habbox on the hotel, on our Forum and right here!
Join Habbox!
One of us! One of us! Click here to see the roles you could take as part of the Habbox community!


Results 1 to 5 of 5

Thread: CSS Help ROFL.

  1. #1
    Join Date
    May 2006
    Posts
    1,797
    Tokens
    0

    Latest Awards:

    Default CSS Help ROFL.

    LOL, been asking for help alot today

    trying new things and all that xP

    does anyone know why the CSS isnt affecting it when i hover over :S?

    PHP Code:
    <?php
    session_start
    ();
    require(
    "config.php");
    if(empty(
    $_SESSION[lic_user]) || empty($_SESSION[lic_level]))
    header("location: index.php");
    ?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    <title>HabboSoft.com - Licence Management Panel</title>
    <style type="text/css">
    <!--
    .style1 {
     font-family: verdana;
     font-size: medium;
     color: #006699;
    }
    .style2 {
     font-family: verdana;
     font-size: x-small;
     color: #000000;
    }
    .cont { 
     background-color:#C5DAD7;
     font-family: verdana;
     font-size: x-small;
     color: #000000;
    }
    .cont a:hover { 
     background-color:#B8E7E7;
     font-family: verdana;
     font-size: x-small;
     color: #000000;
     font-style:italic;
    }
    -->
    </style></head>
    <body>
    <span class="style1">HabboSoft.com - Licence Management Panel<hr />
    </span>
    <p align="center" class="style2">Welcome <? echo($_SESSION[lic_user]);?>!<br />
    You last logged in from: <? $get_info mysql_fetch_array(mysql_query("select * from lic_users where user = '$_SESSION[lic_user]'")); echo("$get_info[ip]");?>
    <br />
    <br />
    </p>
    <table width="60%" border="1" align="center">
      <tr>
        <td width="50%" class="cont">View my Licences </td>
        <td>&nbsp;</td>
      </tr>
    </table>
    </body>
    </html>
    It displays it in the cont class, but doesnt do anything when it hovers...

    Thanks for any help
    Craig-

    Moved by Agesilaus (Forum Moderator) from Design and Development: Please post in the correct forum.
    Last edited by Agesilaus; 19-12-2007 at 02:55 PM.
    Coming and going...
    Highers are getting the better of me

  2. #2
    Join Date
    Nov 2006
    Location
    Cheshire.
    Posts
    730
    Tokens
    250

    Default

    PHP Code:
    <style type="text/css">
    <!--
    .
    style1 {
     
    font-familyverdana;
     
    font-sizemedium;
     
    color#006699;
    }
    .
    style2 {
     
    font-familyverdana;
     
    font-sizex-small;
     
    color#000000;
    }
    .
    cont 
     
    background-color:#C5DAD7;
     
    font-familyverdana;
     
    font-sizex-small;
     
    color#000000;
    }
    .
    cont:hover 
     
    background-color:#B8E7E7;
     
    font-familyverdana;
     
    font-sizex-small;
     
    color#000000;
     
    font-style:italic;
    }
    -->
    </
    style
    Try that

    Remember a:hover is for links (or whatever is in the <a></a> tags) as a is already a html attribute.
    Last edited by Frog!; 18-12-2007 at 08:50 PM.


    Give us an add like!

  3. #3
    Join Date
    May 2006
    Posts
    1,797
    Tokens
    0

    Latest Awards:

    Default

    Oooh.

    Ive seen people writing down .CLASSNAME a:hover in some of these tutorials lol

    Thanks, that works
    +REP if i can.
    Coming and going...
    Highers are getting the better of me

  4. #4
    Join Date
    Dec 2007
    Posts
    412
    Tokens
    0

    Default

    Quote Originally Posted by MrCraig View Post
    Oooh.

    Ive seen people writing down .CLASSNAME a:hover in some of these tutorials lol

    Thanks, that works
    +REP if i can.
    That changes the link styles in that div.

  5. #5
    Join Date
    May 2006
    Posts
    1,797
    Tokens
    0

    Latest Awards:

    Default

    Ooooh.

    Ty +REP =]
    Coming and going...
    Highers are getting the better of me

Posting Permissions

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