HighDots Forums  

select+class+opera 7.23 problem

Cascading Style Sheets Layout/presentation on the WWW (comp.infosystems.www.authoring.stylesheets)


Discuss select+class+opera 7.23 problem in the Cascading Style Sheets forum.



Reply
 
Thread Tools Display Modes
  #11  
Old   
Cezar
 
Posts: n/a

Default Re: select+class+opera 7.23 problem - 07-19-2004 , 05:34 PM






Quote:
IE and Mozilla allow color and background-color on option. Opera does not
AFAIK.
So, there isn't any way to solve it. It's a pity :-(

Cezar




Reply With Quote
  #12  
Old   
Cezar
 
Posts: n/a

Default Re: select+class+opera 7.23 problem - 07-19-2004 , 05:39 PM






Quote:
I think you better ask that in alt.html.critique (but they'll
look at your code too!) or in
comp.infosystems.www.authoring.site-design.
Thank You. I'll go there.

Cezar




Reply With Quote
  #13  
Old   
Harlan Messinger
 
Posts: n/a

Default Re: select+class+opera 7.23 problem - 07-19-2004 , 06:46 PM



"Cezar" <cezaryk (AT) imail (DOT) net.pl> wrote:

Quote:
Hi!.

I have this simple class:

.red {
color:#900;
}

Bad idea. The whole idea of CSS is to keep the presentation out of the
content. If you're going to call a class "red", then you're going to
have tags in your HTML with

class="red"

which means you're specifying the color in the HTML. Then, if you
decide you want to change the color, you'll have to change the CSS to

.red { color: #009; }

which will look silly, and then you'll change

class="red"

to

class = "blue"

everywhere in your HTML document.

You ought to name the class according to its *function*, whether it's
"errortext" or "warning" or "molecular-formula" or "ingredient-list"
or whatever.


Quote:
and using with <select class="red"....
IE, FF interpreting correctly, but Opera not. Show only gray texts. Why ?

Cezar


--
Harlan Messinger
Remove the first dot from my e-mail address.
Veuillez ๔ter le premier point de mon adresse de courriel.


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.