# Grrrr... CSS + IE6 woes

**URL:** <https://forum.kirupa.com/t/grrrr-css-ie6-woes/183859>\
**Category:** web dev\
**Created:** [March 30, 2006, 6:57pm UTC](https://forum.kirupa.com/t/grrrr-css-ie6-woes/183859 "2006-03-30T18:57:08Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![camargo](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/camargo/32/1363_2.png) [@camargo](https://forum.kirupa.com/u/camargo)\
**Post date:** [March 30, 2006, 6:57pm UTC](https://forum.kirupa.com/t/grrrr-css-ie6-woes/183859/1 "2006-03-30T18:57:08Z")

</div>

Alright, so I’m building a page in CSS using the [Web Developer toolbar](http://chrispederick.com/work/webdeveloper/) in FireFox (highly recommended) to do some really cool on-the-fly testing. But, the same page in IE6 is completely different!

[http://www.wirelessinteractive.com/indexcss.html](http://www.wirelessinteractive.com/indexcss.html)

Is there some major issue I should know about between IE6 and FF when it comes to CSS? If someone could point me in the right direction, that would be wonderful…

Also, is it possible to execute a certain CSS file based on the browser the user has (possibly via Javascript)?

Thanks in advance, Kirupans!

---

<div class="post-metadata">

**Author:** ![hkl](https://avatars.discourse-cdn.com/v4/letter/h/a8b319/32.png) [@hkl](https://forum.kirupa.com/u/hkl)\
**Post date:** [March 30, 2006, 7:20pm UTC](https://forum.kirupa.com/t/grrrr-css-ie6-woes/183859/2 "2006-03-30T19:20:33Z")

</div>

ouch big difference. um… cant say for sure as im heading out but these might help

[http://www.stylegala.com/resources/css\_hacks.htm](http://www.stylegala.com/resources/css_hacks.htm)

[http://cssvault.com/cat\_hacks.php](http://cssvault.com/cat_hacks.php)

---

<div class="post-metadata">

**Author:** ![bwh2](https://avatars.discourse-cdn.com/v4/letter/b/8c91f0/32.png) [@bwh2](https://forum.kirupa.com/u/bwh2)\
**Post date:** [March 30, 2006, 7:33pm UTC](https://forum.kirupa.com/t/grrrr-css-ie6-woes/183859/3 "2006-03-30T19:33:58Z")

</div>

don’t use browser specific css files. i haven’t really looked at your code, but at first glance it looks like it might be a box model problem.

---

<div class="post-metadata">

**Author:** ![camargo](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/camargo/32/1363_2.png) [@camargo](https://forum.kirupa.com/u/camargo)\
**Post date:** [March 30, 2006, 7:35pm UTC](https://forum.kirupa.com/t/grrrr-css-ie6-woes/183859/4 "2006-03-30T19:35:21Z")

</div>

Box model… hmm… I’m not too familiar with what that is. From my understanding it has to do with the way that IE and FF render \<DIV\> tags, am I right?

---

<div class="post-metadata">

**Author:** ![bwh2](https://avatars.discourse-cdn.com/v4/letter/b/8c91f0/32.png) [@bwh2](https://forum.kirupa.com/u/bwh2)\
**Post date:** [March 30, 2006, 8:25pm UTC](https://forum.kirupa.com/t/grrrr-css-ie6-woes/183859/5 "2006-03-30T20:25:16Z")

</div>

yes. google it.

---

<div class="post-metadata">

**Author:** ![955](https://avatars.discourse-cdn.com/v4/letter/9/4bbf92/32.png) [@955](https://forum.kirupa.com/u/955)\
**Post date:** [March 30, 2006, 9:20pm UTC](https://forum.kirupa.com/t/grrrr-css-ie6-woes/183859/6 "2006-03-30T21:20:50Z")

</div>

> [@bwh2](#):
>
> don’t use browser specific css files. i haven’t really looked at your code, but at first glance it looks like it might be a box model problem.

Why not? Some browsers in particular have such awful support for standards that trying to use a catch-all stylesheet is simply not an option. Yes, it’s a good guiding principle that you should try to make CSS as cross-browser as possible, but what about when that’s not possible?

---

<div class="post-metadata">

**Author:** ![bwh2](https://avatars.discourse-cdn.com/v4/letter/b/8c91f0/32.png) [@bwh2](https://forum.kirupa.com/u/bwh2)\
**Post date:** [March 30, 2006, 9:41pm UTC](https://forum.kirupa.com/t/grrrr-css-ie6-woes/183859/7 "2006-03-30T21:41:21Z")

</div>

[QUOTE=λ]Why not? Some browsers in particular have such awful support for standards that trying to use a catch-all stylesheet is simply not an option. Yes, it’s a good guiding principle that you should try to make CSS as cross-browser as possible, but what about when that’s not possible?[/QUOTE]  
like what browsers?

---

<div class="post-metadata">

**Author:** ![camargo](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/camargo/32/1363_2.png) [@camargo](https://forum.kirupa.com/u/camargo)\
**Post date:** [March 31, 2006, 2:33am UTC](https://forum.kirupa.com/t/grrrr-css-ie6-woes/183859/8 "2006-03-31T02:33:18Z")

</div>

Is there a way to easily create seperate CSS files for each browser?
