panel / placeholder problem

T

TJS

try using a div tag with visibility and runat=server

<div id="Pagefooter" Visible="false" runat="server" >
<div class="footer" ></div>
</div>
 
D

Dunc

I'm creating an XHTML page in aspx, and I've been using a Panel control to
show and hide areas. I've just found, however, that depending on the
browser you're using, sometimes it puts a DIV tag or a TABLE tag into the
code, which I really don't want.

To work around it, I've been using the Placeholder instead of the Panel -
works perfectly, but it makes any ASPX tags within the placeholder come up
as invalid.

Does anyone have a better solution than this? Is there a best practice, or
a way to silence the Panel control?

Thanks in advance,

Dunc
 

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,769
Messages
2,569,581
Members
45,056
Latest member
GlycogenSupporthealth

Latest Threads

Top