[css-d] Getting Rid of White Background

2008-02-26 Thread Jeff Gates
I am trying to port over a menu I have on the main part of my site to a
page that is outside the site template. But in adapting the css so the
menu text is white I seem to be having a problem with IE6/7. It is showing
the whole block as white (the text is there but it, too, is white
(which is what I want) and the links are working).

I've tried commenting out all indications of colored backgrounds in any
menu nav element (the menu that appears on the rest of the site has a lot
of background: #fff;) but that doesn't seem to help. I don't know where 
that white background is coming from. Can anyone tell me?

The page in question: http://inourpath.com/map/maps2.html
To see the original menu scroll to the bottom of this page: 
http://inourpath.com/intro.html

Any help would be appreciated. Thx.

Jeff

__
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/


Re: [css-d] Getting Rid of White Background

2008-02-26 Thread Usamah M. Ali
On Tue, Feb 26, 2008 at 8:45 PM, Jeff Gates [EMAIL PROTECTED] wrote:
 I am trying to port over a menu I have on the main part of my site to a
  page that is outside the site template. But in adapting the css so the
  menu text is white I seem to be having a problem with IE6/7. It is showing
  the whole block as white (the text is there but it, too, is white
  (which is what I want) and the links are working).

  I've tried commenting out all indications of colored backgrounds in any
  menu nav element (the menu that appears on the rest of the site has a lot
  of background: #fff;) but that doesn't seem to help. I don't know where
  that white background is coming from. Can anyone tell me?

  The page in question: http://inourpath.com/map/maps2.html
  To see the original menu scroll to the bottom of this page:
  http://inourpath.com/intro.html

  Any help would be appreciated. Thx.

  Jeff

You're trying to comment out CSS style rules by adding a #, which is
illegal and would make more confusion if browsers interpert it as ID
style-hookers! If you want to comment out a syle rule or one of its
declarations do it in the form:

/* property: value; */

In particular you have this in your CSS:

#nav_map .current a { display:block; height:20px; float:left;
#background:#fff; padding:0 10px 0 10px; text-decoration:none;
font-family: Verdana, Arial, sans-serif; font-size: .85em;
font-weight: bold; text-transform: uppercase; text-decoration: none;
border-bottom: none; line-height:20px; letter-spacing: .10em;
white-space:nowrap; #border-right:1px solid #fff; color: #fff;}

Such code is really problematic and before you clean it up, I really
can't help to figure out where the real problem lies.

Regards,
Usamah
__
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/


Re: [css-d] Getting Rid of White Background

2008-02-26 Thread Gunlaug Sørtun
Jeff Gates wrote:

 I've tried commenting out all indications of colored backgrounds in 
 any menu nav element (the menu that appears on the rest of the site 
 has a lot of background: #fff;) but that doesn't seem to help. I 
 don't know where that white background is coming from. Can anyone 
 tell me?
 
 The page in question: http://inourpath.com/map/maps2.html

FYI: IE/win interprets '#background:#fff;' as 'background:#fff;', so the
# is not disabling the property in _that_ browser.

The addition of...

ul, a {background: transparent!important;}

...will of course override all instances of white background on the
relevant elements - as a temporary solution.

regards
Georg
-- 
http://www.gunlaug.no
__
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/


Re: [css-d] Getting Rid of White Background

2008-02-26 Thread Jeff Gates
 Jeff Gates wrote:
 
  I've tried commenting out all indications of colored backgrounds in 
  any menu nav element (the menu that appears on the rest of the site 
  has a lot of background: #fff;) but that doesn't seem to help. I 
  don't know where that white background is coming from. Can anyone 
  tell me?

 The addition of...
 
 ul, a {background: transparent!important;}
 
 ...will of course override all instances of white background on the
 relevant elements - as a temporary solution.

Thanks Georg. That did the trick. 

__
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/