Connecting Tech Pros Worldwide Help | Site Map

alternating colors in a DropDown/List Box

  #1  
Old July 20th, 2005, 05:08 PM
Sarah Haff
Guest
 
Posts: n/a
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.
  #2  
Old July 20th, 2005, 05:08 PM
Jukka K. Korpela
Guest
 
Posts: n/a

re: alternating colors in a DropDown/List Box


sarah_haff@hotmail.com (Sarah Haff) wrote:
[color=blue]
> Is it possible to have alternating color font for DropDown/List box
> in html?[/color]

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

  #3  
Old July 20th, 2005, 05:08 PM
Jukka K. Korpela
Guest
 
Posts: n/a

re: alternating colors in a DropDown/List Box


sarah_haff@hotmail.com (Sarah Haff) wrote:
[color=blue]
> Is it possible to have alternating color font for DropDown/List box
> in html?[/color]

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

  #4  
Old July 20th, 2005, 05:08 PM
Peter Ossmann
Guest
 
Posts: n/a

re: alternating colors in a DropDown/List Box


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


  #5  
Old July 20th, 2005, 05:08 PM
Thor Kottelin
Guest
 
Posts: n/a

re: alternating colors in a DropDown/List Box




Peter Ossmann wrote:
[color=blue]
> 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.[/color]

Mercury Interactive SiteScope.

Thor

--
http://thorweb.anta.net/
  #6  
Old July 20th, 2005, 05:08 PM
Nick Kew
Guest
 
Posts: n/a

re: alternating colors in a DropDown/List Box


In article <3f7ec67a$0$25147$9b4e6d93@newsread2.arcor-online.net>, one of infinite monkeys
at the keyboard of "Peter Ossmann" <thrym@gmx.net> wrote:
[color=blue]
> but I havenīt found any tool that can handle
> login-forms and popup windows yet.[/color]

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.
[color=blue]
> 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.[/color]

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
  #7  
Old July 20th, 2005, 05:08 PM
Peter Ossmann
Guest
 
Posts: n/a

re: alternating colors in a DropDown/List Box


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" <thor@anta.net> schrieb im Newsbeitrag
news:3F7ECCA5.14EB625E@anta.net...[color=blue]
>
>
> Peter Ossmann wrote:
>[color=green]
> > I am looking for a program that checks for broken links on a webpage (I[/color][/color]
know[color=blue][color=green]
> > there are many of these tools) but I havenīt found any tool that can[/color][/color]
handle[color=blue][color=green]
> > login-forms and popup windows yet.[/color]
>
> Mercury Interactive SiteScope.
>
> Thor
>
> --
> http://thorweb.anta.net/[/color]


Closed Thread