User Control Renders on Separate Line

J

jdp

I've created a user control that I then place in a panel. The reason
it's in a panel is that it's part of search criteria that I hide/show
panels based on the type of search begin done. I can place a label
next to this control in the IDE and it looks fine but when I run the
app, the label is on the line above the control. I've tried placing
the label INSIDE the control, placing the user control inside a <div>
and allowing objects on either side and the same effect occurred.

Any help would be greatly appreciated.

Thanks.
 
K

Ken Cox [Microsoft MVP]

Hi Jason,

Is the user control generating a Table that might be creating a new block?
You might try using <span> instead of <div>.

Ken
Microsoft MVP [ASP.NET]
 

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

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,017
Latest member
GreenAcreCBDGummiesReview

Latest Threads

Top