home hardware prices news articles forums photos user reviews
Go Back   Tech Support Forums - TechIMO.com > PC Hardware and Tech > Webmastering and Programming
Ask a Tech Support Question (free)!

IE Pixel Bug

Reply
Get bargains at  »  Dealighted.com
 
Thread Tools Search this Thread
Currently Active Users: 2321
Discussions: 200,942, Posts: 2,379,295, Members: 246,305
Old February 1st, 2007, 11:21 PM   Digg it!   #1 (permalink)
Member
 
Bootlegger's Avatar
 
Join Date: Aug 2003
Posts: 91
IE Pixel Bug

EDIT: Some people couldn't see the pics, so I re-hosted them somewhere else. Thanks for letting me know!

I'm working on a website using css to lay everything out. I'm somewhat aware of that 3-pixel bug in IE, and my problem seems to be fairly similar. My layout looks fine in firefox; however, in IE my layout is off by 4 pixels.

Anyways, I captured a few pics to illustrate my problem and see if anyone has any suggestions:

So, here is a pic of the site in Firefox:


The banner at the top is 900 pixels. I have the div that encapsulates the border and everything else set to 904 pixels. The little gray strip under the banner is to just show where the image ends (I'll eventually have buttons going across there).


Now, here is a pic in IE:


Now, remember, I still have the width set to 904! And, again, the banner at the top is 900 pixels.


So, IE is chopping off 4 pixels. Does anyone have a clue why this is happening?

Thanks for any help!

Last edited by Bootlegger : February 2nd, 2007 at 03:19 AM.
Bootlegger is offline   Reply With Quote
Old February 2nd, 2007, 12:35 AM     #2 (permalink)
Ultimate Member
 
batmeat's Avatar
 
Join Date: Oct 2001
Posts: 2,710
For some reason the pic using internet exploder isn't loading for me in IE or firefox. Anyone else? I even went to imageshack to look at it directly and I get nothing.
__________________
How come Sour Cream can expire?
batmeat is offline   Reply With Quote
Old February 2nd, 2007, 02:08 AM     #3 (permalink)
Member
 
daedreem's Avatar
 
Join Date: Jan 2006
Location: Texas, Y'all.
Posts: 139
Quote:
Originally Posted by batmeat View Post
For some reason the pic using internet exploder isn't loading for me in IE or firefox. Anyone else? I even went to imageshack to look at it directly and I get nothing.

I can see it.
Unfortunately I don't have an answer for him...

And, off topic, I wonder if the spelling of peak like a mountain instead of peek like look is intentional?

Nice pun, if peak is in the business name.

Really though.. only replied just to say I could see the picture.
daedreem is offline   Reply With Quote
Old February 2nd, 2007, 02:26 AM     #4 (permalink)
Member
 
Bootlegger's Avatar
 
Join Date: Aug 2003
Posts: 91
Quote:
Originally Posted by daedreem View Post
I can see it.
Unfortunately I don't have an answer for him...

And, off topic, I wonder if the spelling of peak like a mountain instead of peek like look is intentional?

Nice pun, if peak is in the business name.

Really though.. only replied just to say I could see the picture.

Oh, geez! Those dang homonyms, I tell ya. It is, by no means, intentional that I spelled "peek" that way. Hey, although I haven't figured out my pixel dilemma, at least I have now learned to spell correctly! Thanks!
Bootlegger is offline   Reply With Quote
Old February 2nd, 2007, 02:31 AM     #5 (permalink)
Member
 
daedreem's Avatar
 
Join Date: Jan 2006
Location: Texas, Y'all.
Posts: 139
Quote:
Originally Posted by Bootlegger View Post
Oh, geez! Those dang homonyms, I tell ya. It is, by no means, intentional that I spelled "peek" that way. Hey, although I haven't figured out my pixel dilemma, at least I have now learned to spell correctly! Thanks!

LOL

I wondered..
I figured if it WASN'T intentional, that was good information for you to get.. even off-topic.

Homonyms will get ya every time.

Now.. good luck with your real question!! lol
daedreem is offline   Reply With Quote
Old February 2nd, 2007, 03:12 AM     #6 (permalink)
It's the cheese guy! ¬_¬;
 
paul9's Avatar
 
Join Date: Aug 2003
Location: Gateshead U.K.
Posts: 9,167
Send a message via MSN to paul9 Send a message via Yahoo to paul9
I don't see your IE pic, either.

http://img201.imageshack.us/img201/2758/ie904yq4.jpg at Imageshack gives me a timeout error, so it appears to be their fault.
__________________
No man's life, liberty, or property are safe while the legislature is in session. --Mark Twain (1866)

Last edited by paul9 : February 2nd, 2007 at 03:15 AM.
paul9 is offline   Reply With Quote
Old February 2nd, 2007, 03:54 AM     #7 (permalink)
Member
 
Bootlegger's Avatar
 
Join Date: Aug 2003
Posts: 91
Well, I found a "fix" that I wasn't aware of. I'm not too fond of fixes, as I'd rather do things correctly, so if anyone has any input as to why this problem is occurring, I'm very interested to hear.

Anyways, in my CSS file, I used the correct width (900) assignment for Firefox, followed by the '*' to define the width in IE (904).

Code:
#encapsall {
	width: 900px;
	*width: 904px;
	margin: 0 auto; /*Firefox center*/
.
.
.

Last edited by Bootlegger : February 2nd, 2007 at 04:59 AM.
Bootlegger is offline   Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Similar Threads
Thread Thread Starter Forum Replies Last Post
Pixel Pipelines ibanez_bass Graphics Cards and Displays 11 December 16th, 2006 11:22 PM
Stuck Pixel !! ChubTub Graphics Cards and Displays 1 July 10th, 2006 01:30 PM
Pixel Shader 3.0 mike_sanfil Graphics Cards and Displays 4 May 23rd, 2005 10:41 AM
Pixel to jacko49 Graphic Design and Digital Photography 0 January 13th, 2005 04:06 PM
I need to create an image and set it's color pixel by pixel sgough Graphic Design and Digital Photography 7 January 15th, 2004 05:32 PM


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Most Active Discussions
The disrespect of Obama by Russian .. (5)
Is It Just Me? (2918)
Hackers global warming emails (5)
windows 7 problem (7)
Wireless Televisions. (11)
CPU fan stops spinning randomly (8)
Regular Build (6)
Is the PSU I received dead? (11)
HIS HD5770 graphic card question (15)
windows vista security holes (9)
Install XP pro and a Vista laptop ?.. (11)
Print spooler problem (13)
Foreign voltage (10)
Dept. of HS: NSA 'Helped' Develop V.. (15)
Recent Discussions
Wireless Televisions. (11)
Have you switched yet? (86)
Asus P4G8X Mobo (5)
screen resolution vs monitor size (2)
radeon x850xt platinum & shader 3 (4)
sms storage to PC (0)
Regular Build (6)
Open With ..... Win7 (0)
java code for fibonacci (1)
[F@H SPAM 11/16/09] ! 1/2 months to r.. (35)
windows 7 problem (7)
CPU fan stops spinning randomly (8)
Partition Magic caused HDD problem (3)
Is the PSU I received dead? (11)
Point and Shoot Camera Suggestions. (2)
Modern Warfare 2 freeze (13)
wireless user (1)
World's largest Monopoly Game using G.. (332)
Ideal cheap graph card for PC-Gaming? (17)
BIOS won't read disk when I try to fl.. (0)
Install XP pro and a Vista laptop ?? (11)
Graphics Card Upgrade Question (1)
favorit (1)
solutions for virtical white lines on.. (1)
Fire in DVD (2)


All times are GMT -4. The time now is 04:15 PM.
TechIMO Copyright 2009 All Enthusiast, Inc.



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28