# CSS Hack

**URL:** <https://forum.kirupa.com/t/css-hack/57622>\
**Category:** web dev\
**Created:** [July 14, 2004, 7:17pm UTC](https://forum.kirupa.com/t/css-hack/57622 "2004-07-14T19:17:49Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![wyclef](https://avatars.discourse-cdn.com/v4/letter/w/65b543/32.png) [@wyclef](https://forum.kirupa.com/u/wyclef)\
**Post date:** [July 14, 2004, 7:17pm UTC](https://forum.kirupa.com/t/css-hack/57622/1 "2004-07-14T19:17:49Z")

</div>

CSS Hacks  
Hi, i’m trying to set up content within an ID to only be displayed if you are using an old browser however I didn’t realize IE 6 for PC was an old browser or had poor CSS Support because the display: none thing not only displays in IE 6 for PC but a lot of my styles are all messed up. Any tips? I’d like to straighten this out without importing the styles…

#warning {  
padding: 2px 15px 2px 20px;  
font-size: 12px;  
line-height: 14px;  
color: #c30;  
text-align: left;  
}

#subnav \> #warning {  
display: none;  
}

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 16, 2004, 7:58pm UTC](https://forum.kirupa.com/t/css-hack/57622/2 "2004-07-16T19:58:49Z")

</div>


