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
Annoying space at top of browser window in Firefox
Old 07-10-2009, 08:04 PM Annoying space at top of browser window in Firefox
Ultra Talker

Posts: 283
Name: Digby
Location: New Zealand
Trades: 0
Hi Guys

I use Firefox as my browser to test all my work.

Here is situation where my website shows up perfectly in IE7 but not in Firefox ! In Firefox I get an annoying and space wasting gap of about 10 pixels between my browser window and the background to my header which I do not want.

All I want is my heading text in a large font with a colored background behind it. Here is my code. Any suggestions please ?

<div id="header">
<img src="http://www.webmaster-talk.com/images/silverfern.jpg" width="110" height="50" style="float:right;"/>
<h1>The New Desktop Coffee Mug Holder</h1>
</div>


h1 {
font-family:tubular, "comic sans ms", arial, sans-serif;
font-size:1.75em;
word-spacing:.25em;
letter-spacing:.0em;
padding-left:10px;
color:#000000CC;
}

Kind Regards
Digby
__________________
Would you like to help us sell our product ? If so please pm us
Digmen1 is offline
Reply With Quote
View Public Profile Visit Digmen1's homepage!
 
 
Register now for full access!
Old 07-10-2009, 08:05 PM Re: Annoying space at top of browser window in Firefox
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
Have you got a URL ?
Have you zeroed out all margins and padding ?
__________________
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 07-10-2009, 11:38 PM Re: Annoying space at top of browser window in Firefox
treyk4's Avatar
Skilled Talker

Posts: 89
Name: Trey
Trades: 0
As a general rule of thumb, I include this bit of css in EVERY webpage I make:
Code:
* {
margin: 0;
padding: 0;
}
This should probably help you fix your problem. If you'd prefer another method to fix this, this following code *should* work:
Code:
html, body {
margin: 0;
padding: 0;
}
HTH,
~Trey
treyk4 is offline
Reply With Quote
View Public Profile
 
Old 07-11-2009, 05:07 AM Re: Annoying space at top of browser window in Firefox
Ultra Talker

Posts: 283
Name: Digby
Location: New Zealand
Trades: 0
Thanks Guys

I followed your first bit of code Trevk4 and that worked perfectly, which is sort of what you said LadyInRed.
__________________
Would you like to help us sell our product ? If so please pm us
Digmen1 is offline
Reply With Quote
View Public Profile Visit Digmen1's homepage!
 
Reply     « Reply to Annoying space at top of browser window in Firefox
 

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.95301 seconds with 12 queries