CSS Mystery Pixel Width offset in Safari

admin

Administrator
Staff member
Hey,

Can someone check this out. I've got a typical fixed width centered deal going on here but in Safari it's 1 pixel off on the right every other pixel. Just look at the top right and minimize and expand the width of Safari to see what I'm referring to.any ideas on this one?No. I don't use Safari. I did glance at your image attachment last night though, -and I still can't figure out what you're talking about. What I saw doesn't fit how you described the problem...

It would help immensely if you posted your code and then yeah, -I'd be like O.J. Simpson... -I'd take a stab at it. :eek:The code is in the attatchment.Viewed source and Download ed, -I still can't quite understand what you're seeing. I guess that it's the differance between Safari/MAC and pc.
I am questioning this, however:

body {margin: 0; padding: 0; border:0;/* I added this, -might be useful */
background: #000 url(bg_02z1.gif) top center;
}
(etc.)
<body id="home">

-What's the point of having selectors in the STYLE's "body" tag and then creating a DIV also called "body" and declaring id selectors for that? It's like those mind-altering logic tests that go in part "rachets are widgets and some widgets are sockets but no sockets are rachets", you know?
It just looks to me as if you are creating confusion, and if any selector in "id=home" disagrees with any selector in your STYLE's 'body', -that 'body' selector will be ignored or overridden by 'home' (as it occurs closer to the DIV being styled).
But that aside, I don't see the issue you cite.
You cite "1 pixel off"? Sounds like a mystery border complaint. I know forinstance, that earlier versions of Netscape had issue with the width of the scrollbar being part of the total width of a centered page... (the width of a scrollbar is what, -20 pixels?). Maybe this is a Safari-only thing...
 
Back
Top