CSS anomolies in ASP.NET
Hi, I'm new to ASP.NET so please forgive my ignorance.
I am working on a little web application and want to control
the look and feel of all of the pages in the application. To do
this I set up a CSS file to be refereced by all of the pages.
The only problem I am having so far is setting the width of anchor
tags. I used:
a.menu {text-decoration:none;
width:130px;
border:solid 1px black}
where the anchors I use in my menu have their class set to "menu".
This works perfectly with an HTML page, but the ASP.NET page
ignores the width attribute. It does observer the text-decoration
and border attributes. This makes all of my menu selection boxes
a different width, very ugly.
ASP.NET does observe the "width" attribute other places. Is there
any explanation why it ignores width in an anchor tag?
Thanks,
Dave
What you don't know can hurt you!
__________________
What you don\'t know can hurt you!
|