|
From: hzgt9b on 15 Apr 2008 13:15 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 <ol> because 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/emailceloftis/text_shift_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.
From: Harlan Messinger on 15 Apr 2008 13:38 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 > <ol> because 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/emailceloftis/text_shift_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.
From: Bergamot on 15 Apr 2008 13:42 hzgt9b wrote: > > http://www.freewebtown.com/emailceloftis/text_shift_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
From: hzgt9b on 15 Apr 2008 13:51 On Apr 15, 1:42 pm, Bergamot <berga...(a)visi.com> wrote: > hzgt9b wrote: > > >http://www.freewebtown.com/emailceloftis/text_shift_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.
|
Pages: 1 Prev: Make HTML code show up on the web Next: Why does this look wrong in IE? |