Different text spacing in IE than other browsers

This is a discussion on "Different text spacing in IE than other browsers" within the Web Page Design section. This forum, and the thread "Different text spacing in IE than other browsers are both part of the Design Your Website category.



Go Back   Webforumz.com > Main Forums > Design Your Website > Web Page Design

Notices


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old Jan 21st, 2008, 12:13
SuperMember

SuperMember
Join Date: Aug 2006
Location: Suffolk
Age: 30
Posts: 91
Thanks: 0
Thanked 0 Times in 0 Posts
Different text spacing in IE than other browsers

Hi,

I've just added a Biography to my site and the spacing looks perfect in Opera and Firefox, but IE 5 spreads the text out so that it goes beyond the bottom of the page. What is the best way of dealing with/preventing this?

Also, and this is something I've struggled with for ages, the artist's name fits nicely in the navigation column in Opera and Firefox but goes onto 2 lines in IE5. I've tried removing the first name, but it still doesn't fit - the only way I can get it to work is to reduce the font to a size that is too small to read easily.


This is the site.


Any ideas on how I can overcome these probs with IE would be gratefully received, as I'm completely stuck.

Thanks.

Ruby
Reply With Quote

  #2 (permalink)  
Old Jan 21st, 2008, 12:41
SuperMember

SuperMember
Join Date: May 2007
Location: UK
Age: 27
Posts: 1,111
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Different text spacing in IE than other browsers

My advice: don't waste your time on this.

Hardly anyone uses IE5. It's a dead browser.
Reply With Quote
  #3 (permalink)  
Old Jan 21st, 2008, 12:52
SuperMember

SuperMember
Join Date: Aug 2006
Location: Suffolk
Age: 30
Posts: 91
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Different text spacing in IE than other browsers

The artist's name spacing problem exists in ie7 as well. I've only got ie5 so I can't check the spacing of the biography at the moment, but suspect it may be the same. It it a general IE thing, and is there a work around?
Reply With Quote
  #4 (permalink)  
Old Jan 21st, 2008, 13:16
SuperMember

SuperMember
Join Date: May 2007
Location: UK
Age: 27
Posts: 1,111
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Different text spacing in IE than other browsers

Quote:
Originally Posted by rubyfruit22 View Post
The artist's name spacing problem exists in ie7 as well. I've only got ie5 so I can't check the spacing of the biography at the moment, but suspect it may be the same. It it a general IE thing, and is there a work around?
Um...

You really need to get newer versions of IE. You should be testing in IE6 and IE7, which account for about 80% market share.

Each version has its own set of bugs, although some are common to all.
Reply With Quote
  #5 (permalink)  
Old Jan 21st, 2008, 13:22
SuperMember

SuperMember
Join Date: Jun 2007
Location: uk
Posts: 459
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Different text spacing in IE than other browsers

This website may be of use to you.

http://tredosoft.com/Multiple_IE

Cheers

Pat
Reply With Quote
  #6 (permalink)  
Old Jan 21st, 2008, 16:53
SuperMember

SuperMember
Join Date: Aug 2006
Location: Suffolk
Age: 30
Posts: 91
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Different text spacing in IE than other browsers

Hi,

Thank you for the advice. I have embraced change and updated to IE 7 (finally!). This sorts out the problem with the artist's name but the spacing of the biography is still a problem. As mentioned above, the text fits perfectly on the page in Opera and Firefox, but not in IE. I've validated my coding, but still can't find the reason.

Thanks, Ruby
Reply With Quote
  #7 (permalink)  
Old Jan 21st, 2008, 17:17
SuperMember

SuperMember
Join Date: Jun 2007
Location: uk
Posts: 459
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Different text spacing in IE than other browsers

You have a parse error in your CSS.

Parse Error - html, body { margin: 0; padding: 0; background-color: white; color: black; font-size: 100.01%; font-family: sans-serif; }.

Try fixing the error, it may solve your problem.

Pat
Reply With Quote
  #8 (permalink)  
Old Jan 22nd, 2008, 12:36
SuperMember

SuperMember
Join Date: Aug 2006
Location: Suffolk
Age: 30
Posts: 91
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Different text spacing in IE than other browsers

Ah - I thought I could escape without the parse error causing any problems, but you're right - it does need fixing. I've had it for several months and still can't work out how to fix the error. This is my first coded site.

Any ideas on how to solve the error? I've tried taking out the .01 and putting in px after the margin and padding 0's, and re-ordering the coding - but none of these seem to make any difference so bar the ordering I've reverted to the original.

Thanks you.

Ruby

Last edited by rubyfruit; Jan 22nd, 2008 at 12:45.
Reply With Quote
  #9 (permalink)  
Old Jan 22nd, 2008, 13:42
SuperMember

SuperMember
Join Date: May 2007
Location: UK
Age: 27
Posts: 1,111
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Different text spacing in IE than other browsers

Why do you want the font-size at 100.01%? Why not just 100%?
Reply With Quote
  #10 (permalink)  
Old Jan 22nd, 2008, 14:08
SuperMember

