Total members 11894 |It is currently Mon Nov 25, 2024 6:09 pm Login / Join Codemiles

Java

C/C++

PHP

C#

HTML

CSS

ASP

Javascript

JQuery

AJAX

XSD

Python

Matlab

R Scripts

Weka





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>
 




_________________
M. S. Rakha, Ph.D.
Queen's University
Canada


Author:
Mastermind
User avatar Posts: 2715
Have thanks: 74 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     -  
 Many links for the one image     -  
 Image compression     -  



Topic Tags

HTML Image
cron





Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
All copyrights reserved to codemiles.com 2007-2011
mileX v1.0 designed by codemiles team
Codemiles.com is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to Amazon.com