473,387 Members | 1,515 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.

Odd CSS related text "reflow" issue?

Hi Folks

We are having an odd little effect happening with a non-tabled site
that uses fairly basic CSS.

It is only happening in IE it seems and it really is just a pixel
shift in a column of text, but the client has noticed it and wants it
fixed.

I wondered if any resident gurus may throw any light?

An example page can be seen here:

<http://www.littlejohnfraser.com/services/MERITservices.asp>

a screengrab from IE6 highlighting the problem can be seen here

<http://www.c-eye.co.uk/misc/ljftextproblem.jpg>

It seems to be related to when there is a right hand panel floated
right.

I know it's minor but as I say, the client wants it fixed and it would
be a shame to rebuild the site using tables :-(

TIA!

R

Jul 26 '05 #1
11 2476
On Tue, 26 Jul 2005 20:47:14 GMT, Rob O
<ro********@riverweb.dot.co.dot.uk> wrote:
Hi Folks

We are having an odd little effect happening with a non-tabled site
that uses fairly basic CSS.

It is only happening in IE it seems and it really is just a pixel
shift in a column of text, but the client has noticed it and wants it
fixed.

I wondered if any resident gurus may throw any light?

An example page can be seen here:

<http://www.littlejohnfraser.com/services/MERITservices.asp>

a screengrab from IE6 highlighting the problem can be seen here

<http://www.c-eye.co.uk/misc/ljftextproblem.jpg>

It seems to be related to when there is a right hand panel floated
right.

I know it's minor but as I say, the client wants it fixed and it would
be a shame to rebuild the site using tables :-(

TIA!

R


Follow up - it happens in Firefox too!!

R
Jul 26 '05 #2
On Tue, 26 Jul 2005 21:02:31 GMT, Rob O
<ro********@riverweb.dot.co.dot.uk> wrote:

R


Follow up - it happens in Firefox too!!

R


Arrgh - not it doesn't it's only IE - doh!

R
Jul 26 '05 #3
Once upon a time *Rob O* wrote:
Hi Folks

We are having an odd little effect happening with a non-tabled site
that uses fairly basic CSS.

It is only happening in IE it seems and it really is just a pixel
shift in a column of text, but the client has noticed it and wants it
fixed.

I wondered if any resident gurus may throw any light?

An example page can be seen here:

<http://www.littlejohnfraser.com/services/MERITservices.asp>

a screengrab from IE6 highlighting the problem can be seen here

<http://www.c-eye.co.uk/misc/ljftextproblem.jpg>

It seems to be related to when there is a right hand panel floated
right.

I know it's minor but as I say, the client wants it fixed and it would
be a shame to rebuild the site using tables :-(

TIA!


Try to make navcol id just a couple of pixels more narrow. This id's
bottom line is on the same level as the line "All these services ..."
is, so every line abowe will move to the left when you change the
width of the navcol id.

--
/Arne

Top posters will be ignored. Quote the part you
are replying to, no more and no less! And don't
quote signatures, thank you.
Jul 26 '05 #4
Rob O wrote:
Hi Folks

We are having an odd little effect happening with a non-tabled site
that uses fairly basic CSS.

It is only happening in IE it seems and it really is just a pixel
shift in a column of text, but the client has noticed it and wants it
fixed.

I wondered if any resident gurus may throw any light?

An example page can be seen here:

<http://www.littlejohnfraser.com/services/MERITservices.asp>

[...]
#all is specified as having a fixed width and there are then varying amounts
of margin/padding added to elements on the page. IE calculates the box
model somewhat differently so maybe you're seeing an effect of this? There
is a css hack regarding width and IE. I'm not saying it is this but it was
something that occured to me looking at the code. I could be miles off.

--
Robert
http://brightonfixedodds.net

Jul 26 '05 #5
Robert Frost-Bridges wrote:
Rob O wrote:
Hi Folks

We are having an odd little effect happening with a non-tabled site
that uses fairly basic CSS.

[...]
I meant to say, i didn't really get the header, I don't know if you knew?

http://brightonfixedodds.net/screencap.jpg

--
Robert
http://brightonfixedodds.net

Jul 26 '05 #6
Robert Frost-Bridges wrote:
Rob O wrote:
Hi Folks

We are having an odd little effect happening with a non-tabled site
that uses fairly basic CSS.

[...]
I meant to say I didn't really get the header, don't knew if you knew?

http://brightonfixedodds.net/screencap.jpg

--
Robert
http://brightonfixedodds.net

Jul 26 '05 #7
In message <17********************************@4ax.com>, Rob O
<ro********@riverweb.dot.co.dot.uk> writes
On Tue, 26 Jul 2005 20:47:14 GMT, Rob O
<ro********@riverweb.dot.co.dot.uk> wrote:
We are having an odd little effect happening with a non-tabled site
that uses fairly basic CSS. It is only happening in IE it seems and it really is just a pixel
shift in a column of text, but the client has noticed it and wants it
fixed.

Follow up - it happens in Firefox too!!


Is it? I thought this was only an Internet Explorer 6 'feature.'

Anyway, it's a well-known problem. I found this page helpful:

http://www.positioniseverything.net/...reepxtest.html

Unfortunately it involves some css hacking, but they pass through the
CSS valuator at http://www.w3.org/

Does anyone have alternative solutions?
--
Martin Jay
Jul 26 '05 #8

"Rob O" <ro********@riverweb.dot.co.dot.uk> kirjoitti
viestissä:fj********************************@4ax.c om...

<snip>
a screengrab from IE6 highlighting the problem can be seen here

<http://www.c-eye.co.uk/misc/ljftextproblem.jpg>


Looks like typical 3 pixel JOG bug. Googling for 3 pixel jog should give
you solution how to fix this. Been while I had to deal this issue so can't
be 100% sure I recall correctly, but I think you have to set some height,
most likely MAINTEXT class to height: 1px; or something like that.

Anyway, Google should give you more answers what fix is and if that cause
problems elsewhere...
Jul 27 '05 #9
On Wed, 27 Jul 2005 03:40:47 +0300, "W˙rm"
<no*************@north.invalid> wrote:

"Rob O" <ro********@riverweb.dot.co.dot.uk> kirjoitti
viestissä:fj********************************@4ax. com...

<snip>
a screengrab from IE6 highlighting the problem can be seen here

<http://www.c-eye.co.uk/misc/ljftextproblem.jpg>


Looks like typical 3 pixel JOG bug. Googling for 3 pixel jog should give
you solution how to fix this. Been while I had to deal this issue so can't
be 100% sure I recall correctly, but I think you have to set some height,
most likely MAINTEXT class to height: 1px; or something like that.

Anyway, Google should give you more answers what fix is and if that cause
problems elsewhere...


Yep thanks guys, you're on the money - it is the 3 pixel Jog.

There is a dodgy CSS hack that we have now tried on dev machine and it
has cured the problem - many thanks for the quick responses!

R
Jul 27 '05 #10
On Tue, 26 Jul 2005 22:56:49 +0100, Robert Frost-Bridges
<we*@brightonfixedodds.net> wrote:
Robert Frost-Bridges wrote:
Rob O wrote:
Hi Folks

We are having an odd little effect happening with a non-tabled site
that uses fairly basic CSS.

[...]
I meant to say I didn't really get the header, don't knew if you knew?

http://brightonfixedodds.net/screencap.jpg


Whoa! How did you manage to get that?

Can you let me know what browser / settings you were running?

Thx again

R
Jul 27 '05 #11
Rob O wrote:
http://brightonfixedodds.net/screencap.jpg


Whoa! How did you manage to get that?

Can you let me know what browser / settings you were running?


Firefox 1.04 or 5 I can't remember now (on Suse 9.3). I always have my
font-sizes set to 14, 14 and 14 minimum. We had an upgrade to 1.06 today
and it's looking normal at these settings. However, if you ctrl+ the
font-size up then the effect starts on the first click as it starts to
appear from under the headline.

--
Robert
http://brightonfixedodds.net

Jul 27 '05 #12

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

Similar topics

3
by: Steve Sabljak | last post by:
I seem to having a little trouble getting a table to display correctly in both msie and firefox. I want to set the table and column widths in pixels, and have some cell padding too. The table...
289
by: napi | last post by:
I think you would agree with me that a C compiler that directly produces Java Byte Code to be run on any JVM is something that is missing to software programmers so far. With such a tool one could...
4
by: john | last post by:
Hi to All, I am new to html authoring, so sorry if my terminology is not correct or exact. I would like to position a footer div to the bottom of the browser window. As I research in the web...
44
by: bg_ie | last post by:
Hi, I'm in the process of writing some code and noticed a strange problem while doing so. I'm working with PythonWin 210 built for Python 2.5. I noticed the problem for the last py file...
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: 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...
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
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,...
0
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...
0
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...

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.