Advertisement

05.25.2008 at 11:04AM PDT, ID: 23431458
[x]
Attachment Details

White space between <div> tags  // css

Asked by dwkd in Cascading Style Sheets (CSS)

Tags: CSS, Internet Explorer 6

Hi guys,
I have a css layout which displays fine in Firefox ( as usual ) and it doesn`t in IE ( as usual again )
It is just a white gap that shouldn`t be there
Here is the code...

(thanks)Start Free Trial
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:
---------HTML CODE------------
 
 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<link rel="stylesheet" href="css/dummy.css" />
<title>Dummy page</title>
</head>
<body>
<div id="adspot"> Ads</div>
<div id="projspot"> Projects</div>
<div id="storespot"> Store</div>
<div id="content"> Content</div>
</body>
</html>
 
 
 
-------------------dummy.css code ------------------
 
 
 
body { padding:0; margin:0; } 
#adspot { background:#CCCC00; float:left; width:450px; height:289px; margin:0; padding:0;}
#projspot { background:#006699; height:144px; }
#storespot { background:#006600; height:145px; }
#content { position:relative; background:#FF9900; width:100%; height:500px; }
 
Loading Advertisement...
 
[+][-]05.25.2008 at 02:12PM PDT, ID: 21643653

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]05.25.2008 at 02:13PM PDT, ID: 21643654

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]05.25.2008 at 02:41PM PDT, ID: 21643727

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]05.25.2008 at 03:11PM PDT, ID: 21643792

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05.25.2008 at 03:40PM PDT, ID: 21643861

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]05.25.2008 at 04:00PM PDT, ID: 21643895

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05.25.2008 at 10:17PM PDT, ID: 21644724

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]05.25.2008 at 11:00PM PDT, ID: 21644843

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: Cascading Style Sheets (CSS)
Tags: CSS, Internet Explorer 6
Sign Up Now!
Solution Provided By: VirusMinus
Participating Experts: 3
Solution Grade: A
 
 
[+][-]05.26.2008 at 12:53AM PDT, ID: 21645157

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628