Re: How to override the style of a pseudoclass (a link)?

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

    Re: How to override the style of a pseudoclass (a link)?

    On Fri, 25 Apr 2008 18:22:34 +0200, Andreas Prilop
    <prilop2008@tra shmail.netwrote :
    >Then give us the address (URL) of your web page!
    The "live" page is not publicly accessible, but in connection with
    another problem, I have posted a simplified version at
    http://www.amphigoricbooks.com/dummy/About.htm. All of the
    stylesheets are there.

    The problematic link is in the menu bar between "Store" and "sign
    up...". To find it in the source, search for the string "Log Out".

    This particular link will be replaced by an image consistent with the
    other menu bar items, but the site will have plenty of other text
    links which will stay, and they all are subject to the same problem.
  • John Hosking

    #2
    Re: How to override the style of a pseudoclass (a link)?

    Jonathan Sachs wrote:
    >
    The "live" page is not publicly accessible, but in connection with
    another problem, I have posted a simplified version at
    http://www.amphigoricbooks.com/dummy/About.htm. All of the
    stylesheets are there.
    >
    The problematic link is in the menu bar between "Store" and "sign
    up...". To find it in the source, search for the string "Log Out".
    >

    You have
    #bldHeaderMenuL ink a, #bldHeaderMenuL ink a:link,
    #bldHeaderMenuL ink a:active, #bldHeaderMenuL ink a.visited {
    color: white;
    }

    but you do not have

    #bldHeaderMenuI tem a, #bldHeaderMenuI tem a:link,
    #bldHeaderMenuI tem a:active, #bldHeaderMenuI tem a.visited {
    color: white;
    }

    Compare with your markup.

    You also have:
    1) validation errors in markup and CSS

    W3C's easy-to-use markup validation service, based on SGML and XML parsers.



    2) lots and lots of rule sets in the CSS. 7 count 'em 7 files

    3) filespecs with apparent variables for CSS files

    "node.css?u ", "defaults.css?u ", etc.

    4) CSS rules marked as IE-only which are really IE6 and under

    /* Note: IE-only fix due to '* html'. */
    * html.js fieldset.collap sed legend,

    5) XHTML instead of HTML, served as text/html anyway

    6) Some apparent dependence on Drupal. This probably is the main cause
    of items 1-5 above.

    GL

    --
    John
    Pondering the value of the UIP: http://improve-usenet.org/

    Comment

    • Jonathan Sachs

      #3
      Re: How to override the style of a pseudoclass (a link)?

      On Sun, 27 Apr 2008 00:14:18 +0200, John Hosking
      <John@DELETE.Ho sking.name.INVA LIDwrote:
      >You have
      >#bldHeaderMenu Link a, #bldHeaderMenuL ink a:link,
      >#bldHeaderMenu Link a:active, #bldHeaderMenuL ink a.visited {
      > color: white;
      >}
      >
      >but you do not have
      >
      >#bldHeaderMenu Item a, #bldHeaderMenuI tem a:link,
      >#bldHeaderMenu Item a:active, #bldHeaderMenuI tem a.visited {
      > color: white;
      Thank you! That's the sort of thing that a person can stare at in his
      own code forever and not see.

      Comment

      Working...