|
code
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Alignment of a System.Web.UI.WebControls.Image objectWhen 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. Use "AbsMiddle".
btw, are you using 1.1 or 2.0? -- Cheers, Gaurav Vaish http://mastergaurav.blogspot.com http://mastergaurav.org ------------------------ 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 Show quoteHide quote "Nathan Sokalski" <njsokal***@hotmail.com> wrote in message news:uZdv9Z$aFHA.3040@TK2MSFTNGP14.phx.gbl... > 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. > -- > Nathan Sokalski > njsokal***@hotmail.com > http://www.nathansokalski.com/ > >
03 dropdownlist selectedindexchanged not firing in usercontrol on
Can assign multiple keys to datkeys of datagrid Question about IE Web Controls Toolbar. Displaying label at runtime MasterPages in ASP.NET 2.0 Need a list of radiobuttons with a specfic format textbox postback Div and code behind on click event Iterate TreeView element with 'disabled' property doesnt exist for form processing ? |
|||||||||||||||||||||||