Extra line spacing in Firefox vs IE

This is a discussion on "Extra line spacing in Firefox vs IE" within the Web Page Design section. This forum, and the thread "Extra line spacing in Firefox vs IE 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 Apr 15th, 2007, 03:40
New Member
Join Date: Sep 2006
Location: Parts Unknown
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Extra line spacing in Firefox vs IE

Hi. Need someone to take a quick look as what is wrong with my code.

This page displays perfect in any version of IE.

In Firefox on Mac or PC... it looks like my headers are double-spaced (space between LIVING ROOM, KITCHEN, etc).

http://www.digitalproperties.ca/20070413

It's obviously a CSS problem?

Thank you.
Reply With Quote

  #2 (permalink)  
Old Apr 15th, 2007, 03:47
Ryan Fait's Avatar
SuperMember

SuperMember
Join Date: May 2006
Location: Las Vegas
Posts: 3,786
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Extra line spacing in Firefox vs IE

Change the list to this:

Code: Select all
<ul id="menu">
  <li><a href="1_ivp.html" target="mainFrame" class="generaltext">Living Room</a></li>
  <li><a href="2_ivp.html" target="mainFrame" class="generaltext">Kitchen</a></li>
  <li><a href="3_ivp.html" target="mainFrame" class="generaltext">Bedroom &amp; Ensuite</a></li>
  <li><a href="4_ivp.html" target="mainFrame" class="generaltext">Entrance &amp; Foyer</a></li>
  <li><a href="5_ivp.html" target="mainFrame" class="generaltext">Guildford Rec Centre</a></li>
  <li><a href="6_ivp.html" target="mainFrame" class="generaltext">Guildford Shopping Mall</a></li>
  <li><a href="slideshow.html" target="mainFrame" class="generaltext">Photo Slideshow</a></li>
</ul>
And then add this to your CSS:

Code: Select all
ul#menu, ul#menu li {
    margin: 0;
    padding: 0;
    list-style: none;
}
Reply With Quote
  #3 (permalink)  
Old Apr 15th, 2007, 03:47
Ryan Fait's Avatar
SuperMember

SuperMember
Join Date: May 2006
Location: Las Vegas
Posts: 3,786
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Extra line spacing in Firefox vs IE

Oh yeah. And if you really want to clean up the site, DROP THE FRAMES!!! It's that important I had to use caps.
Reply With Quote
  #4 (permalink)  
Old Apr 15th, 2007, 05:22
New Member
Join Date: Sep 2006
Location: Parts Unknown
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Extra line spacing in Firefox vs IE

I would absolutely love to drop the frames. Just don't know how to create a single webpage to achieve the same effect... which of course is maintaining that header and having the separate page load within it upon clicking the link.

It is not feasible to recreate the header on each separate virtual tour page which is the only way I'd personally know how to do it (?)
Reply With Quote
  #5 (permalink)  
Old Apr 15th, 2007, 05:27
New Member
Join Date: Sep 2006
Location: Parts Unknown
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Extra line spacing in Firefox vs IE

Thanks for the reply.

I've changed to the code you quoted above... not only did it not remove the line spacing in Firefox... it has now added the unwanted spacing in IE7.

Am I missing an element?
Reply With Quote
  #6 (permalink)  
Old Apr 15th, 2007, 12:16
SuperMember

SuperMember
Join Date: Sep 2006
Location: Pink House
Posts: 3,946
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Extra line spacing in Firefox vs IE

Is Layer1 is your div for the menu right?
add
Code: Select all
margin: 0
padding: 0
to the css
Reply With Quote
  #7 (permalink)  
Old Apr 16th, 2007, 00:17
Ryan Fait's Avatar
SuperMember

SuperMember
Join Date: May 2006
Location: Las Vegas
Posts: 3,786
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Extra line spacing in Firefox vs IE

I don't have access to IE7 at the moment, but the extra spacing can't be coming from that list... All the margins and padding are set to zero. About the header thing, use PHP includes. Frames are bad in just about every way.
Reply With Quote
Reply

Tags
bad css, firefox, line space

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
Extra Spaces! CloudedVision Webforumz Suggestions and Feedback 1 Jun 2nd, 2008 01:01
Extra code displaying in Firefox? Kreeyon Web Page Design 5 Apr 3rd, 2008 19:21
IE 7 vs Firefox & extra space between divs Kurt Web Page Design 4 Sep 20th, 2007 21:26
Weird extra spacing on ie6 Voodoochilli Web Page Design 5 Jun 26th, 2007 01:15
Getting the extra space off of my frames Ralis Web Page Design 11 May 19th, 2007 03:07


All times are GMT. The time now is 13:10.


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