Click to See Complete Forum and Search --> : Microsoft Theme overwriting my CSS


alaspillows
02-28-2006, 08:19 AM
The company website was done quickly using a Frontpage Theme. This was done because when I inherited the webmaster role I was new to web design and a "sexy" looking site was needed quickly.

As I have grown more confident, I have been wanting to use CSS and am going to try and migrate to this eventually.

I have created a stylesheet, and included it in the header area of my pages. The problem I am finding is that the Microsoft Theme meta tag keeps jumping below it. If I place it before, the next time I load up the page, it's back to being below it so my stylesheet is ignored/overwritten?

Is there any way I can prevent this? Can a reference to a stylesheet be used as the first line in the Body part of the html to try and get the theme to stop jumping it?

Not sure what info you can glean from looking at the website, but if it's useful - the link is www.selectbs.com.

Thank you in advance

KDLA
02-28-2006, 09:30 AM
It doesn't matter where the link to the stylesheet appears in the header. Usually, stylesheets are listed in order of preference, but that really doesn't effect how the page looks; just how it loads.

The best thing to do is to disassociate the file from the theme. Either go full CSS, or stick with the theme. MS driven styles will always overwrite your stuff.

KDLA

alaspillows
02-28-2006, 10:07 AM
I started off with just a frontpage theme, then I added the external CSS. Recently I had to make some changes to the colors of the theme, resaved the theme and now it totally ignores my CSS.

Not really knowing much about themes or CSS, I have been trying to compare the original theme, with the new one.

the original theme meta tag looked like this:

<meta name="Microsoft Theme" content="oldtheme 0011, default">

the new one has changed the number sequence:

<meta name="Microsoft Theme" content="newtheme 1011, default">

has this first 1 done something?

I tried just changing the 1 to a 0 and nothing happened.

KDLA
02-28-2006, 10:13 AM
This might help: http://office.microsoft.com/en-au/assistance/ha010429361033.aspx

KDLA