Vertical Alignment of RadioButtonList

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,

I have a RadioButtonList that display a table of my products like so:

<asp:RadioButtonList ID="RblProducts" runat="server" CssClass="text"
RepeatColumns="4" RepeatDirection="Horizontal" />

My products are shown in thumbnails and since these thumbnails have
different height, I'd like to be able to vertically align each cell of the
table to the top. I tried to add the attribute to the "text" CssClass or add

style="vertical-align: top;"

to the RadioButtonList but they don't work.

What can I do?


ywb.
 
HI,

Change the RepeatDirection="Horizontal" to "Vertical"

asp:RadioButtonList ID="RblProducts" runat="server" CssClass="text"
RepeatColumns="4" RepeatDirection="Vertical" /

regards
 
Hi vinu,

I would still like to list out the thumbnails horizontally (ie. in rows),
but I'd like each cell in the rows to vertically align to the top.


ywb.
 
Hi,

Please post your source code

vinu

WB said:
Hi vinu,

I would still like to list out the thumbnails horizontally (ie. in rows),
but I'd like each cell in the rows to vertically align to the top.


ywb.
 
Back
Top