473,378 Members | 1,388 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,378 software developers and data experts.

IE seems to add extra space after float?

http://johnbokma.com/blog/2004/04/11/

Somehow, the vertical after the next/prev navigation is almost 2 times
more with IE (6.0), compared to FireFox (0.8) (Windows XP).

Is this an IE bug, and is there a neat "fix"?

(CSS at http://johnbokma.com/blog/blogstyle.css )

I have no idea yet how the page(s) render in other browsers, except that
it looks weird in IE 4.0 and NS 4.x (4.7 IIRC), but I am not going to
support those for the moment.

Another question, I really want to have clean and clear HTML, with a
strong focus on logical mark up. Any feedback is welcome.

--
John blog: http://johnbokma.com/blog/
personal page: http://johnbokma.com/
Experienced Perl programmer available: http://castleamber.com/
Jul 20 '05 #1
6 8726
John Bokma <po********@castleamber.com> wrote:
http://johnbokma.com/blog/2004/04/11/

Somehow, the vertical after the next/prev navigation is almost 2 times
more with IE (6.0), compared to FireFox (0.8) (Windows XP).

Is this an IE bug, and is there a neat "fix"?
Looks like the collapsing borders with floats bug in ... Mozilla.
(It's been there for ages)
I have no idea yet how the page(s) render in other browsers, except that
it looks weird in IE 4.0 and NS 4.x (4.7 IIRC), but I am not going to
support those for the moment.
Why ever not? All it takes is importing your style sheet: instant
IE4/NS4 support.
Another question, I really want to have clean and clear HTML, with a
strong focus on logical mark up. Any feedback is welcome.


<title>Happy Easter</title>

Doesn't make sense as a title (no context), it's ok for the <h1>.

<div class="logo">

Unnecessary, just float the image and set a margin.

<div class="bar">
<div class="right"><big><span class="name"><a
href="http://johnbokma.com/">John Bokma</a></span> <a
href="http://johnbokma.com/blog/">blog</a></big></div>

To much unnecessary markup.

The prev/next links should be marked up as a list, example:
http://www.spartanicus.utvinternet.i..._using_css.htm

<p class="navigation">

That's not a paragraph.

--
Spartanicus
Jul 20 '05 #2
John Bokma <po********@castleamber.com> wrote:
http://johnbokma.com/blog/2004/04/11/

Somehow, the vertical after the next/prev navigation is almost 2 times
more with IE (6.0), compared to FireFox (0.8) (Windows XP).

Is this an IE bug, and is there a neat "fix"?
Looks like the collapsing borders with floats bug in ... Mozilla.
(It's been there for ages)
I have no idea yet how the page(s) render in other browsers, except that
it looks weird in IE 4.0 and NS 4.x (4.7 IIRC), but I am not going to
support those for the moment.
Why ever not? All it takes is importing your style sheet: instant
IE4/NS4 support.
Another question, I really want to have clean and clear HTML, with a
strong focus on logical mark up. Any feedback is welcome.


<title>Happy Easter</title>

Doesn't make sense as a title (no context), it's ok for the <h1>.

<div class="logo">

Unnecessary, just float the image and set a margin.

<div class="bar">
<div class="right"><big><span class="name"><a
href="http://johnbokma.com/">John Bokma</a></span> <a
href="http://johnbokma.com/blog/">blog</a></big></div>

To much unnecessary markup.

The prev/next links should be marked up as a list, example:
http://www.spartanicus.utvinternet.i..._using_css.htm

<p class="navigation">

That's not a paragraph.

--
Spartanicus
Jul 20 '05 #3
Spartanicus <me@privacy.net> wrote:
Looks like the collapsing borders


collapsing margins stupid

--
Spartanicus
Jul 20 '05 #4
Spartanicus <me@privacy.net> wrote:
Looks like the collapsing borders


collapsing margins stupid

--
Spartanicus
Jul 20 '05 #5
Spartanicus wrote:
Looks like the collapsing borders with floats bug in ... Mozilla.
(It's been there for ages)
Aargh, indeed.
I have no idea yet how the page(s) render in other browsers, except that
it looks weird in IE 4.0 and NS 4.x (4.7 IIRC), but I am not going to
support those for the moment.


Why ever not? All it takes is importing your style sheet: instant
IE4/NS4 support.


Arrgh, indeed. And I look at it everytime without stylesheets, just to
see how it looks (and all the time saying, look, this is how the web was
in the past to my partner :-) ). Will change that.
Another question, I really want to have clean and clear HTML, with a
strong focus on logical mark up. Any feedback is welcome.


<title>Happy Easter</title>

Doesn't make sense as a title (no context), it's ok for the <h1>.


Thanks, will look into that.
<div class="logo">

Unnecessary, just float the image and set a margin.
Thanks, will change.
<div class="bar">
<div class="right"><big><span class="name"><a
href="http://johnbokma.com/">John Bokma</a></span> <a
href="http://johnbokma.com/blog/">blog</a></big></div>

To much unnecessary markup.
You have a suggestion how to improve it, without using <br>?
The prev/next links should be marked up as a list, example:
http://www.spartanicus.utvinternet.i..._using_css.htm
Reading it now, and will look at it. I was already thinking about using
a list for the bottom navigation thingy.
<p class="navigation">

That's not a paragraph.


True, artefact from trying to find out where the extra space did come
from, with IE.

Many thanks for your reply,
John

--
John blog: http://johnbokma.com/blog/
personal page: http://johnbokma.com/
Experienced Perl programmer available: http://castleamber.com/
Jul 20 '05 #6
Spartanicus wrote:
Looks like the collapsing borders with floats bug in ... Mozilla.
(It's been there for ages)
Aargh, indeed.
I have no idea yet how the page(s) render in other browsers, except that
it looks weird in IE 4.0 and NS 4.x (4.7 IIRC), but I am not going to
support those for the moment.


Why ever not? All it takes is importing your style sheet: instant
IE4/NS4 support.


Arrgh, indeed. And I look at it everytime without stylesheets, just to
see how it looks (and all the time saying, look, this is how the web was
in the past to my partner :-) ). Will change that.
Another question, I really want to have clean and clear HTML, with a
strong focus on logical mark up. Any feedback is welcome.


<title>Happy Easter</title>

Doesn't make sense as a title (no context), it's ok for the <h1>.


Thanks, will look into that.
<div class="logo">

Unnecessary, just float the image and set a margin.
Thanks, will change.
<div class="bar">
<div class="right"><big><span class="name"><a
href="http://johnbokma.com/">John Bokma</a></span> <a
href="http://johnbokma.com/blog/">blog</a></big></div>

To much unnecessary markup.
You have a suggestion how to improve it, without using <br>?
The prev/next links should be marked up as a list, example:
http://www.spartanicus.utvinternet.i..._using_css.htm
Reading it now, and will look at it. I was already thinking about using
a list for the bottom navigation thingy.
<p class="navigation">

That's not a paragraph.


True, artefact from trying to find out where the extra space did come
from, with IE.

Many thanks for your reply,
John

--
John blog: http://johnbokma.com/blog/
personal page: http://johnbokma.com/
Experienced Perl programmer available: http://castleamber.com/
Jul 20 '05 #7

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

Similar topics

5
by: Brian | last post by:
Hello group, http://people.umass.edu/btrembla/ (html 4.01/strict) uses a conventional menu marked up as a list, and css http://people.umass.edu/btrembla/css/brian.css...
13
by: DM | last post by:
If I put three images next to each other (each within an anchor tag) they all line up horizontally as expected with no space between them. I.e., they're sitting flush up against each other. ...
6
by: skeeterbug | last post by:
please check out http://www.geocities.com/operationsengineer1/test2.htm how come there is spacing between my logoheader and the tabs? i'm also seeing ie6 input an extra 1em of vertical...
16
by: Uncle Pirate | last post by:
This has me stumped. I am trying to use as little space as possible at the top of my document but Firefox/Mozilla insists on placing vertical space before any element. IE displays it correctly...
5
by: lixiaoyao | last post by:
hi all I use matrix & vector function to allocate the space myself in c, typedef struct matrix_array newdata; struct matrix_array{ float **sy,*sxx; }; newdata ndata;//new data struct...
1
by: Matt Bush | last post by:
Using .NET Framework 1.1 and Visual Studio .NET 2003. Language is VB.NET. When loading an XML String using XMLDocument.LoadXml we are getting an extra space inserted into abbreviated end tags: ...
5
by: dw | last post by:
hello - first, let me state that i am an Asp.Net rookie. here is the situation: i have a page that looks good in the vs.net designer, but when the page renders there are extra amounts...
1
by: yb | last post by:
Please try the example below In Internet Explorer, when the mouse hovers between the right side of the image and the left side of the text, the cursor changes (i.e. Internet explorer is adding a...
8
by: dancer | last post by:
Using ASP.net 1.1 to create user input form. When I put a RequiredFieldValidator I have extra space at the bottom of the cell, as if I had put a <br>. When I comment out the...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
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
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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...
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...

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.