| View previous topic :: View next topic |
| Author |
Message |
froomzer
Joined: 23 May 2006 Posts: 148
|
Hi
If I in a <b class="blabla"> want to define a style too, which is identical to blabla *{} in the stylesheet-file, how would I have to do it? |
| |
|
|
|
|
PaulKolin
Joined: 25 May 2006 Posts: 108
|
| Urm, what |
| |
|
|
froomzer
Joined: 23 May 2006 Posts: 148
|
PaulKolin: y'know, like you can use this: <b class="blabla" style"background: #FF0000;"> but that defines background for the class "blabla". What I want to is with the style="" part to define the background of what in a normal stylesheet would be called ' blabla * {background: #FF0000;} '
How would I do that? |
| |
|
|
PaulKolin
Joined: 25 May 2006 Posts: 108
|
| B.blabla {} |
| |
|
|
froomzer
Joined: 23 May 2006 Posts: 148
|
| Aha, thanks:) |
| |
|
|
PaulKolin
Joined: 25 May 2006 Posts: 108
|
| Basic basic selectors. |
| |
|
|
froomzer
Joined: 23 May 2006 Posts: 148
|
Ok
PaulKolin, so, like <b class="blabla" style="b.backgroundcolor: #FF0000;"> ? Hm. something looks wrong there. |
| |
|
|
PaulKolin
Joined: 25 May 2006 Posts: 108
|
| Ug. not at all |
| |
|
|
froomzer
Joined: 23 May 2006 Posts: 148
|
| That's what I thought. |
| |
|
|
PaulKolin
Joined: 25 May 2006 Posts: 108
| |
| Page 1 of 3 |
Goto page 1, 2, 3 Next |
|
|