DIV wrapped around hidden fields?

R

Rocky Moore

In ASP.NET 2.0, it seems to wrap a div around the hidden form fields such as
__ViewState. How do you override this rendering? I have VS.NET 2005 Beta 2
and will not have a new release until after the launch. I have a site that
is close to deploying, but it does not have any top margin or spacing. This
is find in FireFox and IE, but Opera drops the top of the page for that
wrapping div, leaving a blank line at the time.

Need some method to eliminate the wrapping div or at least set a style on it
so that it is not shown.

Also, I am having a problem with Opera being detected as a IE browser and it
is being fed the active-x client side scripting callback not working.

At times I wish Opera would just fall off the ends of the earth :)

Any help would be appreciated!
 
B

Bruce Barker

the rc has the same bug. report it. we will proably have to write a filter
that removes them

-- bruce (sqlwork.com)
 
A

Alan Silver

Also, I am having a problem with Opera being detected as a IE browser and it
is being fed the active-x client side scripting callback not working.

AFAIK, Opera sends a user agent that includes "MSIE" by default. That is
to allow the (sadly huge) number of sites that treat anything non-IE as
downlevel to be shown properly.

You can change the user agent Opera sends, but it won't help as most
people don't do this.

HTH
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,754
Messages
2,569,528
Members
45,000
Latest member
MurrayKeync

Latest Threads

Top