Jul 25, 2008

Left Img Padding In Ie - do not manage to remove an left padding

Free Web Hosting, No Ads > CONTRIBUTE > The Internet > Web Design

free web hosting

Left Img Padding In Ie - do not manage to remove an left padding

mizako
Hi,
I am creating a Web page for an event we have this week but i am having a wird problem while trying to remove the left padding for some images in IE. In Firefox it shows good.
The link i am speaking about: http://hafneparty.com/links.html

Basically my XHTML code is:

CODE
<div id="links">
<a href="http://www.hr.vc-graz.ac.at/"><img src="images/hafnerriegel.jpg"/></a>
<a href="http://www.moonsunweb.com"><img src="./images/moonsun.jpg"/></a>
<a href="http://www.grazasmus.tk"><img src="./images/grazasmus.jpg"/></a>  <a href="http://www.andreavattovani.com"><img src="images/vattovani.jpg"/></a>
</div>


and CSS is:

CODE
#links {
margin-top: 25px;
margin-left: 50px;
}
#links a img {
border: none;
float: left;
padding: 0px;
}


I thought the padding: 0px inside #links a img will solve the problem.
Any idea?????
Thanks in advanced.

 

 

 


Reply

Tyssen
Trying setting margin: 0 as well. If that doesn't work, check out Position Is Everything's list of Explorer bugs.

Reply

rvovk
Try to make a wrapper with width of 700px and height of 400px. This wrraper should have margin left and right on auto.

So in your container I would put in wrapper.

CODE

<div id="Wrapper">
<a href="http://www.hr.vc-graz.ac.at/"><img src="images/hafnerriegel.jpg"/></a>
<a href="http://www.moonsunweb.com"><img src="./images/moonsun.jpg"/></a>
<a href="http://www.grazasmus.tk"><img src="./images/grazasmus.jpg"/></a>  <a href="http://www.andreavattovani.com"><img src="images/vattovani.jpg"/></a>
</div>


CODE

#Wrapper{
 max-width:700px;
       min-width:700px;
 margin-left:auto;
 margin-right:auto;
       padding: 0px;
       margin:0px;
}
#Wrapper a img {
       border: none;
       float: left;
       padding: 0px;
       margin:0px;
}


I noticed that 50px padding or margin in Firefox isn't same as 50px padding or margin in Interent Explorer. Internet explorer isn't standard browser sad.gif




 

 

 


Reply

Tyssen
QUOTE(rvovk @ May 25 2005, 02:10 AM)
I noticed that 50px padding or margin in Firefox isn't same as 50px padding or margin in Interent Explorer. Internet explorer isn't standard browser sad.gif

That's because in FF total width = content width + padding + margin whereas in IE, it's content width - padding - margin, which means you actually end up with a content width smaller than the width you've specified because IE puts the padding & margin on the inside rather than the outside like the specifications say you should.
More detailed explanation is given here.

Reply



Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

(Maximum characters: 10,000)
You have characters left.
Confirm Code:

Recent Queries:-
  1. how to padding img src - 3.95 hr back. (1)
  2. img padding in ie - 18.24 hr back. (1)
  3. browser margin remove xhtml code - 19.46 hr back. (1)
  4. html left img - 20.24 hr back. (1)
  5. html img padding - 24.15 hr back. (2)
  6. img padding html - 28.97 hr back. (1)
  7. padding img internet explorer - 29.80 hr back. (1)
  8. html image padding code - 40.38 hr back. (1)
  9. remove ie hr padding - 41.99 hr back. (1)
  10. ie img padding bug - 45.83 hr back. (1)
  11. html padding img - 58.81 hr back. (1)
  12. ie select remove all padding - 61.16 hr back. (1)
  13. html image padding - 70.66 hr back. (1)
  14. remove margin img ie - 92.27 hr back. (1)
Similar Topics

