i'm new html , css. trying place div wide image @ top center of page , have div image left of wide image, need center between left side of image , edge of page.
i have center div...
{ width: auto; height: auto; margin: 0 auto; padding: 10px; position: relative; border: 1px solid black; width: 950px;}
i need other image center between left side of image , edge of page.
having div within div simple need have separate id each of them show how do.
<head> <style type="text/css> div#div1 { width:100%; //this big div example { div#div2 { width:30%; //this big div example float: left; //this makes div stick left side of div. code should this. { </style> </head> <body> <div id="div1"> <div id="div2"> </div> </div> </body>
Comments
Post a Comment