Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

butterbean

macrumors newbie
Original poster
Mar 24, 2004
3
0
Hello,
I am encountering a problem that has me stumped. I am designing a website for Safari where I am trying to resize the window. The client wants the window to be a specific size and have his website geared towards Safari users. A sample page is: http://www.identity-arts.com/04index.htm. On my Safari - it looks great. (other pages in the site still have issues) But in some people's Safari - it crops. I think this has to do with something set in their preferences or possibly in their cache. Help! What to do.
~ Anna
 
I say kill the margins. the script isn't imo taking account for the ~4px margins.. then again i never like going to resized websites, they get on my block list.
 
Don't resize the browser. At worst if you are going to do it, the page should first be a "normal" page that doesn't resize itself. Clicking on a link can bring up the actual page in whatever size you want (which I dislike also).

I have my browser a certain size for a reason. Please don't mess with it. Center the webpage using tablees or something if you want it to be in the center of the page. Although somebody else probably won't like that either.
 
Hm, seems to resize properly in Safari for me, though Camino cropped it at the bottom, but as other said, it's likely a margin issue, and those seem to be exceedingly difficult to pin down. I've found that getting a window to open to the exact dimensions of an enclosed image is near impossible, since depending on the browser you get a different window size depending on the user's settings.

For example, on this page on your site: http://www.identity-arts.com/04home.htm

If my bookmarks bar is turned off and my status bar (at the bottom) is on, the window is just the right size for the image. If I turn both off, there's a stripe at the bottom. If I turn both on, the image is cropped vertically.

There's no way around this, since you can't control the user's setting, and window size in Safari is based on measurements below the toolbar--not including bookmark bar, status bar, or scrollbars.

So, your only option is to make the window a little bigger to accommodate people with everything on, and deal with borders for people who don't.

I'm also of the opinion that with the exception of maybe popup help window type things (like a small floating help window that doesn't close the page you were on), resizing the user's browser window is invasive and very annoying. It assumes your site is the only one the user is going to look at in this browsing session, which is almost never the case--they're surfing along happily, clickthrough a link to your site, and suddenly they've got this little tiny browser window that doesn't fix itself when they go back, and they now have to manually resize it back to what they wanted.

Quick way to annoy readers if you ask me, and really unnecessary.

This is getting off topic, and I don't want to sound like I'm insulting your design, since it visually looks quite nice, but I do have an honest question: If you're specifically designing for Safari, which has decent modern standards support, why are you using a single image map for all content?

That's sort of a 90s-era relic of being overly attached to your site looking exactly the same on every computer it is viewed on, including funky broken browsers like Netscap 4, when that goes against the fundamental concept of the web. Designing the site as more flexible HTML/XHTML code that looks proper in Safari, and accepting that there will be some minor differences depending on user preferences (which is ok--what if they have trouble reading small text so scale up the font?) seems a lot more logical.

The only reason for a strict image map is exact design layout even on crummy ancient browsers, but since you're targeting Safari anyway, that doesn't matter.
 
I agree with SilentPanda...

This goes for everyone out there--PLEASE don't resize my browser window! I like it the size that it is. I set it that way for a reason to work best to accommodate my multitasking habits.
 
Thank you

Thanks for all your input. This will really help me with the client.
 
mnkeybsness said:
I agree with SilentPanda...

This goes for everyone out there--PLEASE don't resize my browser window! I like it the size that it is. I set it that way for a reason to work best to accommodate my multitasking habits.

no kidding. using css is so much easier to make a window size within the browser window then resizing the browser window.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.