html - Style my server-form properly for all browsers. Without breaking design -


i'm working on integrating template asp.net webforms project. template responsive , bootstrap based, , works fine. problem presents when need wrap <body> content inside <form runat="server"> messes style completely.

some examples :

the original layout :

<body> <section class="vbox"> content.. </section> </body> 

what need do, in order run aspx site.

<body> <form runat="server"> <section class="vbox"> content.. </section> </form> </body> 

but messes up, if assign vbox <form> <form class="vbox"> works fine in chrome, , ie11 not in firefox, , older ie browsers.

the vbox css property contains :

  .vbox {     display: table;     border-spacing: 0;     position: relative;     height: 100%;     width: 100%;   } 

is there solution this? can turn off styling form, or make browser ignore style? or need add "fix" ff , older ie browsers?

in advance, ;)


Comments

Popular posts from this blog

android - Get AccessToken using signpost OAuth without opening a browser (Two legged Oauth) -

org.mockito.exceptions.misusing.InvalidUseOfMatchersException: mockito -

google shop client API returns 400 bad request error while adding an item -