Web Design Forum: annoying problem with IE8 and CSS - Web Design Forum

Jump to content

WDF
WDF Premium Memberships Reseller Hosting
Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

annoying problem with IE8 and CSS Rate Topic: -----

#1 User is offline   lighght 

  • Forum Newcomer
  • Pip
  • Group: Members
  • Posts: 1
  • Joined: 20-April 11
  • Reputation: 0

Posted 20 April 2011 - 11:20 AM

i'm new here, so first of all: hello everybody :rolleyes:

well, now i'd like to go on with bothering you guys with my problems gg

i just encounterd a design/CSS problem with my website which only occurs in IE (8?) and i don't know how to get rid of it...

in IE 8 there is this annoying gap between one image in a <td> and a background image of the <td> beneath:
*as i'm not allowed to post clickable links yet, you could also take a look on the attached file...*

if you take a look at dr-zeller.com, everything looks fine in firefox.

in my index.php i position the two images the following way:

image in the upper right corner ==>

   <td bgcolor="#000000" height="130" rowspan="2">
	<img src="00Images/logo.gif" />
   </td


bg image beneath: ==>

   <td bgcolor="#000000" style="background-image:url('00Images/logo_side.gif'); background-repeat:no-repeat;" width="130">


could someone give me a hint what's going wrong here? the table border is of course set zero.

thanks a lot!!!

Attached File  ieproblem.jpg (135.53K)
Number of downloads: 12
0

#2 User is offline   a1visions 

  • Forum Newcomer
  • Pip
  • Group: Members
  • Posts: 26
  • Joined: 04-May 11
  • Reputation: 2
  • Gender:Male
  • Experience:Web Guru
  • Area of Expertise:Web Designer

Posted 12 May 2011 - 08:15 AM

Hi,
PLease use this <td bgcolor="#000000" height="130" rowspan="2" valign="bottom"><img src="00Images/logo.gif"/></td>



in place of
<td bgcolor="#000000" height="130" rowspan="2">
<img src="00Images/logo.gif" />
</td


i did valign="bottom" and some time <img src="00Images/logo.gif" /> in this /> ie take this a space before />it should be 00Images/logo.gif"/>
thanks
a1visions.com
0

#3 User is offline   Cube7 

  • Forum Newcomer
  • Pip
  • Group: Members
  • Posts: 8
  • Joined: 12-May 11
  • Reputation: 1

Posted 12 May 2011 - 10:18 PM

a1visions gaved you the right solution. IE always see spaces... Put them in one line with no space...
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users