Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 3 of 3
  1. #1
    Junior Member
    Join Date
    Jan 2010
    Posts
    2
    Member #
    20768
    hi frends,i am using img tag to palce a image on my webpage.in img tab i am using hspace attribute to set the horizontal space.but what i want is to set the space only to the left of the pic and not on the right side.As with hspace the space is set on the both sides of pic.how could i achieve that.plz help

  2.  

  3. #2
    WDF Staff mlseim's Avatar
    Join Date
    Apr 2004
    Location
    Cottage Grove, Minnesota
    Posts
    7,693
    Member #
    5580
    Liked
    717 times
    Example of using "inline CSS" for styling a particular tag ...

    <img src="myimage.gif" alt="tooltip" title="tooltip" style="padding-left:50px;" />


  4. #3
    Senior Member Dorky's Avatar
    Join Date
    Jun 2009
    Location
    Destin Florida
    Posts
    1,430
    Member #
    19103
    Liked
    4 times
    i would use margin, incase you decide to put a bg behind the img down the road and padding will be filled with bg properties as margin will not.

    while($get_it !== true){ continue; }


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 06:45 AM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com