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
Why is my page displaying wrong in Firefox?
Old 10-26-2007, 10:16 PM Why is my page displaying wrong in Firefox?
Skilled Talker

Posts: 79
Name: ian
Trades: 0
The URL is http://www.collegecolosseum.com/testmain.php

In IE it displays fine, but in firefox I get extra space around the image with the chalkboard. Can anyone tell me why?
collegec is offline
Reply With Quote
View Public Profile Visit collegec's homepage!
 
 
Register now for full access!
Old 10-26-2007, 11:05 PM Re: Why is my page displaying wrong in Firefox?
vangogh's Avatar
Post Impressionist

Latest Blog Post:
Why Responsive Design?
Posts: 10,815
Name: Steven Bradley
Location: Boulder, Colorado
Trades: 0
It looks like the height of the table cell containing the image is being controlled by the combined height of the cells to the right of it.

You'll have to make the combined height of those three cells a little less. I think it's about 20px - 25px.

Generally if you develop things for Firefox first and then make fixes for IE it tends to be easier and quicker to sort out the problems just for future reference.
__________________
l Search Engine Friendly Web Design |
Please login or register to view this content. Registration is FREE

l Tips On Marketing, SEO, Design, and Development |
Please login or register to view this content. Registration is FREE

l
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
vangogh is offline
Reply With Quote
View Public Profile Visit vangogh's homepage!
 
Old 10-27-2007, 01:37 PM Re: Why is my page displaying wrong in Firefox?
Skilled Talker

Posts: 79
Name: ian
Trades: 0
vangogh - what do you mean by 20 - 25? It should be 20-25px less then the height of the picture?
collegec is offline
Reply With Quote
View Public Profile Visit collegec's homepage!
 
Old 10-27-2007, 05:21 PM Re: Why is my page displaying wrong in Firefox?
sin0cide's Avatar
Novice Talker

Posts: 7
Trades: 0
You probley need to remove margins from a tag containing the image but to tell you the truth I would start learning xhtml because everything on that page is wrong. (Outdated code) tables are not designed to make a layout thats what css and div tags are for.
sin0cide is offline
Reply With Quote
View Public Profile
 
Old 10-27-2007, 06:59 PM Re: Why is my page displaying wrong in Firefox?
vangogh's Avatar
Post Impressionist

Latest Blog Post:
Why Responsive Design?
Posts: 10,815
Name: Steven Bradley
Location: Boulder, Colorado
Trades: 0
Ian the 20-25px was just a guess as to how much you need to reduce the three cells to the right. That wasn't meant to be a total height for all three.

The space I see on top and bottom of the image looks like it's about 20+px.

I'm thinking you'd want to take most of the px out of the middle cell News: I only saw the height explicitly set on the form in the top cell so I think you'll need to add specific heights to the other two cells and then play around with those heights until you get things looking how you want.
__________________
l Search Engine Friendly Web Design |
Please login or register to view this content. Registration is FREE

l Tips On Marketing, SEO, Design, and Development |
Please login or register to view this content. Registration is FREE

l
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
vangogh is offline
Reply With Quote
View Public Profile Visit vangogh's homepage!
 
Old 10-27-2007, 07:31 PM Re: Why is my page displaying wrong 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
sin0cide, while I don't necessarily agree with the way he made his point (FYI dude...people are more receptive to tableless stuff if people don't cop elitist attitudes on them like that), is on to something.

What you can do is create a 900 x 265 pixel div with the College Colosseum graphic as the background for it, then create a right float for the text portion of it.

Something like this:
Code:
div#college-colosseum-slogan {
     width:  900px;
     height:  265px;
     overflow:  hidden;
     margin: 0;
     padding: 0;
     background:  URL(your picture goes here) top left no-repeat #4f4f4f;
}
div#login-box {
     float:  right;
     width:  300px;  /* adjust as appropriate */
     padding: 10px;
}
...
...
...
Code:
<div id="college-colosseum-slogan">
<div id="login-box">
Login stuff goes here
</div>
</div>
Mastering tableless layouts is like trying to get the coffee cup out of the hand of a spastic old rabid homeless woman. It's a ***** to do, but you feel so much better when you've conquered it. (Just take it a small step at a time.)
__________________

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-28-2007, 12:03 AM Re: Why is my page displaying wrong in Firefox?
sin0cide's Avatar
Novice Talker

Posts: 7
Trades: 0
Quote:
Originally Posted by ADAM Web Design View Post
(FYI dude...people are more receptive to tableless stuff if people don't cop elitist attitudes on them like that
I see how that might have come off as rude but I never intended it to be that way and I was busy at the time I did. so I appoligize(even if I can't spell it)
__________________
Brian(Webdesigner/SEO)

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


Please login or register to view this content. Registration is FREE
sin0cide is offline
Reply With Quote
View Public Profile
 
Old 10-28-2007, 12:45 AM Re: Why is my page displaying wrong in Firefox?
Skilled Talker

Posts: 79
Name: ian
Trades: 0
The corresponding table cells are 103, 72, and 90 (going top to bottom) which totals 265 pixels. The image to the left is 264 pixels in a 265 pixel box. Considering each side equals 265 I can't determine the problem.
collegec is offline
Reply With Quote
View Public Profile Visit collegec's homepage!
 
Old 10-28-2007, 12:52 AM Re: Why is my page displaying wrong 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
Quote:
Originally Posted by sin0cide View Post
I see how that might have come off as rude but I never intended it to be that way and I was busy at the time I did. so I appoligize(even if I can't spell it)
All is well. I didn't think it was your intention (it's not really the way most people mean for things to come out); it's just one of those things that happens when people know something. I do it all the time.
__________________

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-28-2007, 12:52 AM Re: Why is my page displaying wrong 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
Quote:
Originally Posted by collegec View Post
The corresponding table cells are 103, 72, and 90 (going top to bottom) which totals 265 pixels. The image to the left is 264 pixels in a 265 pixel box. Considering each side equals 265 I can't determine the problem.
Did you try the div suggestion yet?
__________________

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-28-2007, 02:12 AM Re: Why is my page displaying wrong in Firefox?
Skilled Talker

Posts: 79
Name: ian
Trades: 0
Quote:
Originally Posted by ADAM Web Design View Post
Did you try the div suggestion yet?
Adam to be honest I don't know anything about CSS, div tags, floats, etc. I wouldn't even know where to begin to use that code you provided.
collegec is offline
Reply With Quote
View Public Profile Visit collegec's homepage!
 
Old 10-29-2007, 02:31 PM Re: Why is my page displaying wrong in Firefox?
vangogh's Avatar
Post Impressionist

Latest Blog Post:
Why Responsive Design?
Posts: 10,815
Name: Steven Bradley
Location: Boulder, Colorado
Trades: 0
Ian, I'm thinking there is extra height in paddings and margins and things like that.

When I reduced the height of top cell on the right by 20px the space around the image was mostly gone. There was still a few px of space left which is why I think it's closer to 25px that needs to be removed.

Just try taking about 8 px away from the height of each of the cells and see if if the space around the image goes away. If it works then adjust the heights until you get a look you're happy with.
__________________
l Search Engine Friendly Web Design |
Please login or register to view this content. Registration is FREE

l Tips On Marketing, SEO, Design, and Development |
Please login or register to view this content. Registration is FREE

l
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
vangogh is offline
Reply With Quote
View Public Profile Visit vangogh's homepage!
 
Reply     « Reply to Why is my page displaying wrong 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 1.72871 seconds with 12 queries