Draft for Information Only
Content
CSS Pictures Arrangement in a Box Examples Pictures Arrangement in a Box Examples
CSS Pictures Arrangement in a Box Examples
Pictures Arrangement in a Box Examples
- Pictures Arrangement in a Box Example 1: Center a Picture in a Box last updated 4Sep2016
CSS Code Input:<div style="width:500px; height:auto; border:1px solid blue; background-color:#E0FFFF; margin:5px 0; padding:5px; font:normal normal normal 16px/1.1 sans-serif;text-decoration:none ">
<img style="display:block; margin:0 auto; border-width:0px; width:150px; height:auto;" src="./../images/pic1.jpg" alt="Pic1" />
</div>
HTML Web Page In-line Output:
- Pictures Arrangement in a Box Example 1: Center 2 Pictures in a Box Horizontally last updated 4Sep2016
CSS Code Input:<div style="text-align:center; width:500px; height:auto; border:1px solid blue; background-color:#E0FFFF; margin:5px 0; padding:5px; font:normal normal normal 16px/1.1 sans-serif;text-decoration:none ">
<img style="display:inline; border-width:0px; height:200px" src="./../images/pic1.jpg" alt="Pic1" />
<img style="display:inline; border-width:0px; height:200px" src="./../images/pic2.jpg" alt="Pic2" />
</div>
HTML Web Page In-line Output:
- Pictures Arrangement in a Box Example 1: Center 2 Pictures in a Box Vertically last updated 4Sep2016
CSS Code Input:<div style="width:500px; height:auto; border:1px solid blue; background-color:#E0FFFF; margin:5px 0; padding:5px; font:normal normal normal 16px/1.1 sans-serif;text-decoration:none ">
<img style="display:block; margin:0 auto; border-width:0px; width:150px" src="./../images/pic1.jpg" alt="Pic1" />
<img style="display:block; margin:0 auto; border-width:0px; width:150px" src="./../images/pic2.jpg" alt="Pic2" />
</div>
HTML Web Page In-line Output:
©sideway
ID: 160900006 Last Updated: 9/4/2016 Revision: 0 Ref:
References
- http://www.w3.org/TR/1999/REC-html401-1999, 1999, HTML 4.01 Specification: W3C Recommendation, updated 24 December 1999
|
|