Groups | Blog | Home
all groups > dotnet general > march 2006 >

dotnet general : Stylesheets are not followed after migration


Andre
3/29/2006 9:40:21 PM
Hi,

We had an existing application in ASP.NET 1.1. After migration I tried to
utilize MasterPages. The test showed that format for most of labels is
treated differently e.g. TextBox'es are much toller, Label's do not have
fixed length as they used to, etc...
After some testing I discovered that problem is in how page format defined.
If I use HTML 4.0 all looking good, if page is XHTML 1.1 it is not.

Please advise on how to make pages coded as XHTML look same as in HTML 4.0

jan.hancic NO[at]SPAM gmail.com
3/30/2006 12:25:07 AM
If your pages are coded for HTML 4.0 standard then include the HTML 4.0
doctype and not XHTML 1.1...
Andre
3/30/2006 1:07:02 AM
Jan,

I do not want to change back to HTML 4.0. I want to use XHTML, so my
question is "What makes styles in XHTML look differently than in HTML?"

Thanks.

[quoted text, click to view]
AddThis Social Bookmark Button