473,803 Members | 1,992 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Strange Bug

I'm having a problem with IE which displays my page footer partly
beneath the viewable/scrollable window. It seems to calculate the
bottom margin from the top of the div without looking at it's content.

I'm not even using absolute positioning there so I'm not sure what the
problem is. Any explanation for this and maybe some clean solution?

http://users.skynet.be/fa800152/

Apr 10 '06 #1
14 1603
Gerry Vandermaesen wrote:
I'm having a problem with IE which displays my page footer partly
beneath the viewable/scrollable window. It seems to calculate the
bottom margin from the top of the div without looking at it's content.

I'm not even using absolute positioning there so I'm not sure what the
problem is. Any explanation for this and maybe some clean solution?

http://users.skynet.be/fa800152/

IE does positioning poorly in general. Avoid it wherever possible.
In #main IE does not account for the 20px re-positioning so it pushes
the footer below the viewport by that amount.
In #main replace "position: relative; top: 20px; left: 20px" with
"padding: 20px 0 0 20px".

--
jmm (hyphen) list (at) sohnen-moe (dot) com
(Remove .AXSPAMGN for email)
Apr 10 '06 #2
To further the education of mankind, "Gerry Vandermaesen"
<ge************ ****@gmail.com> declaimed:
I'm having a problem with IE which displays my page footer partly
beneath the viewable/scrollable window. It seems to calculate the
bottom margin from the top of the div without looking at it's content.

I'm not even using absolute positioning there so I'm not sure what the
problem is. Any explanation for this and maybe some clean solution?

http://users.skynet.be/fa800152/


The only thing I see at first-browse is:

border-left: none; (et al)

isn't defined. Use 0. I doubt that's the cause, however. It's probably
some IE-specific bug. I might try moving the footer out of the main div if
nothing else worked.

--
Neredbojias
Infinity can have limits.
Apr 10 '06 #3
Neredbojias wrote:
The only thing I see at first-browse is:

border-left: none; (et al)

isn't defined.


It is. <q
cite="http://www.w3.org/TR/REC-CSS2/box.html#propde f-border-left">Omitted
values are set to their initial values.</q> So it means:

border-left-style: none;
border-left-width: medium;
border-left-color: <the value of the 'color' property>
--
Johannes Koch
Spem in alium nunquam habui praeter in te, Deus Israel.
(Thomas Tallis, 40-part motet)
Apr 10 '06 #4
To further the education of mankind, Johannes Koch
<ko**@w3develop ment.de> declaimed:
Neredbojias wrote:
The only thing I see at first-browse is:

border-left: none; (et al)

isn't defined.


It is. <q
cite="http://www.w3.org/TR/REC-CSS2/box.html#propde f-border-left">Omitt
ed values are set to their initial values.</q> So it means:

border-left-style: none;
border-left-width: medium;
border-left-color: <the value of the 'color' property>


'None' is not an omitted value. It may be _considered_ omitted since it is
invalid, but "border-left-style:none;" is the proper syntax, or simply
"border-left:0;".

--
Neredbojias
Infinity can have limits.
Apr 11 '06 #5
Neredbojias wrote:
To further the education of mankind, Johannes Koch
<ko**@w3develop ment.de> declaimed:
Neredbojias wrote:
The only thing I see at first-browse is:

border-left: none; (et al)

isn't defined.
It is. <q
cite="http://www.w3.org/TR/REC-CSS2/box.html#propde f-border-left">Omitt
ed values are set to their initial values.</q> So it means:

border-left-style: none;
border-left-width: medium;
border-left-color: <the value of the 'color' property>

'None' is not an omitted value.


No. But the other values (width and color) are omitted. Did you read the
part of the spec, I referenced?
It may be _considered_ omitted since it is
invalid,
Why do you think, it is invalid?
but "border-left-style:none;" is the proper syntax, or simply
"border-left:0;".


Which is just another "shorthand" omitting different values (style and
color).

--
Johannes Koch
In te domine speravi; non confundar in aeternum.
(Te Deum, 4th cent.)
Apr 11 '06 #6

Jim Moe wrote:
IE does positioning poorly in general. Avoid it wherever possible.
In #main IE does not account for the 20px re-positioning so it pushes
the footer below the viewport by that amount.
In #main replace "position: relative; top: 20px; left: 20px" with
"padding: 20px 0 0 20px".


Thanks. That indeed solved that problem, but seems to have invoked
another IE bug.

Now there's a margin between my content layer and the footer, even
though none is specified. In Firefox the footer is placed as expected
directly under the content. At first I thought it was some form of the
IE double margin bug with floating layers, but changing their display
to inline has no effect.

Any thoughts? See http://users.skynet.be/fa800152/