Keywords : left, img, padding, manage, remove, left, padding

  1. Losing All My Friends...
    depressed, confused and no where left to turn (7)
  2. Warn?
    how to remove it (3)
    i've been out for more than 40 days and when i came back someone used my account to encourage
    piracy( not sure how or when but that's what written on it) i know its my fault for not being to
    careful with my account but i want that warn to be remove if there's a way really appreciate it....
  3. How To Manage The Database For E-books Website In My Sql?
    (3)
    I wanna know how to manage the database for website of e-books with forum in it, n the database is
    in mysql. PLZ HELP ME!....
  4. Left Me For A Woman
    (3)
    now i met a girl when i was at school but never hit it off. but then when i turned 19 we met at a
    bar after 3 years and got together. everything was fine we was even thinking of getting a house
    together. went to view them and all sorts. but then after 4years it was like she had lost interest.
    i asked if she was ok a few times an she said im fine ( as all women do sorry) but then i phoned her
    up one day an she said it wasnt for her. so i thought ok well we'll just go our own ways. then
    6months after i get a phone call off my mate sayin he seen my ex with another woman....
  5. Manage Double Posting In Php
    (4)
    Is there a way to create a session variable that expires after a set time e.g 15 seconds or so users
    hitting reload or trying to submit twice wont be able to. I've disabled my comments function on
    my site at the moment until I find a solution. I would rather not use javascript as PHP code would
    be more transparent I think. Any ideas? edit: I forgot to add the whole process is in one page so
    I have the form action unset so it submits to its containing file. I would like to keep this
    structure. I know having it submit to a new file and redirecting back would remove ....
  6. Usb Disk Ejector
    The Quick Way to Safely Remove USB Drives (15)
    looking for a way to safely remove usb drives... QUICKLY? /tongue.gif"
    style="vertical-align:middle" emoid=":P" border="0" alt="tongue.gif" /> here's the USB DISK
    EJECTOR for you! it's a small utility that does the same thing as the Windows "Safely
    Remove Device" applet, except that it does it quicker and better. there is no installation required,
    it's flexible (can run BOTH via command line, and GUI), it's portable, and most importantly,
    it's a freeware! /biggrin.gif" style="vertical-align:middle" emoid=":D" border="0"
    alt="biggrin.gif" /....
  7. This Girlfreind Left Me Emotioanlly Scarred.
    (0)
    Ugh; Ok, so this girl i used to like, lets call her LB, keeps bugging me about who i like, thats a
    red flag for 'she might just maybe like me'.(IMO) so i finally tell her i like her, and we
    go on dates ect, then one day i see her with my friend, and i ask him about it, he says shes his gf,
    so we start fighting and stuff, then, we both see her with a guy we had never seen before, and we
    asked him later, said she was his gf, then we all 3 go up to her and ask her 'wtf is going
    on.' Apparently when she was bored, she would pretend to like guys she KNOWS like....
  8. Remove A Value From A Php Array Based On Its Value
    (5)
    I have an index array CODE $array[0] = 10; $array[1] = 12; ...
    Its kinda late and I'm falling asleep now but I had a quick look through PHP.net, and could not
    find what I'm after, Maybe I'm too sleepy, sorry, but if anyone knows off the top of their
    head a way to removed members in that array based on its value, i.e. I wanna remove values 12. I
    don't really want to do a loop but if I cant find any existing function to do it, then I may
    have to. Thanks for any help.....
  9. Remove 'posts In Topic'
    (3)
    I have gone through any options related to this in my control panel, but it still is here! So
    my question is... how do you remove that 'posts in topic' thing. I would really like to read
    other people's post without wasting a lot of time, because i normally go on trap17 in my free
    time and I don't have much free time anyway. I am a bit less active on trap17 just because of
    that, for me, it is a deterrent for posting. I apologize if I have insulted any of the admins/mods
    that installed this feature to save bandwidth or something, but can there atleas....
  10. How To Remove Warning
    (3)
    My hosting req. is denied because of the one warning i have. How can I get rid of this warning? If
    there is any way please tell. Otherwise I cannot hope to get hosting. Thanx.....
  11. How Do I Remove The Iframes Scrollbars?
    (5)
    Hello. My Iframes are not working properly at the moment. I have some problems with removing the
    scrollbars. I also need them to automatically extend, without that I need to change the height and
    width. I have tried with 100% and auto , but there must be something I am doing wrong. (I do not
    know much HTML, really.) I will explain a bit more. On my front page, I have an Iframe linked to my
    blog, and other things. And as I have said, I need to remove the scrollbars and so on... Here is
    the code I am using. (Of course "URL1" is replaced with my url.) CODE <ifr....
  12. Is Link Right Handed Or Left Handed
    (7)
    In twilight princess Link is right handed in the Wii version but left handed in gamecube version so
    has Link really become normal or is it just a phase, also all of the TP screenshots show link right
    handed some times and left handed other and i got confused a lot anyway this is important so post
    now....
  13. How Do I Manage Dns Or Disable It ?
    how do i change dns records for my domain or disable it (2)
    I looked everywhere in Cpanel but I can't find where I can change the DNS records for my domain.
    This is the only thing stopping me from moving my website over to trap17, because I need to manage
    DNS myself. If I can't manage it then at least I should be able to disable it. And Trap17 offers
    professional hosting so they shoulf offer this too. EDIT: There should be somewhere in Cpanel that
    allows us to have Custom DNS Records, but I can't find it or it's not enabled.....
  14. How To Remove Pagefile After Windows Shutdown
    (0)
    How to remove PageFile after Windows Shutdown 1- Go to Start Menu > Click on Run and then type
    "regedit" and press ok to run Windows Registry Editor 2- Go to following Address: CODE
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory
    3- In the right panel double click on ClearPageFileAtShutdown and give it value of 1 4- Close
    Windows Registry Editor and restart your computer. Note: incorrectly editing registry entries may
    cause several damages, please create a back up from your registry entries.....
  15. How To Remove All Programs From Start Menu
    (1)
    How to remove ALL PROGRAMS from Start Menu 1- Click on Start menu > click on RUN and type
    "regedit" and then press OK to open Windows Registry Editor. 2- Go to following address: CODE
    HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies
    3- Create a new DWORD and name it as "NoStartMenuMorePrograms", and give it value of 1 to remove
    All Program from Start Menu. 4- Close Windows Registry Editor and restart your computer. Added
    later: how to Remove default icons from Start menu To Remove default icons such as My Docu....
  16. New Left 4 Dead Videos
    Latest from the Half-Life 2 zombie co-op mod (1)
    Here's the latest video describing the storyline and enemy playablity of the game. HD -
    http://www.gametrailers.com/player/24755.html?type= Street surivival gamepaly HD:
    http://www.gametrailers.com/player/24568.html ....
  17. Teach Me How To Remove A Portion In This Picture
    Graphics Help (5)
    Can someone guide me here? I need to remove the text saying 'Burn the fat guarentee' To
    put my own. Can someone teach me how to do this? Topic title that has "...help" isn't a proper
    way to name a topic. ....
  18. How To Manually Remove Viruses!
    a short tutorial (8)
    How to manually remove viruses! Have you ever been in the possition that you know you have an
    virus but you dont have any antivirus?? Its almost impossible to remove it manual without knowing
    about a few tips & tricks. After reading this turtorial im sure you will know how to manual remove
    most of the virus lurking around. But that dosnt mean you shouldnt have any anti virus on you
    computer! Anyway, lets get starting with the turtorial.. I suppose you already know what safe
    mode is. If you dont try pressing the F8 key some times when you start your computer. Y....
  19. Software To Remove Voice?
    (9)
    I am looking for a free software which is able to remove a voice in a song? To just keep the tune,
    something similar to the karaoke, I do know that not many songs provide only the tune for which
    there isn't any singing. I have been searching for quite some time as well, but the programs I
    found did not do just that. I have also read about how impossible it is to achieve with the programs
    because they only filter out some frequencies and it isn't possible to filter out to the point
    that only the instrumental part of the song is heard. But nonetheless, I hope someo....
  20. How Do I Completely Remove Trojan Viruses
    anti-virus put them in virus vault (32)
    I have AVG anti-virus on my PC, and a few weeks back it found a trojan virus on my pc. It put it
    into the virus vault but could not heal it. How do I completly remove a trojan virus? Or even can
    I? Do I have to download specific software to remove it, or is there some more complexe way of
    going in to the system?....
  21. Remove Spots From Pimples From Face
    fable or really the solution to get rid of those ugly (15)
    I would really want an even skin in my face. I have cicatrices and spots. Guess what I heard?!
    Those spots from sqeeuzed pimples in your face, can be removed with a cream used for piles!!
    This is something I heard for many times now... It's weird but is this true????????????....
  22. Forgot Password To Trend Micro Internet Security
    Is there a way to remove it? (5)
    One day I was bored so I set a password for our Web security software, Trend Micro Internet
    Security. I turned on the URL filter, and now, whenever my friends send me something funny that has
    no porn or anything in it, I get the Blocked error. I am really annoyed by this; I can't change
    other setting in the software too. Is there any way to either reset the password or remove it,
    without uninstalling Trend Micro?....
  23. Left And Top Scrollbar?
    (14)
    I know it sounds weird but I actually want scrollbars all around the screen. Left, right, top,
    bottom. Is that possible to do?....
  24. Which Anti-virus Program Remove Bloodhound?
    Anti-Virus that can remove bloodhound (10)
    Yesterday I was surfing the net and new virus was detected in my computer, its called
    w32.bloodhound. Currently I am using Nortong Antrivirus Corporate edition version 9. This program
    detect the virus but was not able to remove it. IF you people have encountered this virus? what
    program or anti-virus did you used? Also there I have found a program in my add remove program
    called BullEyeNetword and I can't remove the program. Can you please give me hint on how to
    handle this kind of anoying program and virus? Thanks in advance I am hoping for your friendly he....
  25. How To Remove Download Trojan Virus
    (13)
    My computer is infected with download trojan virus, norton was able to detect and delete the files
    but it's still there.....
  26. How To Remove Ie Completely
    (20)
    I use both IE and Firefox.. but having some problems with firefox's plug-ins like flash and
    several other problems.. so i want to uninstall IE compeletely from my PC.. anyone out there can
    help me with it?? thanx....
  27. How To Remove 4 Different Msn Messenger Virus's
    cute.pif, PIC1234(1)(1)(1)(1)(1)(1).exe, Choke.exe, and W.. (32)
    Ok he is a little guide to removing 4 types of the MSN Messenger virus from you PC. First of all,
    cute.pif it sends all people on your buddy list this QUOTE omg this is funny! *link to
    download cute.pif from jose.rivera4.home.att.net* Here is how to remove it... 1. Hit
    Ctrl,Alt,Delete on the keypad, look for "hotkeysvc." select it and press "End Task" (if it is on
    there...). 2. Use the Search feature to look for "hotkeysvc.exe". It will be in the %System%
    directroy, if it is there at all. Delete that file. 3. Go to Start> Run> msconfig 4. Click the
    tab at....
  28. Spybot Search & Destroy
    how to remove dso exploits within spybot (3)
    I found this on my travels & thought it might be helpful smile2.gif If you have the latest Internet
    Explorer version and all your Windows Updates, you can safely ignore the DSO Exploit as a potential
    problem when Spybot Search and Destroy or other spyware removal tools discover it. However if you
    would rather fix the exploit so it does not show up again, follow these steps to edit your Windows
    Registry. Please be careful however, incorrect changes to the Windows Registry can cause Windows to
    not boot. 1) Make a note of the location of the exploit shown in Spybot, somet....
  29. Could Someone Make A Php Script For Me?
    Script to manage clans and players (3)
    Does someone know a script where you can 1. Add clans to a roster 2. Edit clans on a roster 3. Add
    players too a clan 4. Edit players 5. Schedule matches 6. Add clan Leaders to manage their own clan
    + members 7. Add members to edit their own information And maybe some sort of scoreboard integrated
    where you can put Wins, Draws and loses and that automaticly puts best clans on the top? If there
    isnt such a script could someone create 1 for me? (its for a league ^^)....
  30. Woah! I Only Have Two Megabytes Left.
    (5)
    Hey all. I got a shock today when I was in my cpanel installing some mysql tables when it says I
    have 2.59 mb left. I was scared that i've used that much. I went into Disk Viewer and I had used
    hardly any. I had installed Php-Nuke and i'm aware that takes alot of space, but 48 mb? Anyway
    i've lost abit by deleting a few unneeded files.....

    1. Looking for left, img, padding, manage, remove, left, padding

