473,387 Members | 1,532 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Crazy gap in IE between divisions

I have created the above part of a new web site, but there is a strange
gap between divs, and I don't know how to remove these.

Could you have a look please and tell me what's wrong?
http://colombie.org/nouveau/design-css.html

Margins and paddings are set to 0; the elements are displayed as block
because of their nature. I'm stuck...

Thanks,

--
Håvard.
Jul 21 '05 #1
9 6266
Håvard Axelsson <me@privacy.net> wrote:
I have created the above part of a new web site, but there is a strange
gap between divs, and I don't know how to remove these.

Could you have a look please and tell me what's wrong?
http://colombie.org/nouveau/design-css.html
And how are we supposed to know where to find this gap?
Margins and paddings are set to 0; the elements are displayed as block
because of their nature. I'm stuck...


img{vertical-align:top}

--
Spartanicus
Jul 21 '05 #2
Em Sun, 30 Jan 2005 09:15:39 +0000, Spartanicus <me@privacy.net> escreveu:
And how are we supposed to know where to find this gap?


Hi! The problem happens in IE, there is a white gap between the top-left
logo, the little icons on top, and the search box in the top-right corner:
http://colombie.org/nouveau/design-css.html

I haven't been able to solve this. Everything seems all right, it doesn't
happen in Opera and Mozilla. Do you see this white gap?
--
Håvard.
Jul 21 '05 #3
Håvard Axelsson <me@privacy.net> wrote:
And how are we supposed to know where to find this gap?
Hi! The problem happens in IE, there is a white gap between the top-left
logo, the little icons on top, and the search box in the top-right corner:


And you originally left out this information why?
http://colombie.org/nouveau/design-css.html


I've got better things to do than to unravel a complete design, maybe
I'll have a look if you isolate the issue in a minimised test case.

--
Spartanicus
Jul 21 '05 #4
ram
In article <opsld12pq2wjyi3l@pretinho>,
Håvard Axelsson <me@privacy.net> wrote:
I have created the above part of a new web site, but there is a strange
gap between divs, and I don't know how to remove these.
Which <divs>?? All of them??

Please include browser/platform info - I could only replicate the gap in
IE 5.2.3 Mac - also tested in IE6 Win / Safari 1.2.4 / Firefox Mac 1.0 -
can't test on everything!

Could you have a look please and tell me what's wrong?
http://colombie.org/nouveau/design-css.html

Margins and paddings are set to 0;
No they aren't!

#contenu {
padding: 10px 0 0 0;
}
#main {
padding-left: 200px;
}
#separ {
padding: 10px;
}
the elements are displayed as block

because of their nature. I'm stuck...

Thanks,


I believe that the problem is in #contenu

I could remove the gap by removing the {clear: both;} in the <div>
#contenu

It seems to me that you can live without the {clear: both;} anyway as it
will naturally drop below the <div> above.

It also seems, strangely enough, that placing a comment in your HTML
directly after #submenu and before #main seems to remove the gap too
(why I cannot understand). IE is a strange beast - I think that goes
without saying though!. I also found several other fixes - but they
don't seem as logical as removing the {clear:both;}.

One more thing to note - it is standard to give dimensions for the <img>
element in HTML. I did not have your images displayed in testing this so
cannot be sure that my test is exactly the same layout as yours.

*L-
Ram // Always in reverse // @ME: moc.ommangised@mar
Jul 21 '05 #5
ram
In article
<mh********************************@news.spartanic us.utvinternet.ie>,
Spartanicus <me@privacy.net> wrote:
Håvard Axelsson <me@privacy.net> wrote:
And how are we supposed to know where to find this gap?
Hi! The problem happens in IE,
What version?
there is a white gap between the top-left
logo, the little icons on top, and the search box in the top-right corner:


And you originally left out this information why?


Seems my NNTP server's a little slow, missed the earlier posts.

I am afraid to say - I can't reproduce the mysterious gap at the top
either. (IE 5.2.3 Mac / IE6 Win / Firefox 1.0 Mac / Safari 1.2.4)
http://colombie.org/nouveau/design-css.html


I've got better things to do than to unravel a complete design, maybe
I'll have a look if you isolate the issue in a minimised test case.


*L-
Ram // Always in reverse // @ME: moc.ommangised@mar
Jul 21 '05 #6
Håvard Axelsson wrote:
I have created the above part of a new web site, but there is a strange
gap between divs, and I don't know how to remove these.

Could you have a look please and tell me what's wrong?
http://colombie.org/nouveau/design-css.html

Margins and paddings are set to 0; the elements are displayed as block
because of their nature. I'm stuck...

Thanks,


You might give this a try to fix the gap on the right of the header:

