Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

HTML Forum


You are currently viewing our HTML Forum as a guest. Please register to participate.
Login



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Reply
empty gap appears in firefox, how do i fix it?
Old 12-22-2009, 03:11 PM empty gap appears in firefox, how do i fix it?
Novice Talker

Posts: 12
Name: Henrik
Trades: 0
How do i make a little gap between the navigation bar and the iframe in IE?
at the same time i would like the gap smaller in firefox. It seems like
this code doesnt work in EI:

<!--[if !ie]>-->
<style>
#header{height:55px}
</style>
<!--<![endif]-->

http://www.hillsboroughrealestatelistings.com/

Please help guys

Thanks
henrikjt is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 12-22-2009, 03:57 PM Re: empty gap appears in firefox, how do i fix it?
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
Firefox does NOT read conditional comments, only IE does, so what you have will not effect FF at all.

Put the height:55px in your main CSS for GOOD browsers (meaning NOT IE)

Use a proper conditional comment for IE and feed it the height you want it to have. This CC will target any browser version below IE7

Quote:
<!--[if lt IE 7]>
<link href="iefixes.css" rel="stylesheet" type="text/css" />
<![endif]-->
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Old 12-22-2009, 05:27 PM Re: empty gap appears in firefox, how do i fix it?
Brian07002's Avatar
Defies a Status

Posts: 2,162
Name: ...
Location: ...
Trades: 0
Quote:
Originally Posted by henrikjt View Post
How do i make a little gap between the navigation bar and the iframe in IE?
at the same time i would like the gap smaller in firefox. It seems like
this code doesnt work in EI:

<!--[if !ie]>-->
<style>
#header{height:55px}
</style>
<!--<![endif]-->

http://www.hillsboroughrealestatelistings.com/

Please help guys

Thanks
Try a line break, which looks like <br /> or a paragraph break <p />
__________________
Made2Own

Please login or register to view this content. Registration is FREE
Brian07002 is offline
Reply With Quote
View Public Profile
 
Old 12-22-2009, 10:26 PM Re: empty gap appears in firefox, how do i fix it?
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
There is no need for a non-semantic line break in there. Using CSS to space things is the best approach.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to empty gap appears in firefox, how do i fix it?
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.24849 seconds with 12 queries