[Cialug] OT: Issues with CSS

cialug@cialug.org cialug@cialug.org
Fri, 4 Mar 2005 17:16:41 -0600 (CST)


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