html in vb

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Tony M

    #1

    html in vb

    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.dt d">



    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


  • rowe_newsgroups

    #2
    Re: html in vb

    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.dt d">
    >
    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

    Comment

    Working...