[Cialug] OT: Issues with CSS

Mark Hesseltine cialug@cialug.org
Fri, 4 Mar 2005 18:37:08 -0600


John:
Using Mozilla Firefox 1.0 on Linux, and Konqueror 3.3.2 on Linux, I
see both DIVs disappear. To test, I also added a DIV without a class,
just to make sure. Could it be a browser rendering issue?

On Fri, 4 Mar 2005 17:16:41 -0600 (CST), jcbailey@code0.net
<jcbailey@code0.net> wrote:
> Yes, this is a repost for anyone that is also on the CIAPUG list....
> 
> ---snip---
> 
> First, here is the HTML - next, the issue... (well, at least the relavent
> stuff).
> 
> page.htm:
> <link rel=stylesheet type=text/css href=admin.css media=all>
> <link rel=stylesheet type=text/css href=admin-print.css media=print>
> <div class=menubox id=nav_domains>content</div>
> <div class=menubox>content</div>
> 
> admin.css:
> .menubox {
>         padding:        2px;
>         width:          194px;
>         margin-top:     10px;
>         margin-bottom:  10px;
>         border:         1px solid #b1b1b1;
>         background:     #fff;
>         font-family:    Sans-Serif;
>         font-size:      10pt;
> }
> 
> admin-print.css:
> .menubox { display: none; }
> 
> The issue is that when I switch to the print format, any DIVs with an ID
> tag set don't disappear. The ones with no ID tag set disappear like they
> should. Any ideas?
> 
> Jon
> 
> _______________________________________________
> Cialug mailing list
> Cialug@cialug.org
> http://cialug.org/mailman/listinfo/cialug
> 


-- 
Mark Hesseltine
mailto:markhesseltine@gmail.com