AsegGasiaBlog

CSS Part 9

The Image Width property
CSS plays a good role to control image display. You can set the following image properties using CSS.
  • The border property is used to set the width of an image border.
  • The height property is used to set the height of an image.
  • The width property is used to set the width of an image.
  • The -moz-opacity property is used to set the opacity of an image.

Example :


<html>
      <head>
       </head>
       <body>
            <img style="border:0px;" src="/programming_Hub.png" />
            </br>
            <img style="border:3px dashed red;" src="/programming_Hub.png"  />
         </body>;
</html>

Output :

Popular Posts