Click here to Skip to main content
15,890,282 members
Home / Discussions / Web Development
   

Web Development

 
Questiondefining a "color table" in CSS ? Pin
BillWoodruff6-Jun-10 17:25
professionalBillWoodruff6-Jun-10 17:25 
AnswerRe: defining a "color table" in CSS ? Pin
Peace ON6-Jun-10 22:17
Peace ON6-Jun-10 22:17 
GeneralRe: defining a "color table" in CSS ? Pin
BillWoodruff7-Jun-10 15:07
professionalBillWoodruff7-Jun-10 15:07 
AnswerRe: defining a "color table" in CSS ? Pin
Dalek Dave6-Jun-10 22:35
professionalDalek Dave6-Jun-10 22:35 
GeneralRe: defining a "color table" in CSS ? Pin
BillWoodruff7-Jun-10 15:11
professionalBillWoodruff7-Jun-10 15:11 
GeneralRe: defining a "color table" in CSS ? Pin
Not Active7-Jun-10 16:28
mentorNot Active7-Jun-10 16:28 
GeneralRe: defining a "color table" in CSS ? Pin
BillWoodruff7-Jun-10 17:01
professionalBillWoodruff7-Jun-10 17:01 
AnswerRe: defining a "color table" in CSS ? Pin
BillWoodruff7-Jun-10 17:06
professionalBillWoodruff7-Jun-10 17:06 
Andrew, an up and coming CSS/HTML JavaScript guru, at ITNewB[^], kindly responded to my sending him a link to this thread with the following comment :

... quoted with permission ... ITNewb is not a "commercial" site ...

"I do see the problem you're having. We can't assign a class to the property portion of an attribute. You can of course apply multiple classes to an element by doing class="class1 class2" and so forth.

Generally speaking, you're still going to have to assign a class to the anchors by one means or another. Sure, you could write big complex selectors but they're quite inefficient.

Try to keep your selectors to no more than two (eg- .box .anchor {}). CSS selectors are parsed from right to left, not left to right. As to how you get those classes applied to your actual anchor elements is up to you.

Also remember the vertical position of your classes matter. Generally, if class B is defined after class A, class B may overwrite properties in class A (such as color etc) which can be useful."

Andrew has some very good articles on things like doing transparent fades in JavaScript using cross-browser techniques[^], etc.

best, Bill
"Many : not conversant with mathematical studies, imagine that because it [the Analytical Engine] is to give results in numerical notation, its processes must consequently be arithmetical, numerical, rather than algebraical and analytical. This is an error. The engine can arrange and combine numerical quantities as if they were letters or any other general symbols; and it fact it might bring out its results in algebraical notation, were provisions made accordingly." Ada, Countess Lovelace, 1844

GeneralRe: defining a "color table" in CSS ? Pin
Dalek Dave7-Jun-10 21:39
professionalDalek Dave7-Jun-10 21:39 
QuestionProblem with html table Pin
Aljaz1115-Jun-10 5:45
Aljaz1115-Jun-10 5:45 
AnswerRe: Problem with html table Pin
Yusuf6-Jun-10 0:49
Yusuf6-Jun-10 0:49 
AnswerRe: Problem with html table Pin
enhzflep6-Jun-10 2:19
enhzflep6-Jun-10 2:19 
QuestionLogin form not working Pin
Gjm4-Jun-10 21:33
Gjm4-Jun-10 21:33 
AnswerRe: Login form not working Pin
Yusuf6-Jun-10 0:54
Yusuf6-Jun-10 0:54 
QuestionCrystal Report in IE8 Pin
PunkIsNotDead4-Jun-10 8:13
PunkIsNotDead4-Jun-10 8:13 
QuestionHow to connect to Ms Access Database? Pin
mdrizwan_12-Jun-10 1:33
mdrizwan_12-Jun-10 1:33 
AnswerRe: How to connect to Ms Access Database? Pin
walterhevedeich2-Jun-10 1:55
professionalwalterhevedeich2-Jun-10 1:55 
GeneralRe: How to connect to Ms Access Database? Pin
mdrizwan_12-Jun-10 2:20
mdrizwan_12-Jun-10 2:20 
GeneralRe: How to connect to Ms Access Database? Pin
walterhevedeich2-Jun-10 15:30
professionalwalterhevedeich2-Jun-10 15:30 
QuestionConvert pull method report to push [modified] Pin
VB.Net Developer1-Jun-10 2:59
VB.Net Developer1-Jun-10 2:59 
AnswerRe: Convert pull method report to push Pin
Not Active1-Jun-10 3:05
mentorNot Active1-Jun-10 3:05 
GeneralRe: Convert pull method report to push Pin
VB.Net Developer1-Jun-10 3:07
VB.Net Developer1-Jun-10 3:07 
GeneralRe: Convert pull method report to push Pin
Not Active1-Jun-10 3:15
mentorNot Active1-Jun-10 3:15 
QuestionRDLC culture problem Pin
jeffrey kalampukattussery31-May-10 23:26
jeffrey kalampukattussery31-May-10 23:26 
QuestionDatabase logon error for crystal report... Pin
VB.Net Developer31-May-10 20:29
VB.Net Developer31-May-10 20:29 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.