# Alternative stylesheet not working for ie7\>

**URL:** https://forum.kirupa.com/t/alternative-stylesheet-not-working-for-ie7/313085
**Category:** Uncategorized
**Created:** [August 19, 2010, 12:48pm UTC](https://forum.kirupa.com/t/alternative-stylesheet-not-working-for-ie7/313085 "2010-08-19T12:48:28Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![spindrift](https://avatars.discourse-cdn.com/v4/letter/s/b5ac83/32.png) [@spindrift](https://forum.kirupa.com/u/spindrift)
#### Post date: [August 19, 2010, 12:48pm UTC](https://forum.kirupa.com/t/alternative-stylesheet-not-working-for-ie7/313085/1 "2010-08-19T12:48:28Z")

</div>

hi guys,

i have a site that renders perfectly in the usual browsers but in versions 7 or lower of ie, the navigation buttons appear out of line.

ive used an alternative stylesheet to fix this but it seems to make no difference during testing.

here is how i am linking to it:

```auto

<!--[if IE 7]><link rel="stylesheet" type="text/css" href="/scripts/ie7style.css" /><![endif]-->

```

after looking into it a bit more think that it maybe the doc type which is causing the problem, which is:

```auto

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:fb="http://www.facebook.com/2008/fbml" xml:lang="en" lang="en">

```

does anyone have any suggestions as to why it might not be working?

thanks,

sm
