![]() | |
![]() |
| | Thread Tools | Display Modes |
#21
| |||
| |||
|
|
When I declare on HTML page LINK href="mycss.css" type="text/css" rel=stylesheet / ... BODY class=myclass in mycss.css BODY { FONT-WEIGHT: bold; FONT-SIZE: 12px; FONT-FAMILY: Arial, Geneva; background-image: url(images/back.jpg); } BODY.myclass { FONT-WEIGHT: bold; FONT-SIZE: 15px; FONT-FAMILY: Arial, Geneva; background-color: #777777; } ... the background-color in the second declaration is NOT taken but the "normal" background image back.jpg is used for the background. How do I get #777777 as background-color ? |
#22
| |||
| |||
|
#23
| |||
| |||
|
|
When I declare on HTML page LINK href="mycss.css" type="text/css" rel=stylesheet / ... BODY class=myclass in mycss.css BODY { FONT-WEIGHT: bold; FONT-SIZE: 12px; FONT-FAMILY: Arial, Geneva; background-image: url(images/back.jpg); } BODY.myclass { FONT-WEIGHT: bold; FONT-SIZE: 15px; FONT-FAMILY: Arial, Geneva; background-color: #777777; } ... the background-color in the second declaration is NOT taken but the "normal" background image back.jpg is used for the background. How do I get #777777 as background-color ? |
#24
| ||||
| ||||
|
|
BODY { FONT-WEIGHT: bold; FONT-SIZE: 12px; FONT-FAMILY: Arial, Geneva; background-image: url(images/back.jpg); } BODY.myclass { FONT-WEIGHT: bold; FONT-SIZE: 15px; FONT-FAMILY: Arial, Geneva; background-color: #777777; } |
|
the background-color in the second declaration is NOT taken |
|
but the "normal" background image back.jpg is used for the background. |
|
How do I get #777777 as background-color ? |
#25
| |||
| |||
|
|
When I declare on HTML page LINK href="mycss.css" type="text/css" rel=stylesheet / ... BODY class=myclass in mycss.css BODY { FONT-WEIGHT: bold; FONT-SIZE: 12px; FONT-FAMILY: Arial, Geneva; background-image: url(images/back.jpg); } BODY.myclass { FONT-WEIGHT: bold; FONT-SIZE: 15px; FONT-FAMILY: Arial, Geneva; background-color: #777777; } ... the background-color in the second declaration is NOT taken but the "normal" background image back.jpg is used for the background. How do I get #777777 as background-color ? Kevin |
![]() |
| Thread Tools | |
| Display Modes | |
| |