SuperMember
Join Date: Aug 2006
Location: Suffolk
Age: 30
Posts: 91
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Different text spacing in IE than other browsers

I started using 100.01% because of this thread http://www.webforumz.com/css-forum/8...-font-size.htm

But having re-read the thread, I could probably revert to 100%. However despite changing it I've still got my parse error...
Reply With Quote
  #11 (permalink)  
Old Jan 22nd, 2008, 14:50
SuperMember

SuperMember
Join Date: May 2007
Location: UK
Age: 27
Posts: 1,111
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Different text spacing in IE than other browsers

Quote:
Originally Posted by rubyfruit22 View Post
I started using 100.01% because of this thread http://www.webforumz.com/css-forum/8...-font-size.htm

But having re-read the thread, I could probably revert to 100%. However despite changing it I've still got my parse error...
I'm curious about your parse error. I think that you've been writing your CSS in a program such as MS Word, and that the validator is choking on an incorrectly encoded character.

You see, it validates fine if I copy and paste the code from your stylesheet!
Reply With Quote
  #12 (permalink)  
Old Jan 22nd, 2008, 20:33
SuperMember

SuperMember
Join Date: Jun 2007
Location: uk
Posts: 459
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Different text spacing in IE than other browsers

I agree with Mike. there are some strange characters appearing in your html as well.
Reply With Quote
  #13 (permalink)  
Old Jan 23rd, 2008, 09:40
SuperMember

SuperMember
Join Date: Aug 2006
Location: Suffolk
Age: 30
Posts: 91
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Different text spacing in IE than other browsers

I never would have thought of that - thank you!

I've been using MS Notepad. Can I ask what other people use? I'm going to have a think and find a different method.

Thank you.

Ruby
Reply With Quote
  #14 (permalink)  
Old Jan 23rd, 2008, 09:47
SuperMember

SuperMember
Join Date: Aug 2006
Location: Suffolk
Age: 30
Posts: 91
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Different text spacing in IE than other browsers

I've just found a thread about what programmes to use - so I'll implement and get back to you with the results! Thanks. R
Reply With Quote
  #15 (permalink)  
Old Jan 23rd, 2008, 10:17
SuperMember

SuperMember
Join Date: May 2007
Location: UK
Age: 27
Posts: 1,111
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Different text spacing in IE than other browsers

Hmmm. Notepad should be all right, because it's just a text editor (not a word processor like MS Word). Wordpad is not all right.

But if you copied text into it from elsewhere, then perhaps that's causing a problem.

What a mysterious error!

Last edited by MikeHopley; Jan 23rd, 2008 at 10:24.
Reply With Quote
  #16 (permalink)  
Old Jan 23rd, 2008, 10:50
SuperMember

SuperMember
Join Date: Aug 2006
Location: Suffolk
Age: 30
Posts: 91
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Different text spacing in IE than other browsers

How bizare - I downloaded PSPad and opened the stylesheet in it and resaved it, uploaded it - and it validates! I've done the same with the biography.

One battle won - my CSS validates 100%

However I still have a different spacing in IE7. Should I create a different stylesheet for IE?

Off to re-save all the pages!

Ruby
Reply With Quote
  #17 (permalink)  
Old Jan 23rd, 2008, 11:18
SuperMember

SuperMember
Join Date: Jun 2007
Location: uk
Posts: 459
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Different text spacing in IE than other browsers

you seem to have two #outer settings in your css.

That may be having some effect.
Reply With Quote
  #18 (permalink)  
Old Jan 23rd, 2008, 11:40
SuperMember

SuperMember
Join Date: Aug 2006
Location: Suffolk
Age: 30
Posts: 91
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Different text spacing in IE than other browsers

That was just to help me to see clearly what I was doing as this is my first site - but I have put both the #outer and the #sidebar into one command now.

I've split the commands onto two lines quite a few times - I didn't think it would affect things, but now I'm guessing this not good practice?

Thank you,

Ruby
Reply With Quote
  #19 (permalink)  
Old Jan 23rd, 2008, 12:31
spinal007's Avatar
Moderator
Join Date: Mar 2004
Location: Good Ol'London
Age: 22
Posts: 1,619
Blog Entries: 1
Thanks: 0
Thanked 2 Times in 2 Posts
Send a message via ICQ to spinal007 Send a message via MSN to spinal007 Send a message via Yahoo to spinal007 Send a message via Skype™ to spinal007
Re: Different text spacing in IE than other browsers

I missed the entire conversation but for what it's worth, IE5 is no longer supported by MS.
MS now have a policy of ditching 2 generations old versions of their software.
Last Blog Entry: Random String in Javascript (Apr 21st, 2008)
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Spacing text links in a single DIV slimboyfatz32 Web Page Design 7 Jan 30th, 2008 10:44
Css Spacing Help! RZX Developer Web Page Design 5 Aug 13th, 2007 12:26
Spacing paragraphs polkadot Starting Out 3 May 25th, 2007 12:48
div spacing johnnybravo Web Page Design 13 Sep 6th, 2006 12:06
spacing around images AdRock Web Page Design 4 Aug 2nd, 2006 21:32


All times are GMT. The time now is 08:38.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43