Vertical Alignment of RadioButtonList

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.
 
V

vinu

HI,

Change the RepeatDirection="Horizontal" to "Vertical"

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

regards
 
G

Guest

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.
 
V

vinu

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.
 

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

Top