I added a TextBox and an Image Button to a page so that they are side by side.
Instead of both being top aligned the Text Box is pushed down.
Why is that?
How can I solve this?
Thanks,
Miguel
Insert a table of 1 row, 2 columns (I do it from the Layout menu)
Put the TextBox in one cell, the Image Button in the other.
You may have to play with the cell alignments to get it to look the way you want.
Tables are the easiest way to handle controlling the layout of your page. If you're not going to use css to control your layout, you'll need to use tables. Good Luck!
Hi,
I don't use tables. I always use CSS for layouts.
Anyway, I was able to solve it. Just set my ImageButton's ImageAlign property to Top and everything went fine.
Thanks,
Miguel
Great, css is far better for your work. Good Luck
shapper:
Hi,
I don't use tables. I always use CSS for layouts.
Anyway, I was able to solve it. Just set my ImageButton's ImageAlign property to Top and everything went fine.
Thanks,
Miguel
I just recently learned an even easier way to control your layout. Go to the layout tab, then go to position > auto-position options > then check the checkbox for changing position for controls added.
That should really spice things up for ya, good luck!
0 comments:
Post a Comment