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 5 of 5
  1. #1
    Member
    Join Date
    Aug 2006
    Posts
    67
    Member #
    13752
    Hi there! another easy one proberbly!
    I have text wrapping around an image. However the text goes right up to the image. Without having to edit the image in photoshop, how can i simply add padding to the image?
    thanks all!

  2.  

  3. #2
    Senior Member Arkette's Avatar
    Join Date
    Jan 2006
    Location
    Europe
    Posts
    102
    Member #
    12297
    why not set a margin?
    End of Line.

  4. #3
    Senior Member Karloff's Avatar
    Join Date
    Oct 2005
    Posts
    744
    Member #
    11702
    i'd go with using a maring as well but just change the following code to margin or padding. what ever works best.

    CSS
    Code:
    #img {margin : 5px;
              padding : 0;}
    HTML
    HTML Code:
    img src="whatever.gif"/>
    think that should work:classic:

  5. #4
    Senior Member karinne's Avatar
    Join Date
    Dec 2003
    Location
    Aylmer QC Canada
    Posts
    1,607
    Member #
    4335
    Liked
    8 times
    Go with Arkette and Karloff on this one.

    alonzo: vspace and hspace are deprecated attributes. CSS should be used instead.
    [a web design portfolio - Currently NOT AVAILABLE for work | web design | Re-coding | PSD-to-HTML]
    I'm also on: virb - facebook - twitter - flickr - del.icio.us

  6. #5
    Member
    Join Date
    Aug 2006
    Posts
    67
    Member #
    13752
    thanks for your help guys! sorted now!


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
  •  

Search tags for this page

how to put padding around an image

,

how to put padding on an image css

Click on a term to search for related topics.
All times are GMT -6. The time now is 11:19 AM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com