Professional Web Applications Themes

CSS Image Padding issue - HTML & CSS

Hey folks, Just putting some css on some images and noticed that on my own new website a 5px bottom padding works fine but when i try to do it on another site i'm building nothing changes. Doing nothing different to my site so i'm buggered if i know where i'm going wrong. Anything to do with tables or anything? Cheers...

  1. #1

    Default CSS Image Padding issue

    Hey folks,

    Just putting some css on some images and noticed that on my own new website a 5px bottom padding works fine but when i try to do it on another site i'm building nothing changes. Doing nothing different to my site so i'm buggered if i know where i'm going wrong.

    Anything to do with tables or anything?

    Cheers
    trytertqwr is offline Banned
    Join Date
    Aug 2011
    Posts
    23

  2. #2

    Default Re: CSS Image Padding issue

    Another CSS style may be overriding it. Double check your CSS styles if any other rule is overriding its properties. Try changing the padding using Chrome developer tools and see what all styles the image is inheriting.
    Ravish is offline S U P E R U S E R
    Join Date
    Aug 2006
    Location
    Internet
    Posts
    21

  3. #3

    Default Re: CSS Image Padding issue

    Chrome developer tools help a lot with this as Ravish mentioned.

    If you want to check if another element is overriding just put !important in your padding code

    i.e .image {padding-bottom:5px !important;}

    If that works then it is another element overriding.
    Jim Eisenhauer is offline Junior Member
    Join Date
    Aug 2011
    Posts
    4

Similar Threads

  1. Image Path Through A XML File Issue
    By apocalipsis19 in forum Macromedia Flash Data Integration
    Replies: 1
    Last Post: March 18th, 06:35 PM
  2. Random Image PHP Scipt Issue
    By surfstoke in forum Macromedia Dynamic HTML
    Replies: 0
    Last Post: September 19th, 04:06 PM
  3. Image::Magick and padding of image
    By Lars Haugseth in forum PERL Modules
    Replies: 0
    Last Post: February 5th, 07:17 PM
  4. Printing image issue
    By vnative webforumsuser@macromedia.com in forum Macromedia Freehand
    Replies: 7
    Last Post: January 17th, 03:42 AM
  5. Image issue
    By Sam Poikail in forum Macromedia Fireworks
    Replies: 2
    Last Post: August 4th, 06:02 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139