473,320 Members | 1,965 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,320 software developers and data experts.

alternating colors in a DropDown/List Box

Hello All,

Is it possible to have alternating color font for DropDown/List box in
html?

I have an FatClient application written in C, and I am trying to
webify it. The application uses alternative color fonts in a
dropdown/list box. So I was hoping to do the same for the web
application.

Thanks.
Sarah.
Jul 20 '05 #1
6 15615
sa********@hotmail.com (Sarah Haff) wrote:
Is it possible to have alternating color font for DropDown/List box
in html?


No. But you can use CSS, with the usual caveats, and this in turn
requires some modifications to HTML, since otherwise you cannot
indicate which <option> elements are to be styled.

For example, add class="even" to the 2nd, 4th, etc. <option>

--
Yucca, http://www.cs.tut.fi/~jkorpela/
Pages about Web authoring: http://www.cs.tut.fi/~jkorpela/www.html

Jul 20 '05 #2
sa********@hotmail.com (Sarah Haff) wrote:
Is it possible to have alternating color font for DropDown/List box
in html?


No. But you can use CSS, with the usual caveats, and this in turn
requires some modifications to HTML, since otherwise you cannot
indicate which <option> elements are to be styled.

For example, add class="even" to the 2nd, 4th, etc. <option> element
and use
..even { color: black; background: #ffc; }
in CSS.

--
Yucca, http://www.cs.tut.fi/~jkorpela/
Pages about Web authoring: http://www.cs.tut.fi/~jkorpela/www.html

Jul 20 '05 #3
Hello All,

I am looking for a program that checks for broken links on a webpage (I know
there are many of these tools) but I haven´t found any tool that can handle
login-forms and popup windows yet.

Scenario: The Program shall open the site www.example.com , "click" on a
login link, insert the login information and keep the cookie while searching
for the broken links.

P.S It doesn´t matter if its freeware, shareware or "regular" paysoft.

Thanks for your help in advance!

Peter Ossmann
Jul 20 '05 #4


Peter Ossmann wrote:
I am looking for a program that checks for broken links on a webpage (I know
there are many of these tools) but I haven´t found any tool that can handle
login-forms and popup windows yet.


Mercury Interactive SiteScope.

Thor

--
http://thorweb.anta.net/
Jul 20 '05 #5
In article <3f***********************@newsread2.arcor-online.net>, one of infinite monkeys
at the keyboard of "Peter Ossmann" <th***@gmx.net> wrote:
but I haven´t found any tool that can handle
login-forms and popup windows yet.
it would be wrong for any general-purpose spidering tool to submit a Form.

But if by the above you mean submit Basic Authentication credentials, it's a
one-line change to Link Valet - or (probably) any other program that uses LWP.
Scenario: The Program shall open the site www.example.com , "click" on a
login link, insert the login information and keep the cookie while searching
for the broken links.


Cookie? Sounds like you have a proprietary login system. More details
needed for a meaningful reply.

--
Nick Kew

In urgent need of paying work - see http://www.webthing.com/~nick/cv.html
Jul 20 '05 #6
Thanks Thor!

This was exactly what I was looking for! I an using "quick test" for quite a
while now, I should have found that prog myself ;)

Big thanks again!

"Thor Kottelin" <th**@anta.net> schrieb im Newsbeitrag
news:3F***************@anta.net...


Peter Ossmann wrote:
I am looking for a program that checks for broken links on a webpage (I know there are many of these tools) but I haven´t found any tool that can handle login-forms and popup windows yet.


Mercury Interactive SiteScope.

Thor

--
http://thorweb.anta.net/

Jul 20 '05 #7

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

Similar topics

12
by: LRW | last post by:
Is there some way to make a table have alternating colors for rows when you're generating the table data with a WHILE statement? You know, row 1 has a gray BG, row 2 is white, row 3 is gray, 4 is...
2
by: Ralph Snart | last post by:
Is there a way to alternate table row colors without using the position() mod 2 trick? I'm in a series of nested xsl:for-each elements, about 3 deep, and I want to alternate the table row color...
47
by: Matt Kruse | last post by:
http://www.mattkruse.com/temp/css_expressions.html One of the standard CSS questions is "how can I shade every other table row a different color with CSS?" The answers are usually 1) you can't...
0
by: Bob | last post by:
It appears to me that this control has the following different default colors: 1. a forecolor of black 2. a backcolor of white 3. When the dropdown arrow is selected the controls colors...
9
by: Max Weebler | last post by:
Hi, I have a datagrid built that has an alternating item style that sets the backcolor and ForeColor of its rows. I have 4 template columns. One of them has a LinkButton embedded in it to...
1
by: Steve Bottoms | last post by:
Hi, all! How does one prevent table cell background colors from alternating between grey and white? I've dropped a basic table control on an ASP.Net page (using VB.Net codebehind), and...
5
by: | last post by:
I'm making admin forms. I'm wondering if there is a way to have the server programmatically assign alternating colors in a regular table (not a datalist control). I notice ASP.NET 2 offers a...
3
by: Daniel Manes | last post by:
My DataGridView is set up like this: * Main row background color = white * Alternating row background color = light gray I also have a read-only (non-editable) column I want to show up as solid...
3
clintw
by: clintw | last post by:
Hi all, I've been doing my head in trying to get this to work, but I keep running into a snag. Basically I have a database table with a list of events for the year, with fields for Month, Event...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

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.