Total members 11372 |It is currently Sat Nov 01, 2014 9:36 am Login / Join Codemiles

Java

C/C++

PHP

C#

HTML

CSS

ASP

Javascript

JQuery

AJAX

XSD

Python

Matlab

R

All times are UTC [ DST ]



  vertical align of the image
Wed Feb 15, 2012 11:52 pm 

Following is an example of changing the vertical alignment of the image.
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" 
 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
   <html>
        <head>
            <title>image vetical align</title>
            <style type='text/css'>
        p {
      
          
            padding
: 0px;
            border: 1px solid black;
          
        
}
        img {
            vertical-align: 100%;
        }
            </style>
        </head>
        <body>
           <p>
          Notice the image vetical align <img src='site_logo.gif'/> 
          
      
</p>
        </body>
    </html>
 


_________________
Please recommend / share my post if you found it helpful.


Author:
Mastermind
User avatar Posts: 2694
Have thanks: 73 time
Post new topic Reply to topic  [ 1 post ] 

  Related Posts  to : vertical align of the image
 set text align to justify     -  
 vertical alignment of span tag     -  
 Adding vertical array in java     -  
 Image-Viewer-Image Processing-Filters-Noise-enhancements     -  
 Move image in front of a background image     -  
 different between cfa image and gray level image     -  
 PNG image to the image you generated     -  
 put image in asp.net     -  
 Image I/O library     -  
 Get Brightness value from key image.....     -  

All times are UTC [ DST ]



Topic Tags

HTML Image






Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
All copyrights reserved to codemiles.com 2007-2011
mileX v1.0 designed by codemiles team