Hello,
Please look at http://www.kidsinaction.org.uk/ie/ie.html in IE6 and
notice that there is a white vertical line on the right of the white
bit. This is caused (AFAICS) by IE not putting the "bottomr" element
right up against the right edge of the containing element, allowing the
white background to show through.
It works fine in FF and IE7. Both the XHTML and CSS validate fine. I
have this problem twice on the page I'm building, but I cut it down to a
simple case that shows the problem to make it easier to debug.
I think this might be the famous IE 3-pixel bug, but I'm not sure as I
thought that only applied to floating elements next to text. In my case,
I have an absolutely positioned element inside a div, without any floats
or text in sight. Also, the solutions for the IE 3-pixel bug all seem to
involve adding a width or height to the element, but all three elements
in this test case already have both a width and a height.
Anyone able to help me sort this out? Thanks
--
Alan Silver
(anything added below this line is nothing to do with me) 9 2600
Anyone have any idea on this? I'm pretty sure it's not the 3-pixel jog,
mainly as the gap has now been seen to be one pixel, not three.
Any help would be greatly appreciated. TIA
In article <+g************ **@nospamthanky ou.spam>, Alan Silver
<al*********@no spam.thanx.inva lidwrites
>Hello,
Please look at http://www.kidsinaction.org.uk/ie/ie.html in IE6 and notice that there is a white vertical line on the right of the white bit. This is caused (AFAICS) by IE not putting the "bottomr" element right up against the right edge of the containing element, allowing the white background to show through.
It works fine in FF and IE7. Both the XHTML and CSS validate fine. I have this problem twice on the page I'm building, but I cut it down to a simple case that shows the problem to make it easier to debug.
I think this might be the famous IE 3-pixel bug, but I'm not sure as I thought that only applied to floating elements next to text. In my case, I have an absolutely positioned element inside a div, without any floats or text in sight. Also, the solutions for the IE 3-pixel bug all seem to involve adding a width or height to the element, but all three elements in this test case already have both a width and a height.
Anyone able to help me sort this out? Thanks
--
Alan Silver
(anything added below this line is nothing to do with me)
"Alan Silver" <al*********@no spam.thanx.inva lidwrote in message
news:CP******** ******@nospamth ankyou.spam...
Anyone have any idea on this? I'm pretty sure it's not the 3-pixel jog,
mainly as the gap has now been seen to be one pixel, not three.
Unmaximize your browser window. Pick up an edge and very slowly move it left
and right. You will notice that the artifact appears and disappears,
depending on the width of the browser canvas, probably the users font size
and if the dog is barking as well.
It's due to the fact that you are trying to position things with pixel
precision and also using percentages for width. A percentage of what? The
browser canvas, and what if that percentage is not an integer? IE does not
like this sort of stuff. It'll round up, or down, or whatever and sometimes
it will leave an artifact there.
From what I can see you are starting a page that would be better drawn with
some paint program and destined to paper, and not the web. Rethink the
design. You already have WAY too much CSS, trying to control things with way
too much precision.
Hint: If you really know what you are doing and if you really understand all
the implications then you then may use position: absolute. not before.
--
Richard.
Alan Silver wrote:
Hello,
Please look at http://www.kidsinaction.org.uk/ie/ie.html in IE6 and
notice that there is a white vertical line on the right of the white
bit. This is caused (AFAICS) by IE not putting the "bottomr" element
right up against the right edge of the containing element, allowing the
white background to show through.
It works fine in FF and IE7. Both the XHTML and CSS validate fine. I
have this problem twice on the page I'm building, but I cut it down to a
simple case that shows the problem to make it easier to debug.
I think this might be the famous IE 3-pixel bug, but I'm not sure as I
thought that only applied to floating elements next to text. In my case,
I have an absolutely positioned element inside a div, without any floats
or text in sight. Also, the solutions for the IE 3-pixel bug all seem to
involve adding a width or height to the element, but all three elements
in this test case already have both a width and a height.
Do no see your problem. But a bit of advice, unless your have a *real*
compelling reason to use XHTML use HTML 4.01 strict. You will have less
frustration with MSIE6...
--
Take care,
Jonathan
-------------------
LITTLE WORKS STUDIO http://www.LittleWorksStudio.com
In article <38************ *************@N AXS.COM>, Jonathan N. Little
<lw*****@centra lva.netwrites
>Do no see your problem. But a bit of advice, unless your have a *real* compelling reason to use XHTML use HTML 4.01 strict. You will have less frustration with MSIE6...
Unfortunately, XHTML is a project requirement, not my choice. I meant to
mention that in my original post, as I knew someone would raise it!
Thanks anyway
--
Alan Silver
(anything added below this line is nothing to do with me)
In article <qS************ ******@news-server.bigpond. net.au>, rf
<rf@invalid.com writes
> "Alan Silver" <al*********@no spam.thanx.inva lidwrote in message news:CP******* *******@nospamt hankyou.spam...
>Anyone have any idea on this? I'm pretty sure it's not the 3-pixel jog, mainly as the gap has now been seen to be one pixel, not three.
Unmaximize your browser window. Pick up an edge and very slowly move it left and right. You will notice that the artifact appears and disappears, depending on the width of the browser canvas, probably the users font size and if the dog is barking as well.
Well, it's actually there about 99% of the time. Just occasionally it
disappears, although the dog wasn't barking, so that might have affected
it.
>It's due to the fact that you are trying to position things with pixel precision and also using percentages for width.
What pixel precision? I'm trying to get the bottoml and bottomr divs to
sit right up against the left and right margins of their containers.
That's hardly trying to position with pixel precision. I've done this
many times before, and seen plenty of other example of it too.
A percentage of what?
What percentage? The only percentage in that whole bottom set of divs is
the 100% width for the container div. All of the CSS on the html and
body tags could have been removed. I should actually have taken it out
for this example, but forgot.
So I'm left with one single percentage, which is 100%. What's the
problem with that?
>The browser canvas, and what if that percentage is not an integer? IE does not like this sort of stuff. It'll round up, or down, or whatever and sometimes it will leave an artifact there.
Well, this would be fine if I were trying to position with percentages,
but I'm not. The bottomr div, which is the one causing the problem is
positioned absolutely, and has a top and right property of zero. Even
with IE's buggy rendering, I don't see why that would cause rounding
errors. Zero is zero. Sure, if I was specifying a percentage of
something, then rounding could occur, but there's nothing to round.
>From what I can see you are starting a page that would be better drawn with some paint program and destined to paper, and not the web. Rethink the design. You already have WAY too much CSS, trying to control things with way too much precision.
I have been designing web sites for about 12 years. I produce 100% valid
and compliant sites that adhere to web standards. I know how to design
web pages. What I am doing here hardly falls into the dee-ziner category
that you describe.
As I pointed out, you can ignore the CSS for the html and body tags
(which I've now removed from the sample page). What you are left with
are three fairly simple CSS declarations. How is that "way" too much
CSS, and how am I trying to control things with "way" too much
precision?
>Hint: If you really know what you are doing and if you really understand all the implications then you then may use position: absolute. not before.
Yes I do know what I'm doing. I have been using absolute positioning for
years and never had a problem with it before.
I understand your point of view. I have seen plenty people trying to do
pixel-perfect design, without understanding the nature of the web. You
were not to know that this does is not my situation. However, your
criticism does not seem justified. A quick look at the CSS would show
that I'm not doing a lot of what you suppose.
Anyway, I have found a hack that fixes the problem, but I would still
like to know why it is happening as I don't like using hacks. If you
have any suggestions about the actual problem, as opposed to telling me
that I am doing it the wrong way, I would be glad to hear them.
--
Alan Silver
(anything added below this line is nothing to do with me)
On 23 Jul, 15:50, Alan Silver <alan-sil...@nospam.t hanx.invalid>
wrote:
Unfortunately, XHTML is a project requirement,
People who make such arbitrary and clueless rules don't get to have
websites that work,
or sites that can be developed at reasonable cost (i.e. not inflated
solely by pandering to IE).
My sympathies on having to work around that (BTDT, had the 50% over-
run just to cope with IE5/Mac), but the fix is to drop the faked-up
XHTML, not to argue the indefensible. Good luck on the managerial
education project!
In article <11************ **********@w3g2 000hsg.googlegr oups.com>, Andy
Dingley <di*****@codesm iths.comwrites
>On 23 Jul, 15:50, Alan Silver <alan-sil...@nospam.t hanx.invalid> wrote:
>Unfortunatel y, XHTML is a project requirement,
People who make such arbitrary and clueless rules don't get to have websites that work, or sites that can be developed at reasonable cost (i.e. not inflated solely by pandering to IE).
Don't know. I don't have such strong feelings on the subject. I know
it's a bit of a religious topic round here, but I can't really see the
big deal about XHTML. You have to remember to close all tags, but apart
from that there's little difference.
I've never had any problems with it before, even with IE. I've always
managed to produce clean designs without hacks, and had them work fine
in IE. I guess that's why I don't get worked up about XHTML, never been
much of an issue. I've read some of the articles about how evil it is,
but IMO, there are more important things to worry about!
>My sympathies on having to work around that (BTDT, had the 50% over- run just to cope with IE5/Mac), but the fix is to drop the faked-up XHTML, not to argue the indefensible. Good luck on the managerial education project!
Not going to bother even trying to argue against the XHTML. The project
is going to be an ASP.NET site, and if you want valid code, you need to
use XHTML. AFAIK, the only options are valid XHTML or invalid HTML ;-(
Ta ra
--
Alan Silver
(anything added below this line is nothing to do with me)
On 23 Jul, 17:26, Alan Silver <alan-sil...@nospam.t hanx.invalid>
wrote:
Unfortunately, XHTML is a project requirement,
I can't really see the big deal about XHTML.
There is no big deal. That's why, if it's causing problems for you you
can dump it. The idea of it as an mandatory "project requirement" is
what I have the issue with.
For another thing, you're not using XHTML anyway, just Appendix C at
most.
Not going to bother even trying to argue against the XHTML. The project
is going to be an ASP.NET site, and if you want valid code, you need to
use XHTML. AFAIK, the only options are valid XHTML or invalid HTML ;-(
I'm assured by ASP.NET developer that it's not that bad: M$oft merely
make it ridiculously obscure for how to achieve valid HTML, not
completely impossible. 8-)
There's a similar issue with JSF Facelets. Although the source _into_
them must be XML (it must be XHTML + Facelets, with namespacing),
their _output_ can perfectly well be HTML.
In article <11************ **********@n60g 2000hse.googleg roups.com>, Andy
Dingley <di*****@codesm iths.comwrites
>On 23 Jul, 17:26, Alan Silver <alan-sil...@nospam.t hanx.invalid> wrote:
>Unfortunatel y, XHTML is a project requirement,
>I can't really see the big deal about XHTML.
There is no big deal. That's why, if it's causing problems for you you can dump it. The idea of it as an mandatory "project requirement" is what I have the issue with.
It isn't causing me any problems. Someone else said I shouldn't be using
XHTML without a compelling reason. AFAICS, XHTML is just HTML with a few
extra slashes to close tags. Apart from a few extra bytes in my output,
I can't see any problem with it at all.
>For another thing, you're not using XHTML anyway, just Appendix C at most.
Again, does it matter? Not trying to be awkward, but aren't there more
important things to worry about?
>Not going to bother even trying to argue against the XHTML. The project is going to be an ASP.NET site, and if you want valid code, you need to use XHTML. AFAIK, the only options are valid XHTML or invalid HTML ;-(
I'm assured by ASP.NET developer that it's not that bad: M$oft merely make it ridiculously obscure for how to achieve valid HTML, not completely impossible. 8-)
I've never found a way. I would be grateful if you could ask him how he
did it. Not that it bothers me. As I said, XHTML is fine by me, at least
until someone comes up with a compelling reason *not* to use it.
>There's a similar issue with JSF Facelets. Although the source _into_ them must be XML (it must be XHTML + Facelets, with namespacing), their _output_ can perfectly well be HTML.
Don't know, never used them. The ASP.NET framework emits a lot of the
code itself, and you don't seem to have much control over the level of
what comes out. They support XHTML strict and transitional, as well as
something called "legacy," which AFAICS is invalid HTML4. Given the
choice between those three, it didn't take long to go for XHTML strict!
Ta ra
--
Alan Silver
(anything added below this line is nothing to do with me) This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Kurt Watson |
last post by:
I’m having a different kind of problem with Hotmail when I sign in it
says, "Web Browser Software Limitations
Your Current Software Will Limit Your Ability to Use Hotmail
You are using a web browser that Hotmail does not support. If you
continue to use your current browser software we cannot guarantee that
Hotmail will work correctly for...
|
by: pshindle |
last post by:
DB2 Team -
I just downloaded and unzipped the new Fixpack 9 for DB2 ESE V8 for
Windows (FP9_WR21350_ESE.exe). I then burned the unzipped Fixpack
files to a CD. I proceded to install this Fixpack on a test machine
running ESE but encountered a serious error during the install. It
started 'copying new files' but then stopped cold and...
|
by: Jason |
last post by:
Hi,
I was wondering if any could point me to an example or give me ideas on how
to dynamically create a form based on a database table? So, I would have a
table designed to tell my application to create certain textboxes, labels,
and combo boxes? Any ideas would be appreciated.
Thanks
|
by: n3crius |
last post by:
hi,
i just got a web host with asp.net , seemed really cool. aspx with the
c# or vb IN the actual main page run fine, but when i use codebehind and
make another source file ( a .cs) to go with the aspx (as you would
realistically) I get this :
Details: To enable the details of this specific error message to be
viewable on remote...
|
by: Carlo, MCP |
last post by:
Hi,
Sorry for posting twice, but I hope in your comprehension. Please help me!
I'm troubling from months with a serious serialization problem that I'm not
able to solve. I try to describe as simply
as I can.
1) I have a class tha does something with colors. All default values are
obviously NOT serializad. Instead, they are serialized...
| |
by: David Van D |
last post by:
Hi there,
A few weeks until I begin my journey towards a degree in Computer
Science at Canterbury University in New Zealand,
Anyway the course tutors are going to be teaching us JAVA wth bluej and
I was wondering if anyone here would be able to give me some tips for
young players such as myself, for learning the language.
Is this the...
|
by: funfair |
last post by:
HI,EVERY ONE
first problem,
i have create a database in access 2003 it worked fine untill i have
format my laptop .
now im working on office 2003 on windows xp and i have norton 2006 but
im facing a problem in opening some forms from command button a message
appear the openform action was canceled and when i open them from the
database...
|
by: oldgent |
last post by:
I am having a problem installing the starter kits. I have reinstalled VS
2005, think that might be the problem. I then installed both 'Personal
Website" and the "Club Website" starter kits. I still have the same problem.
Any web starter kit that is installed under 'My Templates" does not allow
you to enter the location directory or use the...
|
by: PEB |
last post by:
POSTING GUIDELINES
Please follow these guidelines when posting questions
Post your question in a relevant forum
Do NOT PM questions to individual experts - This is not fair on them and we instruct our experts to ignore any such PMs completely
Be sure to give the version of Access that you are working with and the Platform and OS if...
|
by: violeta123 |
last post by:
I am stuck! Please help
It might be difficult to explain the problem via email, but I will try.
I have a Win 2003 Enterprise server running with the only purpose of a membership web site that uses SQL server 2000 database. I had the site for over 5 years, but the problem started about 6 months ago. At random times (at least I have not...
|
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...
| |
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. ...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
|
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...
|
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...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...
| |