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

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 1578
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#propdef-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**@w3development.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#propdef-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**@w3development.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#propdef-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**@w3development.de> declaimed:
Neredbojias wrote:
To further the education of mankind, Johannes Koch
<ko**@w3development.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#propdef-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**@w3development.de> declaimed:
Neredbojias wrote:
To further the education of mankind, Johannes Koch
<ko**@w3development.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#propdef-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
Gerry Vandermaesen wrote:
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".
Not quite. 'border-left-style: none' sets only the left border style.
'border-left: none' will set not only the style, but also the colour and
width.

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
}

Did you spot the paragraph below the example which points out that this
gives you a black left border? Using 'border-left-style: double' here
instead of 'border-left: double' would give a red left border.
Apr 11 '06 #11
Johannes Koch wrote:
Neredbojias wrote:
"None" is not a listed parameter of the "border-left:" attribute.


PLease give a reference to this list of parameters.


According to the spec:
http://www.w3.org/TR/REC-CSS2/box.ht...der-properties

the value of border-left can be width OR style OR color.

The values allowed for border-style include 'none'.

Therefore, it would follow that 'none' is an allowable value for
border-left, too.
Apr 11 '06 #12
To further the education of mankind, Johannes Koch <ko**@w3development.de>
declaimed:
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.


OK, I read Tony's reply and agree with it. So I was wrong. First time
ever...

--
Neredbojias
Infinity can have limits.
Apr 11 '06 #13
To further the education of mankind, Johannes Koch <ko**@w3development.de>
declaimed:
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.


OK, I read Tony's reply and agree with it. So I was wrong. First time
ever...
--
Neredbojias
Infinity can have limits.
Apr 11 '06 #14
To further the education of mankind, Johannes Koch <ko**@w3development.de>
declaimed:
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.


OK, I read Tony's reply and agree with it. So I was wrong. First time
ever...

--
Neredbojias
Infinity can have limits.
Apr 11 '06 #15

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

Similar topics

2
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...
2
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...
11
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...
20
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
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...
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
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: 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:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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...
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...

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.