SitePoint Sponsor

User Tag List

Results 1 to 5 of 5
  1. #1
    SitePoint Addict rush78's Avatar
    Join Date
    Aug 2001
    Location
    Egypt
    Posts
    253
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    problems with contextual

    i created a class called class1 for example with A:link, visited, and active with styles for each...ok?
    Saved it as navbar and linked it to my website's page.

    called class1 where i needed it but it won't work

    i use dreamweaver and topstyle pro for css editing.

    what am i doing wrong? what am i missing?
    I'm sure my style is correct, but it has no effect on my pages whatsoever

    please help
    Glad to be BACK

  2. #2
    SitePoint Wizard silver trophy redemption's Avatar
    Join Date
    Sep 2001
    Location
    Singapore
    Posts
    5,269
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    could you post your CSS code for us to see? that'd help things more...

  3. #3
    SitePoint Addict rush78's Avatar
    Join Date
    Aug 2001
    Location
    Egypt
    Posts
    253
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    .class1 A:link
    {
    color : White;
    font : smaller Verdana;
    text-decoration : underline;
    }
    .class1 A:visited
    {color : Olive;
    font : smaller Verdana;
    text-decoration : underline;
    }
    .class1 A:active
    {color : Olive;
    font : smaller Verdana;
    text-decoration : underline;
    }


    file name is navbar.

    when i call it in my HTML, it's <td class="class1">bla bla </td>
    Glad to be BACK

  4. #4
    SitePoint Wizard silver trophy redemption's Avatar
    Join Date
    Sep 2001
    Location
    Singapore
    Posts
    5,269
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    try this
    Code:
    .class1 TD A:link 
    {
    	color : White;
    	font : smaller Verdana;
    	text-decoration : underline;
    }
    or this if you don't need the .class1 spec ie. just use contextual...
    Code:
    TD A:link 
    {
    	color : White;
    	font : smaller Verdana;
    	text-decoration : underline;
    }

  5. #5
    SitePoint Addict rush78's Avatar
    Join Date
    Aug 2001
    Location
    Egypt
    Posts
    253
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    k...i'll try it and see if it works
    thanks
    Glad to be BACK


Bookmarks

Posting Permissions

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