Re: What's Wrong with this picture?

by "Ryan Fischer" <ryan(at)gigabee.com>

 Date:  Mon, 18 Nov 2002 16:33:35 -0500
 To:  "Teajai Kimsey" <tkimsey(at)budgetwebsitedesign.com>,
<hwg-techniques(at)hwg.org>
 References:  cox
  todo: View Thread, Original
> Well, we have worked on this all day and can't seem to get the style
sheet
> to decide which way is up.
>
> http://www.ultramodern.com/ump.html
>
> Believe it or not there are links in the navigation on the left.  Can
anyone
> tell us why we can't get things to work the way we have outlined in
the
> style sheet?
>
> Thanks in Advance!

OK, three things:

1) Peter Williams had it right when he said your table width should be
absolute or non-existent.  I prefer the latter.  You can't specify a
percentage because as he said, as the browser resizes the table will
stretch and the graphics will come apart.

2) You need to comment out your CSS within your style tags for older
browsers' sake.  Or, use an external style sheet, which is preferable
for multiple pages, if you do indeed have multiple pages using the same
style.

3) The solution to the problem at hand: the order of inheritance in your
style sheet is such that the specialized a:link, a:hover, and a:visited
are overridden by the "normal" ones.  That is to say you need to switch
the order that they appear in order for the alternate coloring to
properly show up.  Put the *navbar rules last and everything should work
as desired after you've made the other changes I indicated.

-Ryan Fischer

HWG hwg-techniques mailing list archives, maintained by Webmasters @ IWA

This page is part of a preserved archive of archives.hwg.org. The site is no longer active and its content is not maintained. For enquiries about this archive, write to archive(at)iwanet.org.