473,382 Members | 1,791 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,382 software developers and data experts.

Vertical Alignment of RadioButtonList

WB
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.
Feb 16 '06 #1
3 11409
HI,

Change the RepeatDirection="Horizontal" to "Vertical"

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

regards

"WB" <WB@discussions.microsoft.com> wrote in message
news:E5**********************************@microsof t.com...
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.

Feb 16 '06 #2
WB
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.
"vinu" wrote:
HI,

Change the RepeatDirection="Horizontal" to "Vertical"

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

regards

"WB" <WB@discussions.microsoft.com> wrote in message
news:E5**********************************@microsof t.com...
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.


Feb 16 '06 #3
Hi,

Please post your source code

vinu

"WB" <WB@discussions.microsoft.com> wrote in message
news:57**********************************@microsof t.com...
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.
"vinu" wrote:
HI,

Change the RepeatDirection="Horizontal" to "Vertical"

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

regards

"WB" <WB@discussions.microsoft.com> wrote in message
news:E5**********************************@microsof t.com...
> 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.


Feb 17 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
by: abracad | last post by:
Hi Is it possible to vertically align an image in the middle of a DIV of fixed height?
10
by: Markus Ernst | last post by:
Hi I have a strange problem with vertical-align. The case can be viewed at http://www.brainput.info/geschichte.html. HTML code: <div id="bild"><img src="geschichte.gif" width="274"...
3
by: Frank Wheeler | last post by:
Why am I unable to attain proper vertical alignment between a DIV and a TABLE here: http://www.whbvillage.com/agenda-archives/agendex.html The DIV is coded: <DIV style="float: left;...
1
by: Kenneth | last post by:
Okay, I've been scouring Google for hours looking for a solution to this problem, but as of yet I can't find one. XHTML Transitional seems to specify that I can no longer set a table's height to...
5
by: Rico | last post by:
I have label that I need to be vertical. The problem is that when I select "Vertical=yes" the label reads from top to bottom rather than bottom to top (which i need). Can this be done? Any...
6
by: Andy Mabbett | last post by:
Please can someone remind me of the most elegant fix for the way Firefox fails to vertically align cell content by default? For example, the second event on: ...
11
by: C.W.Holeman II | last post by:
I what to hide an input element and the following text. I have the selector for the input working and just need to grab the text following it. CSS: form{ display:table; text-align:center; }
8
by: ayamopamo | last post by:
Hi- I am trying to center a web page. It seems like this should be very simple to do, but apparently it isn't my day. I have successfully centered the background by calling it in the css body tag:...
13
by: Bill | last post by:
Hi How can I have IE7 act correctly on that ? The rules make the link text go down when hovered. It works in FF , I had to add a hard space right after the LI tag to have OP9 work but I can't...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.