473,766 Members | 2,180 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Vertical Alignment of RadioButtonList

WB
Hi,

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

<asp:RadioButto nList 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 11431
HI,

Change the RepeatDirection ="Horizontal " to "Vertical"

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

regards

"WB" <WB@discussions .microsoft.com> wrote in message
news:E5******** *************** ***********@mic rosoft.com...
Hi,

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

<asp:RadioButto nList 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:RadioButton List ID="RblProducts " runat="server" CssClass="text"
RepeatColumns=" 4" RepeatDirection ="Vertical" /

regards

"WB" <WB@discussions .microsoft.com> wrote in message
news:E5******** *************** ***********@mic rosoft.com...
Hi,

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

<asp:RadioButto nList 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******** *************** ***********@mic rosoft.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:RadioButton List ID="RblProducts " runat="server" CssClass="text"
RepeatColumns=" 4" RepeatDirection ="Vertical" /

regards

"WB" <WB@discussions .microsoft.com> wrote in message
news:E5******** *************** ***********@mic rosoft.com...
> Hi,
>
> I have a RadioButtonList that display a table of my products like so:
>
> <asp:RadioButto nList 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
30910
by: abracad | last post by:
Hi Is it possible to vertically align an image in the middle of a DIV of fixed height?
10
66046
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" height="29" alt="Wir schreiben die Geschichte Ihres Unternehmens."></div>
3
4285
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; background: transparent; color: #000099;
1
7901
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 100% and vertically center content inside of it. Therefore, I'm seeking a way, preferably in CSS to vertically center a site. Here's more of a visual to what I have: /********************************
5
10060
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 help would be great. Thanks!
6
7873
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: http://www.westmidlandbirdclub.com/diary/ Thank you. --
11
19229
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
3553
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: body { font-family: Trebuchet MS, Arial; cursor : default; background:#000000 url("Images/long-template.jpg"); background-repeat:no-repeat; background-position: center; background-attachment:scroll; height: 1228px;
13
1662
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 figure how to have IE7 work. Why? How can I have it work in all 3 browsers? http://nrap.selfip.com
0
9571
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10168
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10009
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9959
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9838
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8835
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6651
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
2
3532
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2806
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.