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.



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

Notices


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old Mar 18th, 2008, 19: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.
Reply With Quote

  #2 (permalink)  
Old Mar 20th, 2008, 00:17
spinal007's Avatar
Moderator
Join Date: Mar 2004
Location: Good Ol'London
Age: 22
Posts: 1,620
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: 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'.
Last Blog Entry: Random String in Javascript (Apr 21st, 2008)
Reply With Quote
  #3 (permalink)  
Old Mar 20th, 2008, 07: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?
Reply With Quote
  #4 (permalink)  
Old Mar 20th, 2008, 10:11
spinal007's Avatar
Moderator
Join Date: Mar 2004
Location: Good Ol'London
Age: 22
Posts: 1,620
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: 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?
Last Blog Entry: Random String in Javascript (Apr 21st, 2008)
Reply With Quote
  #5 (permalink)  
Old Mar 20th, 2008, 10: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
Reply With Quote
  #6 (permalink)  
Old Mar 20th, 2008, 15:55
spinal007's Avatar
Moderator
Join Date: Mar 2004
Location: Good Ol'London
Age: 22
Posts: 1,620
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: 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...
Last Blog Entry: Random String in Javascript (Apr 21st, 2008)
Reply With Quote
  #7 (permalink)  
Old Mar 20th, 2008, 16: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.
Reply With Quote
  #8 (permalink)  
Old Mar 20th, 2008, 16:50
SuperMember

SuperMember
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
Reply With Quote
  #9 (permalink)  
Old Mar 20th, 2008, 17: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?
Reply With Quote
  #10 (permalink)  
Old Mar 20th, 2008, 17:47
SuperMember

SuperMember
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
Reply With Quote
  #11 (permalink)  
Old Mar 21st, 2008, 11: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.
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 03:17.


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