Beginner seeks help with css problem

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Ian

    Beginner seeks help with css problem

    'm hoping someone can help me resolve a problem I am having with
    stylesheets. I've only just started usinbg them so it's more than
    likely something similar. Trouble is I don't seem to be able to fix it
    so would be grateful for any help.

    Basically I'm working with a web page I inherited which has a menu in
    which the layout/colours are something like this:

    Heading (always yellow)
    - Link (always white irrespective of visited or not etc but hover adds
    an underline
    - Link (always white irrespective of visited or not etc but hover adds
    an underline
    - Link (always white irrespective of visited or not etc but hover adds
    an underline

    ete etc


    The css code I inherited is as follows:


    ..leftNav {
    font: bold 14px Helvetica, arial;
    color: #FFFFFF;
    background: #663333 center;
    letter-spacing: .01em;
    }


    td.leftNav {
    font: bold 14px Helvetica, arial;
    color: #FFFFFF;
    text-decoration: none;
    background: #663333 center;
    letter-spacing: .01em;
    border-top: 1px solid #000033;
    border-left: 1px solid #000033;
    }

    td.leftNav ul {
    display: block;
    list-style: none;
    margin: 0;
    padding: 0;
    }

    td.leftNav li {
    display: block;
    padding: 5px 0px;
    border-bottom: 2px solid #FFFFFF;
    }

    td.leftNav li a:link, a:visited, {
    font-weight: bold;
    color:#ffffff;
    text-decoration: none;
    border: none;
    background: transparent;
    }

    td.leftNav li a:hover {font-weight: bold;
    font-weight: bold;
    color:#ffffff;
    text-decoration: underline;
    border: none;
    background: transparent;
    }

    ..menuitem { color: #FFFF00 !important; }


    What I now want to be able to add is a completely new separate table in
    which there are links which are ALWAYS yellow irrespective of visited,
    active or not, with no underline. Maybe they could change colour on
    hover but it doesn't matter. I've tried various attempts at this but I
    always seem to end up changing the colours of the other links on the
    page in the main menu and can't understand why. So, any help would be
    great.


  • Blinky the Shark

    #2
    Re: Beginner seeks help with css problem

    Ian wrote:
    [color=blue]
    > What I now want to be able to add is a completely new separate table in
    > which there are links which are ALWAYS yellow irrespective of visited,
    > active or not, with no underline. Maybe they could change colour on[/color]

    Why do you want to confuse me by not letting me see which links I've
    already used?

    --
    Blinky Linux Registered User 297263
    Killing all Usenet posts from Google Groups
    Info: http://blinkynet.net/comp/uip5.html
    *ALSO contains links for access to the NON-BETA GG archive interface*

    Comment

    • AES

      #3
      Re: Beginner seeks help with css problem

      In article <slrnd9k4ah.3pe .no.spam@thurst on.blinkynet.ne t>,
      Blinky the Shark <no.spam@box.in valid> wrote:
      [color=blue][color=green]
      > > What I now want to be able to add is a completely new separate table in
      > > which there are links which are ALWAYS yellow irrespective of visited,
      > > active or not, with no underline. Maybe they could change colour on[/color]
      >
      > Why do you want to confuse me by not letting me see which links I've
      > already used?[/color]

      Just for info, the links in the bodies of the short blog messages that
      are reproduced on Ariana Huffington's web site

      <http://www.huffingtonp ost.com/>

      seem to work this way.

      Typographically it looks considerably neater to me without the
      underlining; and since each message is short and only contains a few
      links, and once you've read or skimmed one message and gone on to the
      next you're unlikely to go back to the earlier one, perhaps recording
      which links have been used is less necessary or useful.

      In any event, as a novice question, if you have several links to the
      same identical URL at different places within a web page, and a visitor
      follows one of those links and then returns to the starting page, under
      standard HTLM do (or should) _all_ of those links change color? -- or
      only the one that was clicked on?

      Comment

      • Blinky the Shark

        #4
        Re: Beginner seeks help with css problem

        AES wrote:[color=blue]
        > In article <slrnd9k4ah.3pe .no.spam@thurst on.blinkynet.ne t>,
        > Blinky the Shark <no.spam@box.in valid> wrote:[/color]
        [color=blue][color=green][color=darkred]
        >> > What I now want to be able to add is a completely new separate table in
        >> > which there are links which are ALWAYS yellow irrespective of visited,
        >> > active or not, with no underline. Maybe they could change colour on[/color][/color][/color]
        [color=blue][color=green]
        >> Why do you want to confuse me by not letting me see which links I've
        >> already used?[/color][/color]
        [color=blue]
        > Just for info, the links in the bodies of the short blog messages that
        > are reproduced on Ariana Huffington's web site[/color]
        [color=blue]
        > <http://www.huffingtonp ost.com/>[/color]
        [color=blue]
        > seem to work this way.[/color]

        Bummer.
        [color=blue]
        > Typographically it looks considerably neater to me without the
        > underlining; and since each message is short and only contains a few
        > links, and once you've read or skimmed one message and gone on to the
        > next you're unlikely to go back to the earlier one, perhaps recording
        > which links have been used is less necessary or useful.[/color]

        And perhaps not.

        I don't mind no underlining. I very much mind the absence of the
        distinctive link color for visited links.
        [color=blue]
        > In any event, as a novice question, if you have several links to the
        > same identical URL at different places within a web page, and a visitor
        > follows one of those links and then returns to the starting page, under
        > standard HTLM do (or should) _all_ of those links change color? -- or
        > only the one that was clicked on?[/color]

        I would think they all would.

        --
        Blinky Linux Registered User 297263
        Killing all Usenet posts from Google Groups
        Info: http://blinkynet.net/comp/uip5.html
        *ALSO contains links for access to the NON-BETA GG archive interface*

        Comment

        Working...