Alignment of a System.Web.UI.WebControls.Image object

  • Thread starter Nathan Sokalski
  • Start date
N

Nathan Sokalski

When using a System.Web.UI.WebControls.Image object, how do I control both
vertical and horizontal alignment? Both directions are controlled using the
ImageAlign property, which prevents setting both a vertical and horizontal
direction. Why isn't there something like a VerticalAlign and
HorizontalAlign like the System.Web.UI.WebControls.TableCell object? Thanks.
 
E

Eliyahu Goldin

Nathan,

The ImageAlign property aligns the image on the PAGE. If you want precise
alignment with other controls, put your image and the other controls to an
html table and set alignment options for the table cells.

Eliyahu
 

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,770
Messages
2,569,584
Members
45,075
Latest member
MakersCBDBloodSupport

Latest Threads

Top