![]() |
|
|||
|
With the width-property, you can define a certain width of an element.
div.box { width: 100px; border: 2px black; background: green; } Setting the height div.box { height: 300px; width: 100px; border: 1px grey; background: red; } |
![]() |
| Thread Tools | |
| Display Modes | |
|
|