This is a discussion on "Substyle" within the Web Page Design section. This forum, and the thread "Substyle are both part of the Design Your Website category.
|
|
|
|
|
![]() |
||
Substyle
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
Substyle
Say for example I want to make a DIV tag, and have all the images inside that DIV have a red border, but not affect the border of the images outside the DIV then what's the syntax for that?
If the DIV has ID="sample" would it be something like #sample.IMG {border:red;} ? |
|
|
|
|||
|
exactly that, but without the .
#sample img { border: 1px solid red; } |
![]() |
| Tags |
| substyle |
| Thread Tools | |
|
|