6 Replies - 594 Views - Last Post: 17 August 2008 - 02:24 PM

#1 musya  Icon User is offline

  • D.I.C Lover
  • member icon

Reputation: 11
  • View blog
  • Posts: 1,012
  • Joined: 25-April 07

Img tag being stupid again

Posted 14 August 2008 - 03:35 PM

so i have this image tag in place
<img src="images/bottom_images/bottom.jpg" border="0" alt="Prosser" title="Prosser" width="800" height="136" vspace="0" hspace="0"/>



and i get padding and spacing, and in my css for the site i defined a genral img tag like so
img
{
padding:0px;
}



odly though even if i put a background image their, it creates spacing but only 1 px of padding or something and i dont know where its coming from.

Any help would be greatly appreciated thanks guys. if you need my row code just let me know, but its deisinged for joomla i warn you. ;)

This post has been edited by musya: 14 August 2008 - 03:44 PM


Is This A Good Question/Topic? 0
  • +

Replies To: Img tag being stupid again

#2 PsychoCoder  Icon User is offline

  • Google.Sucks.Init(true);
  • member icon

Reputation: 1641
  • View blog
  • Posts: 19,853
  • Joined: 26-July 07

Re: Img tag being stupid again

Posted 14 August 2008 - 03:43 PM

Well if this CSS is straight from your CSS file it's wrong. This

img
{
padding:opx;
}



Should be

img
{
padding:0px;
}



In the code you pasted you have a o not a 0 (zero)
Was This Post Helpful? 0
  • +
  • -

#3 musya  Icon User is offline

  • D.I.C Lover
  • member icon

Reputation: 11
  • View blog
  • Posts: 1,012
  • Joined: 25-April 07

Re: Img tag being stupid again

Posted 14 August 2008 - 03:48 PM

Yea I caught that but not that wasn't straight from my css I wrote that just now.
Was This Post Helpful? 0
  • +
  • -

#4 musya  Icon User is offline

  • D.I.C Lover
  • member icon

Reputation: 11
  • View blog
  • Posts: 1,012
  • Joined: 25-April 07

Re: Img tag being stupid again

Posted 14 August 2008 - 04:17 PM

okay so I figured out the other issues, but their still is a line of padding on the bottom of the image.
Was This Post Helpful? 0
  • +
  • -

#5 BenignDesign  Icon User is offline

  • holy shitin shishkebobs
  • member icon




Reputation: 6167
  • View blog
  • Posts: 10,650
  • Joined: 28-September 07

Re: Img tag being stupid again

Posted 15 August 2008 - 12:24 AM

Could the line of padding at the bottom be coming from whatever is positioned BENEATH the image??
Was This Post Helpful? 0
  • +
  • -

#6 Zumiic  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 14
  • Joined: 20-November 07

Re: Img tag being stupid again

Posted 15 August 2008 - 12:40 AM

View PostBenignDesign, on 15 Aug, 2008 - 12:24 AM, said:

Could the line of padding at the bottom be coming from whatever is positioned BENEATH the image??


Yeah check if your image doesnt have a 1px line. Happened to me once, was pretty upset when i found out that the trouble was made by that.
Was This Post Helpful? 0
  • +
  • -

#7 musya  Icon User is offline

  • D.I.C Lover
  • member icon

Reputation: 11
  • View blog
  • Posts: 1,012
  • Joined: 25-April 07

Re: Img tag being stupid again

Posted 17 August 2008 - 02:24 PM

Nope, none of that, still troubling me, but ehh, what ev, ill get it later, this stuff is starting to get to me
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1