Switch to full style
HTML code examples
Post a reply

simple example for fixed image

Fri Feb 17, 2012 4:29 pm

Following is a simple example for fixed image size.
Code:
<html>
    <head>
        <title>Fixed image size</title>
        <style rel='stylesheet' type='text/css'>
img.fixedSize {
    width: 500px;
    height: 500px;
    border: 2px dashed red;
    margin: 2px;
}
        </style>
    </head>
    <body>
         <center>
          <p>
          Fixed image size example.
          </p>
          
           
<img src='site_logo.gif' class='fixedSize' />
         </center>
    </body>
</
html>

 




Post a reply
  Related Posts  to : simple example for fixed image
 Fixed Space Using imageTTFbbox()     -  
 static vs fixed div position     -  
 (3.0.4) Skymiles Setting Fixed WIDTH     -  
 Fixed Quantity Inventory model Simulator (C++)     -  
 Image-Viewer-Image Processing-Filters-Noise-enhancements     -  
 Move image in front of a background image     -  
 different between cfa image and gray level image     -  
 Simple Calculator     -  
 OpenGl simple example     -  
 Simple animation     -  

Topic Tags

HTML Image