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.

Website Design Forum


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



Freelance Jobs

Reply
Problems with margins in Firefox
Old 10-31-2006, 12:12 AM Problems with margins in Firefox
Novice Talker

Posts: 13
Trades: 0
Problems with margins in Firefox
Hi everyone,
I am having problems with margins in Firefox.
I have a wrapper div and a div inside it with id="problem".
When I apply a top margin to the problem div which is inside the wrapper div, the margin
is being applied to the body or to the wrapper.
In IE5.X and IE6 the margin is being applied correctly.
The page is located here: http://www.leage.cn
Anyone have any ideas of what is happening?
leagewipes is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 10-31-2006, 10:20 AM Re: Problems with margins in Firefox
ADAM Web Design's Avatar
Canadastaninianite

Posts: 5,935
Name: Adam for web page design, not program
Location: Toronto, Ontario, Canada
Trades: 0
I don't see any of the divs you're referring to, but it's next to impossible to tell what would be causing your problem because, simply stated, your code is terrible.

Actually, the entire site is (especially that annoying piano tune....turn that stuff off. Seriously.)

http://validator.w3.org/check?uri=ht...2Fwww.leage.cn

http://jigsaw.w3.org/css-validator/v...usermedium=all

Simply put, you need to get through as many of THOSE errors as possible, then solve your usability errors (some of which will be solved in the first step), and then come back and ask your question. There are too many possibilities at this point.
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
(my blog)


Please login or register to view this content. Registration is FREE
(with proof)
ADAM Web Design is offline
Reply With Quote
View Public Profile Visit ADAM Web Design's homepage!
 
Old 10-31-2006, 01:20 PM Re: Problems with margins in Firefox
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
I agree with Adam, your code is mess with all kinds of errors.
You also need a proper DOCTYPE.

Why are you using tables at all ?? If you're going to use CSS.. then USE IT for the layout.

Another note, ID's are UNIQUE, you cannot re-use an ID. If you must reuse a set of rules, use a class instead.
__________________
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 Problems with margins 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.19330 seconds with 12 queries