Switch to full style
HTML code examples
Post a reply

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>
 




Post a reply
  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 compression     -  
 Put image in JPanel     -  

Topic Tags

HTML Image