Chris Hettinger on Sat, 05 Mar 2005 00:12:03 -0600


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [ciapug] Slightly OT: weird problems with CSS


I duplicated this here:
http://www.ch-freelance.com/css_exp/jb/
Based on the little html and css you gave...

When I went to print preview, both DIVs were no longer visible in both Moz and IE6/Win. I believe that is your desired result?

Any more detail on the issue?

-ch

jcbailey@xxxxxxxxx wrote:
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

_______________________________________________
ciapug mailing list
ciapug@xxxxxxxxxx
http://cialug.org/mailman/listinfo/ciapug

_______________________________________________
ciapug mailing list
ciapug@xxxxxxxxxx
http://cialug.org/mailman/listinfo/ciapug