Alignment Issues in FF/IE

This is a discussion on "Alignment Issues in FF/IE" within the Web Page Design section. This forum, and the thread "Alignment Issues in FF/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 Jun 19th, 2008, 10:00
Junior Member
Join Date: May 2008
Location: Ireland
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
Alignment Issues in FF/IE

Hi,
I'm an average web-designer I suppose. I have been at it for a number of years on and off. I'm after a long break on the ski slopes and currently trying to get back into the swing. I hope this forum and its members can help me learn and develop my trade.

So I've been redesigning a site for a client for a while, I'm just getting back into the swing of this stuff after sometime off. I've had the usual FF vs. IE problems and gotten it down to just two pages that I can't figure out how to solve. I would really appreciate some advice!

They display fine in IE and are a mess in FF. The page links are;

http://www.bjmarine.net/newsite/salesteam.html

http://www.bjmarine.net/newsite/services.html

http://www.bjmarine.net/newsite/images/bjmarine.css

Thanks for your input in advance!
Denis

Last edited by drhoctor; Jun 19th, 2008 at 10:04. Reason: Mistaken first post!
Reply With Quote

  #2 (permalink)  
Old Jun 19th, 2008, 16:50
Aso's Avatar
Aso Aso is online now
Chief Moderator

SuperMember
Join Date: Oct 2007
Location: UK
Posts: 1,129
Blog Entries: 2
Thanks: 5
Thanked 36 Times in 33 Posts
Re: Alignment Issues in FF/IE

You are a victim of floats!

In IE, floats are automatically 'cleared' (incorrectly according to the CSS spec). However FF does not clear them (which is how it should be )

For each 'block' of content you have on your pages, add this to their declaration;
Code: Select all
clear: both
I should also mention that on some of your pages you're using ID's more than once. If you need this facility, uses classes instead (difference between class and ID)
Last Blog Entry: The Google Misconception (Feb 3rd, 2008)
Reply With Quote
The Following User Says Thank You to Aso For This Useful Post:
  #3 (permalink)  
Old Jun 20th, 2008, 09:28
Junior Member
Join Date: May 2008
Location: Ireland
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Alignment Issues in FF/IE

Thanks for that! clear: both; works great but when I change the mulitple id nests to class it stacks all the divs on top of each other vertically down the page.
Reply With Quote
  #4 (permalink)  
Old Jun 20th, 2008, 14:19
Junior Member
Join Date: May 2008
Location: Ireland
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Alignment Issues in FF/IE

Sorted it. I just needed to change the css file from # to .
Reply With Quote
  #5 (permalink)  
Old Jun 20th, 2008, 20:14
Aso's Avatar
Aso Aso is online now
Chief Moderator

SuperMember
Join Date: Oct 2007
Location: UK
Posts: 1,129
Blog Entries: 2
Thanks: 5
Thanked 36 Times in 33 Posts
Re: Alignment Issues in FF/IE

Glad to help Denis. If you need any more help ask away
Last Blog Entry: The Google Misconception (Feb 3rd, 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


All times are GMT. The time now is 00:44.


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