Bert is spot on. The horiz scrollbar disappears at 837 -> 838 px wide,
inc chrome.
800px + 32px + 8px = 840px (assuming that 1em = 16px). QED.
What does 'full on' mean?
N
___________________________
Omnivision. Websight.
http://www.omnivision.com.au/
On 21 Mar 2005, at 1:19 PM, Chris Kennon wrote:
Hi,
My issue was with safari 1.0.3 on MAC OS 10.2.8. even full on it has a
horizontal scroll. Pardon the vagary.
On Sunday, March 20, 2005, at 04:50 PM, Bert Doorn wrote:
G'day
The page at the following url is giving me a horizontal scrollbar,
I've no clue why, would someone assist?
(http://working.ckimedia.com/spring_2005/index.php)
At what resolution in which browser on which platform?
I had a look at it with Firefox 1.01 on Windows 2000 Pro. It has a
horizontal scrollbar at 800x600 but not at 1024x768 and higher. The
reason for horizontal scrollbars at 800x600:
div#wrapper{
margin: 0 0 0 2em;
padding: 1em 0 0 .5em;
width: 800px;
}
Total width: 2em + .5em + 800px. That's is more than any browser can
fit at 800x600. Bear in mind that the 2.5em is ADDED to the 800px so
if 1em is 16px (it will vary), you have a total width of 840 pixels
PLUS browser "chrome" (vertical scrollbar, window borders, sidebars).
Try 700px instead of 800px. You could also use max-width:95% (or
less) and specify your left margin and padding as 4% and 1%, but MSIE
PC does not recognise max-width.
Regards
--
Bert Doorn, Better Web Design
http://www.betterwebdesign.com.au/
Fast-loading, user-friendly websites
******************************************************
The discussion list for http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
******************************************************
"The true measure of ignorance
is thinking intelligence is the
solution to everything."
-ck
____________________________
Chris Kennon
Principal
ckimedia (www.ckimedia.com)
e-mail: ([EMAIL PROTECTED])
blog: (http://thebardwire.blogspot.com/)
ph: (619)429-3258
fax: (619)429-3258
******************************************************
The discussion list for http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
******************************************************
******************************************************
The discussion list for http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
******************************************************