Apr 11 '06 #7
To further the education of mankind, Johannes Koch
<ko**@w3develop ment.de> declaimed:
Neredbojias wrote:
To further the education of mankind, Johannes Koch
<ko**@w3develop ment.de> declaimed:
Neredbojia s wrote:

The only thing I see at first-browse is:

border-left: none; (et al)

isn't defined.

It is. <q
cite="http ://www.w3.org/TR/REC-CSS2/box.html#propde f-border-left">Omit
t ed values are set to their initial values.</q> So it means:

border-left-style: none;
border-left-width: medium;
border-left-color: <the value of the 'color' property>

'None' is not an omitted value.


No. But the other values (width and color) are omitted. Did you read
the part of the spec, I referenced?
It may be _considered_ omitted since it is
invalid,


Why do you think, it is invalid?


"None" is not a listed parameter of the "border-left:" attribute. It
_is_ a proper parameter of "border-left-style:".
but "border-left-style:none;" is the proper syntax, or simply
"border-left:0;".


Which is just another "shorthand" omitting different values (style and
color).


--
Neredbojias
Infinity can have limits.
Apr 11 '06 #8
Allthough this discussion is getting a bit off-topic of my original
question, I believe "border-left: none" is a valid short hand for
"border-left-style: none".

If you have a look on http://www.w3.org/TR/REC-CSS2/box.html bottom of
the page, you see W3C using the same syntax in their valid example but
with style set to double instead of none.

Consider this example:

BLOCKQUOTE {
border-color: red;
border-left: double;
color: black
}

Neredbojias wrote:
To further the education of mankind, Johannes Koch
<ko**@w3develop ment.de> declaimed:
Neredbojias wrote:
To further the education of mankind, Johannes Koch
<ko**@w3develop ment.de> declaimed:

Neredbojia s wrote:

>The only thing I see at first-browse is:
>
> border-left: none; (et al)
>
>isn't defined.

It is. <q
cite="http ://www.w3.org/TR/REC-CSS2/box.html#propde f-border-left">Omit
t ed values are set to their initial values.</q> So it means:

border-left-style: none;
border-left-width: medium;
border-left-color: <the value of the 'color' property>
'None' is not an omitted value.


No. But the other values (width and color) are omitted. Did you read
the part of the spec, I referenced?
It may be _considered_ omitted since it is
invalid,


Why do you think, it is invalid?


"None" is not a listed parameter of the "border-left:" attribute. It
_is_ a proper parameter of "border-left-style:".
but "border-left-style:none;" is the proper syntax, or simply
"border-left:0;".


Which is just another "shorthand" omitting different values (style and
color).


--
Neredbojias
Infinity can have limits.


Apr 11 '06 #9
Neredbojias wrote:
"None" is not a listed parameter of the "border-left:" attribute.
PLease give a reference to this list of parameters.
It
_is_ a proper parameter of "border-left-style:".


It is a valid property value for border-left-style, yes.

--
Johannes Koch
In te domine speravi; non confundar in aeternum.
(Te Deum, 4th cent.)
Apr 11 '06 #10

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

Similar topics

2
1824
by: Arthur | last post by:
I've come across some strange xml, that I need to deal with, it looks like this:- <root> <foo attr="1">Some random strange text. <bar attr="2">blar</bar> <bar attr="3">blar blar</bar> <bar attr="4">blar blar blar</bar> </foo> </root>
2
1977
by: Paul Drummond | last post by:
Hi all, I am developing software for Linux Redhat9 and I have noticed some very strange behaviour when throwing exceptions within a shared library. All our exceptions are derived from std::exception. We have a base class which all processes derive from which is always instantiated in main surrounded by a try/catch(std::exception) which catches all exceptions that have not be handled at a higher level. The catch block cleans up and...
11
2599
by: Martin Joergensen | last post by:
Hi, I've encountered a really, *really*, REALLY strange error :-) I have a for-loop and after 8 runs I get strange results...... I mean: A really strange result.... I'm calculating temperatures. T = 20 degrees at all times.... The 2D T-array looks like this:
20
1685
by: SpreadTooThin | last post by:
I have a list and I need to do a custom sort on it... for example: a = #Although not necessarily in order def cmp(i,j): #to be defined in this thread. a.sort(cmp) print a
14
3362
by: blumen | last post by:
Hi all, I'm a newbie in VB.Net Programming.. Hope that some of you can help me to solve this.. I'm working out to read,parse and save textfile into SQL Server. The textfile contains thousands of rows with about 50 coloums every row.. Everythings goes well until I found one textfile with some strange character...seems to be Japanese character(because it's a Japanese company who owns this textfile)
0
9699
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9562
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10542
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10309
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
7600
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6840
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5496
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4274
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3795
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.