HTML Tutorial


 Forum HomeForum Home   FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
RegisterRegister - Not registered yet? Got something to say? Join HTML Code Tutorial!
Infidelities in Firefox
Post new topic   Reply to topic    HTML Help Forum Index -> Free Hosting
View previous topic :: View next topic  
Author Message
marcxx



Joined: 01 Nov 2009
Posts: 14

PostPosted: Wed Nov 04, 2009 8:24 pm     Infidelities in Firefox Reply with quote

How can I solve these layout problems in Firefox, okay in IE?

centering, font-size (why are some instances okay?); spacing in tables appears to be a very wide default.

Sample code:

Code:
<table border=0 cellpadding="2" cellspacing="3"><tr><th>Subject:</th><td>Economics and politics</td></tr>
<tr><th>Style:</th><td>Reading Review</td></tr>
<tr><th>Excerpt:</th></table>



M
sticks464



Joined: 31 Dec 2006
Posts: 2311

PostPosted: Wed Nov 04, 2009 9:02 pm     Reply with quote

Could it be that there is no font size set, I see no centering attributes?
FF and IE display default font sizes differently. Is the default font set the same for each browser?

I viewed with IE7 & 8, Opera, Safari, Chrome and FF and appearance is the same.
marcxx



Joined: 01 Nov 2009
Posts: 14

PostPosted: Wed Nov 04, 2009 11:52 pm     Infidelities in Firefox Reply with quote

To sticks464:

Actually, sticks464, I obviously can't include the full code. I can answer your points, though:

1. Font sizes are set in a .css file. They are okay in IE, but definitely not showing up correctly in Firefox.

2. Centering works in IE but only in some places in Firefox, again there are these attributes in the .css file.

3. I have generally stated what dimensions I want RATHER THAN use defaults. In the code for the table (provided) there are cellspacing and cellpadding values which seem much wider in Firefox. I did what you did, sticks464, I pasted the sample code into a new .htm file. The results are indeed the same for just the sample code, and the code is responsive to changes in the cellspacing and cellpadding values.

But in IE, in my original code, the table looks more squashed when values are the same. There seem to be no other defining attributes for the table.

I hope you are following me!!!
sticks464



Joined: 31 Dec 2006
Posts: 2311

PostPosted: Thu Nov 05, 2009 5:16 am     Reply with quote

Quote:
marcxx
Quote:
I obviously can't include the full code.

Without the code to see what is actually causing the problem it is counter productive to keep guessing. Code or a live site is essential to troubleshooting code/css problems.

If this is a secret government project then I understand. I don't want you to kill me if I see the code. (joke).

Quote:
marcxx
Quote:
in IE, in my original code, the table looks more squashed when values are the same.

That means something else is contributing to cause the problem.
marcxx



Joined: 01 Nov 2009
Posts: 14

PostPosted: Thu Nov 05, 2009 7:16 pm     Reply with quote

Hi sticks464

I appreciate you would like the whole code. I've prepared it but now I can't find where to upload it here.

1. I can paste it all here, but it's messy--you'd have to paste them back into separate files.

2. Maybe you can tell me the upload function here.

3. If you're comfortable to provide your email...
Laughing
marcxx



Joined: 01 Nov 2009
Posts: 14

PostPosted: Thu Nov 05, 2009 7:18 pm     Reply with quote

As I was saying, if you want to provide email to my email at q26d [at] yahoo.com Cool
sticks464



Joined: 31 Dec 2006
Posts: 2311

PostPosted: Thu Nov 05, 2009 8:03 pm     Reply with quote

Check pm.
Display posts from previous:   
Post new topic   Reply to topic    HTML Help Forum Index -> Free Hosting All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
HTML Help Archive
Powered by phpBB © 2001, 2005 phpBB Group
HTML Help topic RSS feed 

 
DARFUR
HOSTING / DESIGN
MAKE MONEY

Home
  |   Tutorials   |   Forum   |   Quick List   |   Link Directory   |   About
Copyright ©1997-2002 Idocs and ©2002-2007 HTML Code Tutorial