By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,700 Members | 1,506 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,700 IT Pros & Developers. It's quick & easy.

html in vb

P: n/a
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
Jul 17 '07 #1
Share this Question
Share on Google+
1 Reply


P: n/a
On Jul 17, 1:03 pm, "Tony M" <TonyMast_NOS...@msn.comwrote:
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

Jul 20 '07 #2

This discussion thread is closed

Replies have been disabled for this discussion.