#search {
float: right;
width: 150px;
height: 50px;
background: url(fondrouge.png);
margin: 0 0 0 -3px;
padding: 0 0 0 3px;
}

If you look at your page in Netscape 7.2 and reduce the browser width,
the images move down the page and don't look too good. You might want to
fix that too.

Mike
Jul 21 '05 #7
ram wrote:
In article
<mh********************************@news.spartanic us.utvinternet.ie>,
Spartanicus <me@privacy.net> wrote:

Håvard Axelsson <me@privacy.net> wrote:

And how are we supposed to know where to find this gap?

Hi! The problem happens in IE,

What version?

there is a white gap between the top-left
logo, the little icons on top, and the search box in the top-right corner:


And you originally left out this information why?

Seems my NNTP server's a little slow, missed the earlier posts.

I am afraid to say - I can't reproduce the mysterious gap at the top
either. (IE 5.2.3 Mac / IE6 Win / Firefox 1.0 Mac / Safari 1.2.4)

i do get the gaps, and they are pretty obvious
IE6sp2
Jul 21 '05 #8

"Spartanicus" wrote in message
<<snip>>
And how are we supposed to know where to find this gap?


Two white vertical lines are clearly appaerent in my Version of IE6.0SP2

It's not perchance one of those funny "whitespace" bugs is it?

Try a google on "whitespace css bug" for a few leads.

Rockoyster

Jul 21 '05 #9
On Sun, 30 Jan 2005 18:00:38 -0800, mscir <ms***@yahoo.com> wrote:
If you look at your page in Netscape 7.2 and reduce the browser width,
the images move down the page and don't look too good. You might want to
fix that too.


Thank you very much, I think now there is only one problem:
http://colombie.org/nouveau/design-css.html
The inline lists:
- The pre-colombian icons on top
- The main navigation bar on top
- The pre-colombian icons in the copyright bar at the bottom
They don't render as I want. I want them to adapt exactly to the browser
width, pretty much the same way it would if I put them in a 1-row table
with one cell per image, and all cells set to, say, 10%.

I want these list items to be distributed evenly according to the
available space. I'm not able to do so. Here's the code I use:

#illus ul {
list-style: none;
margin: 0 150px 0 0;
padding: 0;
margin: 0;
}

#illus li {
margin: 0;
padding: 0;
float: left;
display: block;
width: 12%;
height: 50px;
voice-family: "\"}\"";
voice-family: inherit;
width: 12%;
}

html>body #illus li {
width: 7.5%;
}

The list items don't use the entire space available when the window is
maximized. They wrap down when the window is resized to 780px wide.

What's the trick?

Thanks,

--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
Discover Opera: http://members.surfeu.fi/jerkku/
http://www.auriance.com - http://www.auriance.net
Jul 21 '05 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: dont bother | last post by:
This is really driving me crazy. I have a dictionary feature_vectors{}. I try to sort its keys using #apply sorting on feature_vectors sorted_feature_vector=feature_vectors.keys()...
9
by: Leif K-Brooks | last post by:
I try to make my code comply to the Python style guide (http://www.python.org/peps/pep-0008.html). Last time I read it, I swear that it said to use CamelCase for often-used functions and...
11
by: doltharz | last post by:
Please Help me i'm doing something i though was to be REALLY EASY but it drives me crazy The complete code is at the end of the email (i mean newsgroup article), i always use Option...
2
by: Dennis M. Marks | last post by:
I have a javascript that generates a monthly calendar. There are 2 <div>s. One called "calendar" is changed dynamically. The other is called "controls" and is fixed. They are both placed within a...
2
by: Dennis M. Marks | last post by:
Please ignore all previous postings from me for the past couple of days. All has been solved except for the following. I have three divisions that I am having trouble positioning. What works in...
19
by: Daniel Billingsley | last post by:
I think it's really nice to be able to do code like someVariable = someMethod(new SomeClass("some text")); However, as method signatures are number and types of parameters, you're limited to...
3
by: squash | last post by:
I have spent two hours trying to make sense of this script, called crazy.php. The output should be nothing because $cookie_password is nowhere defined in this script, correct? But it actually...
28
by: onkar | last post by:
This idea might be vey crazy. But I hope to get answers to this .. from comp.lang.c If a compiler is designed such that it automatically adds a free() matching every malloc() then is it not a...
0
by: eighthman11 | last post by:
Access 2000. Sql Server I know this is going to sound crazy but I have a continuous form which is bound to a sql table with an ODBC connection. I filter the records in the Continous form...
3
by: rashpal.sidhu | last post by:
Please help, this problem is driving me crazy !! I am using metaphone to create phonetic keys. When i run the module stand-a-lone it works fine. I'm trying to create a runner for informix...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.