Brilliant html and css

Page 211

M11_BRAN1529_01_SE_C11.QXD:BRILLIANT

Setting width and height (Percentage) (cont.)

200

30/1/09

10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32

10:46

Page 200

p#b {background-color:white;color:blue; border-style:solid;border-width: 2px;border-color:blue;width:50%; height:25%} p#c {background-color:white;color:green; border-style:solid;border-width:2px; border-color:green;} div#d {width:50%;height:50%;borderstyle:dotted;border-width:2px; bordercolor:black;} img {width:75%} </style> </header> <body> <img src="./system.png" width="128" height="128"/> <p id="a">Blue</p> <div id="d"> <p id="b">Green</p> <p id="c">Red</p> <div> </body> </html>


Issuu converts static files into: digital portfolios, online yearbooks, online catalogs, digital photo albums and more. Sign up and create your flipbook.