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

Text shift problem...

I am working on a site that is being served to a private network. All
the users are using IE.

What I am trying to do is label some groups of text - I can't use an
<olbecause the labeling will be broken over several divs - thus I
decided that I would add the labels manually. What I thought I could
do was float my label div to the left then use the left-margin of my
next div to create the offset or margin. This seems to be working fine
except that the text on the 1st couple of lines in the 2nd div is
shifted to the right by a couple of pixels.

Here's a sample page showing the problem:
http://www.freewebtown.com/emailcelo...t_problem.html.
Notice that the 1st line or so of the text inside blue bordered divs
is shifted to the right by a few pixels.

QUESTIONS:
1. Is an easier way to get the labelling effect I am looking for? I'm
open to suggestions.
2. Regardless of my labelling issue, can anyone tell me what the
source of the text shift problem is and what can be done to correct
it?

Your feedback appreciated.
Jun 27 '08 #1
3 4224
hzgt9b wrote:
I am working on a site that is being served to a private network. All
the users are using IE.

What I am trying to do is label some groups of text - I can't use an
<olbecause the labeling will be broken over several divs
? You can put DIVs, and just about anything else, inside an LI.
- thus I
decided that I would add the labels manually. What I thought I could
do was float my label div to the left then use the left-margin of my
next div to create the offset or margin. This seems to be working fine
except that the text on the 1st couple of lines in the 2nd div is
shifted to the right by a couple of pixels.

Here's a sample page showing the problem:
http://www.freewebtown.com/emailcelo...t_problem.html.
Notice that the 1st line or so of the text inside blue bordered divs
is shifted to the right by a few pixels.
It is? It's all aligned when I look at it in Firefox and IE7.
Jun 27 '08 #2
hzgt9b wrote:
>
http://www.freewebtown.com/emailcelo...t_problem.html.
Notice that the 1st line or so of the text inside blue bordered divs
is shifted to the right by a few pixels.
http://www.positioniseverything.net/explorer.html

Look at 3-pixel jog, towards the bottom of the list

--
Berg
Jun 27 '08 #3
On Apr 15, 1:42*pm, Bergamot <berga...@visi.comwrote:
hzgt9b wrote:
http://www.freewebtown.com/emailcelo...t_problem.html.
Notice that the 1st line or so of the text inside blue bordered divs
is shifted to the right by a few pixels.

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

Look at 3-pixel jog, towards the bottom of the list

--
Berg
Yea, its the 3-pixel jog - thanks for putting a name to it for me.
Jun 27 '08 #4

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

Similar topics

3
by: Eric B | last post by:
I am looking for a text control (or API) that can emulate the behavior of CodeWrite where you can move the cursor in any direction on a blank text area and begin typing (so you are not confined to...
3
by: Antioch | last post by:
Ok, so Im a newb python programmer and I'm trying to create a simple python web-application. The program is simply going to read in pairs of words, parse them into a dictionary file, then randomly...
5
by: Lex | last post by:
As you may have seen in other posts I have a C# app that has custom shortcuts so I need to OwnerDraw my MenuItems. Thanx to vJ and Mick for the tips so far. I am almost there :-) My last (I...
22
by: Ram Laxman | last post by:
Hi all, I have a text file which have data in CSV format. "empno","phonenumber","wardnumber" 12345,2234353,1000202 12326,2243653,1000098 Iam a beginner of C/C++ programming. I don't know how to...
7
by: Csaba Gabor | last post by:
I'd like to detect the shift key when a button is "clicked" in Firefox/Mozilla. If the button is clicked with the mouse, no problem. However, if the onclick event is keyboard originated, then my...
4
by: sandhya | last post by:
Hello Folks, i hava a problem in coding of circular left shift of 25 bits in my program...how do i perform it, and how do i use unsigned in VB. My program (IDEA algorithm implementation in VB) ...
3
by: Amy Smith | last post by:
Hello there, I am having a small problem which been challenging me for few days and need help or advice. I am trying to calculate the day-shift for employees based on the time they started and...
1
by: dana1 | last post by:
I have a form with several combo boxes in the header used to determine the records that will be displayed on the form. When I tab or enter from the last combo box in the header, I want the focus to...
3
by: Pietro | last post by:
Hi all, First of all I'd like to thank you very very much ,as finally after many years of searching,I could find a code to disable/enable the shift key,but actually i cannot use the code as I'm...
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: 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
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
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,...
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...
0
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...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
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...

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.