Know web design? HELP ME OUT THEN!!
Posted: 13 November 2004 02:12 PM     [ Ignore ]  
Administrator
Total Posts:  2574
Joined  2004-12-22

I cant figure it out for the life of me.

Check out http://www.gearlive.com.

In IE, everything is fine. In Firefox, the top graphic stretches to outside of the table. What the hell did I do wrong???  😢

 Signature 

Gear Live Media Network:
Gadgets, Games, Television, Sports, Food, Social Media, Seattle Mind Camp, Andru, Apps

Profile
 
Posted: 13 November 2004 02:31 PM   [ # 1 ]     [ Ignore ]   [ # 1 ]  
Board Apprentice
Total Posts:  1813
Joined  2004-12-28

My solution will be to increase the width of the main table…

Go to the file “styles-site.css”

Look for “#container”

and if you modify the width to 850 it will do it…

The final result should look like this

#container {
 line-height: 140%;
  margin-right: auto;
 margin-left: auto;
 text-align: left;
 padding: 0px;
 width: 850px;
 
 background-color: #FFFFFF;
 border: 3px solid #777777;
 }
Profile
 
Posted: 13 November 2004 03:13 PM   [ # 2 ]     [ Ignore ]   [ # 2 ]  
Board Apprentice
Total Posts:  1095
Joined  2005-07-06

You can change the size of the image. Currenty the image Gearlivelogo is 850 px in width. Crop some of the right off and u can make it 800 px. Then it will no londer brake out of the table. I made an example here:

__[url=http://www.filipes.com/gearlive/example.htm]http://www.filipes.com/gearlive/example.htm
[/url]

P.s

While the site is vieable on 800 x 600, it does make the scroll bars show up.

Profile
 
Posted: 13 November 2004 05:11 PM   [ # 3 ]     [ Ignore ]   [ # 3 ]  
Administrator
Total Posts:  2574
Joined  2004-12-22

I dont get it though…when I look at it in IE, there is NO problem at all. It looks perfect. Then in Firefox is shows up wierd. If I crop it, even if it gets fixed in Firefox, wont it then look odd in IE?

 Signature 

Gear Live Media Network:
Gadgets, Games, Television, Sports, Food, Social Media, Seattle Mind Camp, Andru, Apps

Profile
 
Posted: 13 November 2004 05:29 PM   [ # 4 ]     [ Ignore ]   [ # 4 ]  
Board Apprentice
Total Posts:  1095
Joined  2005-07-06

did you look at the example url i posted in IE?
__[url=http://www.filipes.com/gearlive/example.htm]http://www.filipes.com/gearlive/example.htm
[/url]

The reason the stretching occurs is because the image is 850 pixels in width while the div containing it is only 800 pixels. Firefox is doing the correct thing by expanding the div, while bugged out Internet Explorer crops the image. If #banner had overflow:hidden; then i would understand why Internet Explorer would hide the image after 800 pixels, but since overflow:hidden; is not specified inside #banner, there is no reason for it to be cropping the image. One of the reasons why i hate Internet Explorer and why it has put me through a lot of BS when making websites. Adding overflow:hidden; will also fix the problem, it tells the div not to display anything else after 800 pixels. It will work on both browsers, but to be on the safe side i would crop the image. Never know what other people are browsing with and how their browser will handle overflow:hidden;.

#banner
 {
 font-family: Verdana, Arial, sans-serif;
 color: #FFFFFF;
 background-color: #999999;
 text-align: left;
 padding: 0px;
 border-bottom: 1px solid #FFFFFF;
 height: 162px;
 overflow: hidden;
}
Profile
 
Posted: 13 November 2004 05:37 PM   [ # 5 ]     [ Ignore ]   [ # 5 ]  
You > Me
Total Posts:  97
Joined  2004-09-18

yes cut 50 pixels from the graphic, IE is just trying to stuff it in there while Firefox is actually displaying what… is

Profile
 
Posted: 13 November 2004 07:51 PM   [ # 6 ]     [ Ignore ]   [ # 6 ]  
Board Apprentice
Total Posts:  1813
Joined  2004-12-28

Firefox rocks!! To the hell IE that doesnt follow web standards…

getfirefox.com

Profile