Language:
JavaScript     Change language:
Pastebin: 70813
Author: skr1
Subject: Re: Untitled
Created: 2007-07-14 12:18:21
Download and save
Toggle line numbers
1The following code works fine in Firefox, meaning that the image, the div and the last image are all next to each other without any space between them. However, in IE I get a few pixels between the middle div and the images. 
2 
3<html> 
4<head> 
5<style type="text/css"
6.result_pollGraph img{ 
7    float:left; 
8} 
9.result_pollGraph div{ 
10    float:left; 
11    height:16px; 
12    background-repeat:repeat-x; 
13    color:#FFF; 
14    font-size:0.9em; 
15    line-height:16px; 
16} 
17.result_pollGraph{ 
18    height:16px; 
19} 
20</style> 
21</head> 
22 
23<body> 
24<div class="result_pollGraph"
25    <img src="graph_left_1.gif"/> 
26    <div style="background-image: url('graph_middle_1.gif');">0%</div> 
27    <img src="graph_right_1.gif"/></div> 
28</body> 
29</html> 
Thread:
[70808] Untitled by skr1 at 2007-07-14 11:51:14 (diff)
  [70810] Re: Untitled by skr1 at 2007-07-14 12:14:56 (diff)
    [70811] Re: Untitled by skr1 at 2007-07-14 12:15:50 (diff)
      [70812] Re: Untitled by skr1 at 2007-07-14 12:16:35 (diff)
        [70813] Re: Untitled by skr1 at 2007-07-14 12:18:21
  [77674] stzn fpgtos by gmqfurnxk qfbivlegp at 2007-11-20 10:02:18 (diff)
Tip: Click the line numbers to toggle highliting on that line.

Paste followup:

Language:
Author:
Subject:


    Tabstop:     bigger biggest
Note: You can prefix a line with "@@@" to highlight it.