ASP.NET Button won't style in IE6/7

I have several buttons in my ASP.NET page that I am styling using a CSS.
 HTML:
<asp:Button id="Button2" runat="server" Text="Button" CssClass="RegularButton"></asp:Button>

CSS:
.RegularButton {
        background-color:#333333;
        color:#FFFFFF;
        font-weight:bold;
        width:200px;
}

This works fine on my development laptop (IE8) but just displays a standard button with no style in IE6 and IE7. I am using it in a .NET 1.1 website but I don't think this should make any difference should it?
MattWilkinsonAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

MattWilkinsonAuthor Commented:
I have found the solution - it was in the declaration of the style sheet in the page header - when I dragged this in VS gave me this:
<LINK rel="stylesheet" type="text/css" href="http://localhost/Touchscreens/Styles.css">
But I changed this to the VS2008 default:
<link href="Styles.css" rel="stylesheet" type="text/css" />

and it now works!
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
.NET Programming

From novice to tech pro — start learning today.