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.

CSS Forum


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



Reply
Firefox adding unwanted space
Old 06-30-2009, 12:32 AM Firefox adding unwanted space
Skilled Talker

Posts: 52
Trades: 0
here is the website im working on
http://www.ripsense.com
if you see the fake ad at the right... in chrome or ie it is all the way up to the top of the page, but in firefox its down farther. This is making it extremely hard to put it exactly where I want it.
does anybody know why?
i put padding and margins to 0 thinking that was the problem but it didn't help, so i rlly have no clue.

heres my relevant code

HTML Code:
<div class="rightads">
<img src="https://www.google.com/adsense/static/en_US/images/skyscraper_img.jpg" alt=ads" />
</div>
Code:
div.rightads
{
float: right;
margin-top:0px;
margin-bottom:0px;
margin-right:0px;
margin-left:0px;
padding:0;
}
anybody have any idea?
ty for help
Webmaster Chris is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 06-30-2009, 02:47 AM Re: Firefox adding unwanted space
JeremyMiller's Avatar
WT Moderator

Posts: 1,712
Name: Jeremy Miller
Location: Las Vegas, NV
Trades: 0
Looks like you have this corrected as it shows fine for me in FF.
__________________
Jeremy Miller

Please login or register to view this content. Registration is FREE
JeremyMiller is offline
Reply With Quote
View Public Profile Visit JeremyMiller's homepage!
 
Old 06-30-2009, 10:38 AM Re: Firefox adding unwanted space
LadynRed's Avatar
Defies a Status

Posts: 10,016
Location: Tennessee
Trades: 0
I don't see a problem in Firefox either. However, the rendered code is showing THREE doctype statements!
__________________
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 06-30-2009, 11:43 PM Re: Firefox adding unwanted space
Skilled Talker

Posts: 52
Trades: 0
hmm ty for noticing that. im assuming now that i don't need to include doctype statements on php pages that im calling using php require or include...haha

ok and i don't understand why everybody is telling me their both the same..
i know they are not.. i've checked on many browsers on seperate computer..
maybe i was just unclear
the ad at the right of the page, that says unlimited rentals and is yellow with a picture of a cd, on google chrome, and the ie versians i have checked on (8 and i think 7), the ad appears all the way at the top of the page. However, in firefox, the add appears about 100 px down from the top of the page.
Webmaster Chris is offline
Reply With Quote
View Public Profile
 
Old 07-01-2009, 05:12 AM Re: Firefox adding unwanted space
StylaStyla's Avatar
Mad Man

Posts: 401
Name: Styla
Location: City of London
Trades: 0
Hi

as stated by LadynRed, remove

on lines 11 and 18
HTML Code:
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
You have several <body> and </body> tags as well as <html> </html>. Also remove these.

The skyscraper div #rightads should go after the #navcontainer div. This will fix your problem
__________________
Freelance Graphic Designer not for hire

Last edited by StylaStyla; 07-01-2009 at 05:16 AM..
StylaStyla is offline
Reply With Quote
View Public Profile Visit StylaStyla's homepage!
 
Old 07-01-2009, 11:28 AM Re: Firefox adding unwanted space
LadynRed's Avatar
Defies a Status

Posts: 10,016
Location: Tennessee
Trades: 0
Quote:
im assuming now that i don't need to include doctype statements on php pages that im calling using php require or include...haha
Right. The include should have JUST the part of the html/code for the part of the page that you're including.. no <html><head> or <body> tags.
__________________
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 Firefox adding unwanted space
 

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