Searching Video's for left, img, padding, manage, remove, left, padding
Similar
Losing All
My
Friends... -
depressed,
confused and
no where
left to turn
Warn? - how
to remove it
How To
Manage The
Database For
E-books
Website In
My Sql?
Left Me For
A Woman
Manage
Double
Posting In
Php
Usb Disk
Ejector -
The Quick
Way to
Safely
Remove USB
Drives
This
Girlfreind
Left Me
Emotioanlly
Scarred.
Remove A
Value From A
Php Array
Based On Its
Value
Remove
'posts
In
Topic'
How To
Remove
Warning
How Do I
Remove The
Iframes
Scrollbars?
Is Link
Right Handed
Or Left
Handed
How Do I
Manage Dns
Or Disable
It ? - how
do i change
dns records
for my
domain or
disable it
How To
Remove
Pagefile
After
Windows
Shutdown
How To
Remove All
Programs
From Start
Menu
New Left 4
Dead Videos
- Latest
from the
Half-Life 2
zombie co-op
mod
Teach Me How
To Remove A
Portion In
This Picture
- Graphics
Help
How To
Manually
Remove
Viruses!
- a short
tutorial
Software To
Remove
Voice?
How Do I
Completely
Remove
Trojan
Viruses -
anti-virus
put them in
virus vault
Remove Spots
From Pimples
From Face -
fable or
really the
solution to
get rid of
those ugly
Forgot
Password To
Trend Micro
Internet
Security -
Is there a
way to
remove it?
Left And Top
Scrollbar?
Which
Anti-virus
Program
Remove
Bloodhound?
- Anti-Virus
that can
remove
bloodhound
How To
Remove
Download
Trojan Virus
How To
Remove Ie
Completely
How To
Remove 4
Different
Msn
Messenger
Virus's
- cute.pif,
PIC1234(1)(1
)(1)(1)(1)(1
).exe,
Choke.exe,
and W..
Spybot
Search &
Destroy -
how to
remove dso
exploits
within
spybot
Could
Someone Make
A Php Script
For Me? -
Script to
manage clans
and players
Woah! I
Only Have
Two
Megabytes
Left.
advertisement



Left Img Padding In Ie - do not manage to remove an left padding



 

 

 

 

ADD REPLY / Got an Opinion! Remove these ADs! RAPID SEARCH! Free Web Hosting [X]
Express your Opinions, Thoughts or Contribute more info. to help others.
Ask your Doubts & Queries to get answers, So that "Together We can help others!"
Register FREE for AD-FREE forum, Create your own topics, Ask Questions, track topics, setup subscriptions & notifications and Get a Free Website w/ Email and FTP.
500MB Space *No Ads*, CPanel, FTP, PHP, MySQL, EMails - 100% FREE