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
Another lost soul trying to make his site firefox compatible
Old 12-08-2004, 05:35 PM Another lost soul trying to make his site firefox compatible
lajkonik86's Avatar
Ultra Talker

Posts: 389
Trades: 0
Hey

is it my imagination or is firefox rendering css boxes different then ie


ie takes the width and then puts the margins and padding

ff takes the width and ads the margins and padding therefor your box is actually larger then your specified width.


my problem:
http://www.top-download.net/new/new.html
__________________
Know what to Download

Please login or register to view this content. Registration is FREE
lajkonik86 is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 12-08-2004, 06:31 PM
theshiznit's Avatar
Registered User

Posts: 214
Trades: 0
hmm..I'm using firefox and it looks great!

keep up the good work
theshiznit is offline
Reply With Quote
View Public Profile
 
Old 12-08-2004, 06:51 PM
lajkonik86's Avatar
Ultra Talker

Posts: 389
Trades: 0
notice the pixel difference between up and middle part of site
also the left table is too long on firefox making the bottom part black
The picture below right is in a css box which is also to big in firefox also causing problem with the background

And last but not least my big google ad isn't displaying well.
It sometimes loses the above part.
But i doubt that i can do something about it. It's either a google or firefox bug.
Just depends on how you look at it
__________________
Know what to Download

Please login or register to view this content. Registration is FREE
lajkonik86 is offline
Reply With Quote
View Public Profile
 
Old 12-08-2004, 09:41 PM
Rincewind's Avatar
Super Talker

Posts: 108
Trades: 0
The width, padding, margin, border size difference you are seeing is called the box model bug.

The box model is the way you add up width, padding, margin and border to get total hight and width. That is the total box that the element uses up.

There are two common box models. The border box and the conent box. The w3c recommends the content box as correct. However IE5 used the border box model. To further confuse things, IE6 uses both models.

IE6 has a system called doctype switching that will change how a page renders depending on how the page is coded. If your page is valid w3c standart code and has a doctype statement at the begining then IE6 runs in strict mode that uses the content box model. Where as, if you use invalid code, the wrong doctype or no doctype, then IE6 runs in Quirks moded. Quirks mode uses the old IE5 border box model.

A simple sollution to your problem, if you don't worry about IE5 and only care for IE6, would be to validate you html. You will then get IE6, FF and Opera all using the same box model (the content box model).

If you do want to support old browsers like IE5, then I suggest you read my tutorials listing various box model hacks and work arrounds.
http://www.splodgy.com/tutorials/box_model/
__________________
Q-4.net -
Please login or register to view this content. Registration is FREE

Stylegallery.co.uk -
Please login or register to view this content. Registration is FREE

Splodgy.com -
Please login or register to view this content. Registration is FREE
Rincewind is offline
Reply With Quote
View Public Profile
 
Old 12-09-2004, 09:44 AM
southernlady's Avatar
Extreme Talker

Posts: 175
Name: Liz
Location: NC
Trades: 0
Are you hand coding or using a wysiwyg editor? If you are using an editor, you can tell it to use Firefox as your primary browser. Liz
__________________


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

southernlady is offline
Reply With Quote
View Public Profile Visit southernlady's homepage!
 
Old 12-13-2004, 05:16 AM
lajkonik86's Avatar
Ultra Talker

Posts: 389
Trades: 0
handcoding.
Set mozzila browsers to also use the box model. For me the box model is far easier to work with then the content box
Works right now. Thx Rincewind and all others that replied
__________________
Know what to Download

Please login or register to view this content. Registration is FREE
lajkonik86 is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Another lost soul trying to make his site firefox compatible
 

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