Webforumz's RSS FeedRSS Webforumz RegistrationRegister Contact Webforumz StaffContact

Bit of a gap in IE but not FF!

This is a discussion on "Bit of a gap in IE but not FF!" within the Web Page Design section. This forum, and the thread "Bit of a gap in IE but not FF! are both part of the Design Your Website category.


 Subscribe in a reader

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

Notices




Reply
 
LinkBack Thread Tools
  #1  
Old Mar 18th, 2008, 21:13
Junior Member
Join Date: Feb 2008
Location: King's Lynn, UK
Age: 38
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Bit of a gap in IE but not FF!

www.newfrontiereastofengland.com looks great in FF but not so good in IE - the problem is the search div - but I can't find what I have done wrong.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #2  
Old Mar 20th, 2008, 02:17
spinal007's Avatar
Moderator
Join Date: Mar 2004
Location: Good Ol'London
Age: 23
Posts: 1,685
Blog Entries: 1
Thanks: 1
Thanked 4 Times in 4 Posts
Re: Bit of a gap in IE but not FF!

IE'S box model is messed up. make sure to clear floats. See Ryan Fait's 'clearing with Css'.
__________________
Diego - Web-Developer & London SEO Expert
jQuery Plugins: Multiple File Upload, Star Rating, FCKEditor | NEW: XML to JSON
Last Blog Entry: Random String in Javascript (Apr 21st, 2008)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3  
Old Mar 20th, 2008, 09:12
Junior Member
Join Date: Feb 2008
Location: King's Lynn, UK
Age: 38
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Bit of a gap in IE but not FF!

That was hard to find, but I did find an article by him at http://ryanfait.com/articles/breakin...without-hacks/


I've tried
#clear{
width: 100%;
height: 1px;
margin: 0 0 -1px;
clear: both;
}

Hasn't worked though! Could you take another peek please?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #4  
Old Mar 20th, 2008, 12:11
spinal007's Avatar
Moderator
Join Date: Mar 2004
Location: Good Ol'London
Age: 23
Posts: 1,685
Blog Entries: 1
Thanks: 1
Thanked 4 Times in 4 Posts
Re: Bit of a gap in IE but not FF!

I hadn't looked last night. I was in the pub, on my mobile... which is why i was so brief.
Now that I tried to look, www.newfrontiereastofengland.com is giving me a 404 error.
Are you sure you spelt it correctly?
__________________
Diego - Web-Developer & London SEO Expert
jQuery Plugins: Multiple File Upload, Star Rating, FCKEditor | NEW: XML to JSON
Last Blog Entry: Random String in Javascript (Apr 21st, 2008)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #5  
Old Mar 20th, 2008, 12:21
Junior Member
Join Date: Feb 2008
Location: King's Lynn, UK
Age: 38
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Bit of a gap in IE but not FF!

Wow - answering forum questions in the pub. Not sure whether that is cool (because you have the technology to do it) or the conversation there was boring!!!

I can't believe I had a typo in my url. Doh!

www.newfrontierseastofengland.com

Thanks
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #6  
Old Mar 20th, 2008, 17:55
spinal007's Avatar
Moderator
Join Date: Mar 2004
Location: Good Ol'London
Age: 23
Posts: 1,685
Blog Entries: 1
Thanks: 1
Thanked 4 Times in 4 Posts
Re: Bit of a gap in IE but not FF!

Conversation was boring...
- In your CSS, instead of "#clear{" use ".clear{"
- Instead of <div id="nav"> use <div id="nav" class="clear">
- Ditch all the <div id="clear">
Basically, for each horizontal line in your layout, make sure they have class="clear".
Let me know if that works...
__________________
Diego - Web-Developer & London SEO Expert
jQuery Plugins: Multiple File Upload, Star Rating, FCKEditor | NEW: XML to JSON
Last Blog Entry: Random String in Javascript (Apr 21st, 2008)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #7  
Old Mar 20th, 2008, 18:28
Junior Member
Join Date: Feb 2008
Location: King's Lynn, UK
Age: 38
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Bit of a gap in IE but not FF!

Sadly that just made the nav disappear from view! Haven't uploaded because the site needs to work still.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #8  
Old Mar 20th, 2008, 18:50
Reputable Member
Join Date: Jun 2007
Location: uk
Posts: 459
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Bit of a gap in IE but not FF!

Try adding height:25px; to your search div

Pat
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #9  
Old Mar 20th, 2008, 19:26
Junior Member
Join Date: Feb 2008
Location: King's Lynn, UK
Age: 38
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Bit of a gap in IE but not FF!

Sorted. But why did that work?
FF didn't need it, so does IE 7.0 make up its own height?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #10  
Old Mar 20th, 2008, 19:47
Reputable Member
Join Date: Jun 2007
Location: uk
Posts: 459
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Bit of a gap in IE but not FF!

There might be a better solution than the one I have given you, If you check in ie6 you still have a 25px gap (it was 50px before) the height setting only seems to have fixed ie7.

Pat
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #11  
Old Mar 21st, 2008, 13:37
New Member
Join Date: Feb 2008
Location: London, UK
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Bit of a gap in IE but not FF!

Try adding a width on your a links.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
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 05:59.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 RC8