html in vb

  • Thread starter Thread starter Tony M
  • Start date Start date
T

Tony M

Maybe someone in this group can help, I asked in the vs general and it
wasn't answered.

I had some problem with the button control, it being distorted when
displayed.

I finally figured it out so maybe someone can help me with the fix.

For some reason when I add a new page now the following statement is
included in the HTML source section. And this is the problem

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">



When I change it to this it seems to work fine.

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">



How can I change it back that when I create a new web form it inserts the
correct line of code?



Thanks
 
Maybe someone in this group can help, I asked in the vs general and it
wasn't answered.

I had some problem with the button control, it being distorted when
displayed.

I finally figured it out so maybe someone can help me with the fix.

For some reason when I add a new page now the following statement is
included in the HTML source section. And this is the problem

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

When I change it to this it seems to work fine.

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

How can I change it back that when I create a new web form it inserts the
correct line of code?

Thanks

You can modify the project templates to specify what DOCTYPE is
specified. I also believe you can specify this in the tool-->options
menu though I could be wrong.

Thanks,

Seth Rowe
 
Back
Top