Margin with three values
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns='http://www.w3.org/1999/xhtml' xml:lang='en'> <head> <title>margin</title> <style rel='stylesheet' type='text/css'> div#wrapper { background: yellow; border: 1px solid #fff; margin: -1px; width: 112px; } div.margin { width: 100px; height: 100px; background: pink; border: 1px solid pink; } div#top-rightleft-bottom { margin-top: 15px; margin-right: 5px; margin-bottom: 10px; margin-left: 5px; } div#top-rightleft-bottom-1 { margin: 15px 5px 10px; } </style> </head> <body> <div id='wrapper'> <div id='top-rightleft-bottom' class='margin'></div> <div id='top-rightleft-bottom-1' class='margin'></div> </div> </body> </html>
|
|
|
|
|
HTML code for linking to this page:
Related in same category :
-
-
-
-
-
-
|