Resizing Safari Window causes blank space

When I resize a safari window using the corner (bottom right) it leave a blank space if I make he page bigger and doesnt fill the page at all unless i press refresh.

.oO(CJR 2007)
>I'm pretty new to website design and this might seem very
basic, but how is it
>possible to resize a browser window automatically to fit
the content on my page
>using Dreamweaver CS3?
You should rather make the site fit the browser window.
> The content of my page is 700px by approximately 650 but
I want the browser
>window to show just this content and not the blank space
surrounding it.
Resizing the browser window is considered _very_ rude, if it
will work
at all - modern browser prevent such abuse of JavaScript.
You should more concentrate on the content and the usability
of the site
to attract visitors. Keeping the layout flexible is usually
the best way
to go. But even if it has to be a fixed-width layout, you
shouldn't mess
with the user's browser settings, but for example center the
entire site
in the browser. Solutions for that are posted here every
second day.
Micha

Similar Messages

  • I would like to open different Safari windows in different Spaces

    I would like to be able to open different Safari windows in different Spaces. They guy at the Apple store told me this was impossible, but I am 99% sure that I accidentally had it working this way before I realized what Spaces was, but now that I have set my Spaces preferences, I cannot get it to work for me.
    Ideally, my husband could use one space - he only uses Safari. And I could use the other Spaces for my various applications, including Safari.
    Any suggestions appreciated!

    I do it as follows.
    I don't have Safari assigned to any (or all) spaces. I don't have the little checkbox checked at the bottom of Spaces preferences ("When switching to an application...").
    In a given space I click on Safari in the dock. This makes it the active application. Of course, if a window is already open in that space it will come to the front. But suppose there isn't a window open. I then ask for a new window (via the File menu, or via command-n). Voila. That window is in that space. You can do this in any space and the windows stay where you created them.
    (A shortcut is simply to control-click on the Safari dock icon and select "New Window".)
    charlie

  • Spaces confusing safari windows (on multiple spaces using command-tab)

    Wondering if this is happening to anyone else.
    I love spaces but something is messed when using safari windows on multiple spaces. Say I have two safari windows open on two different spaces, after command-tabbing to another app when I try to command-tab back to safari it doesn't always go to my last safari window. That is to say that sometimes it goes to the other safari window, and sometimes it doesn't. It's super unpredictable.
    Give it a try, open two safari windows on two different spaces and the command tab to another app and then command tab back to safari - and repeat... you'll find that it will just randomly go to the other window, and then back etc.
    Can't think of anything more annoying in spaces... that's got to be a bug.
    Anyways, let me know if it's happening to you.
    Jay.

    same issue. i have multiple safari windows with multiple tabs on multiple spaces. let's say one space is a rails space; so it has some terminals, safaris, firefoxes, all perhaps with 2 or more tabs. command-tab does not necessarily go back to the window of the app i was just in. whether it's safari or firefox or whatever. this is horribly un-intuitive. come on apple. that's like your thing, right?

  • Tile Safari Windows in Current Space

    Hello everyone,
    I'm trying to fix this apple script to only work on the windows in the current Space.
    --When in Safari, the coordinates {0,0} refer to the upper corner not including the menubar.
    tell application "Safari"
    -- For some reason Safari has two invisible windows
    set allWindows to (every window where visible is true)
    set n to (count of allWindows)
    -- Determine screen size of your machine
    tell application "Finder"
    set screenSize to bounds of window of desktop
    set screenWidth to item 3 of screenSize
    set screenHeight to item 4 of screenSize
    end tell
    -- Dividing by zero is bad
    if n is equal to 0 then return
    set windowWidth to screenWidth / n
    if (n > 0) then
    activate
    set x to 1
    -- Position each window in turn
    repeat
    tell window x
    set bounds to {windowWidth * (x - 1), 0, windowWidth * x, screenHeight}
    end tell
    set x to x + 1
    if x is equal to (n + 1) then exit repeat
    end repeat
    end if
    end tell
    The problem is that if I have multiple safari windows open, the variable allWindows is set to the number of safari windows in every space combined. I only want to tile the windows in the current space, and if I use this script as it is now it will tile them, but it will set their widths to allow for all windows in every space to be tiled along side. This leaves more empty space depending on how many other windows I have open.
    Does anyone know how to test how many windows are only in the current space?
    I'm terrible with Applescript, so specifics will be very much appreciated.
    Thank you.

    Hello,
    Thank you for your reply, Pierre.
    Just in case anyone is wondering, I didn't write this script, I found it somewhere online and then promptly forgot where. However, it doesn't work very well if I have other windows in other spaces, so I wanted to see if I could figure it out.
    It's still not working correctly, it seems to work the same way as before:
    --When in Safari, the coordinates {0,0} refer to the upper corner not including the menubar.
    set theTargetIDs to {}
    tell application "Safari"
    set theIDs to id of every window
    set theIDs to reverse of theIDs -- to keep the initial stacking order
    repeat with thisID in theIDs
    set index of window id thisID to 1 -- try to change the index value
    if index of window id thisID is 1 then -- the window is in the current space
    copy (thisID as number) to the beginning of theTargetIDs
    end if
    end repeat
    theTargetIDs -- from front to back - the windows that are in the current space
    set n to (count of theTargetIDs)
    -- Determine screen size of your machine
    tell application "Finder"
    set screenSize to bounds of window of desktop
    set screenWidth to item 3 of screenSize
    set screenHeight to item 4 of screenSize
    end tell
    -- Dividing by zero is bad
    if n is equal to 0 then return
    set windowWidth to screenWidth / n
    if (n > 0) then
    activate
    set x to 1
    -- Position each window in turn
    repeat
    tell window x
    set bounds to {windowWidth * (x - 1), 0, windowWidth * x, screenHeight}
    end tell
    set x to x + 1
    if x is equal to (n + 1) then exit repeat
    end repeat
    end if
    end tell
    Am I missing something? I don't think that script is selecting only the windows in the current space- it's still tiling in every space. Can you take a look?
    Sorry for my incapability to help myself. :S
    Thank you.

  • Can someone tell me why Safari windows follow from space to space?

    I open a new space via Mission Control.  I want to have only a couple terminal windows in there.  For some reason Safari windows follow me when I switch from one space to another.  Why is this?  It doesn't happen with email, Firefox, or any other application.  Is there some setting that got flipped inadvertently?  I know this will sound strange but this happened today when updating to IOS 5 and my OS X Lion was updated too.
    Note that when there's at least 1 Safari window in full screen I can create another, put it in non-full screen mode and Safari windows will NOT follow spaces.

    right-click or hold-down after clicking on Safari in your dock -- look at options > Assign to
    It sounds like you have 'all desktops' selected there.
    Choose 'this desktop' or 'none'

  • Cannot resize safari window

    i can't resize the safari window by hovering over the bottom right corner of the window. I am working on a Macbook Pro and Yosemite.
    thanks!

    When you hover over the corner do you not see the cursor change to a slanted heavy line with arrows at each end? Do you then click down and then resize the window?

  • Resize safari window question

    Every time i open safari i have to drag the window over to the left so i can see the scroll bar and then i have to resize the window to fit the screen. How can i fix it so the window is always centered and fills the screen whenever i open safari?

    You're misunderstanding this. The "Resize to Full Screen" text is a Bookmarklet; you click and drag it to your Bookmark Bar in Safari, then click on it from there to resize your screen. But apparently those don't work in the forums, so here's the raw code:
    javascript:self.moveTo(0,0);self.resizeTo(screen.availWidth,screen.availHeight);
    Create a new Bookmark (copy one if you need to just to get the necessary fields in Safari without creating a folder), copy/paste that code for the Location or URL field, then place it on your Bookmark Bar.
    Mulder

  • Javascript Bookmark to resize Safari Windows

    Despite searching all over, I could not easily find how to keep Safari from opening new windows that were just a bit off on the left or the right sides of the screen. I had read tips about making a new window, resizing it and then closing it. Sure enough, the next new window would open with that size and position. But open a 2nd new window and Safari would position it a little bit to the right, thus leaving the scroll bars slightly off the right side of the screen.
    So I tried to find a javascript to solve this problem. Nothing did exactly what I wanted, so I have customized what I found and the following works for me:
    Step 1) Save any webpage as a bookmark to the Bookmarks Bar (Click "Bookmarks" then "Add Bookmark...", OR Click Apple-D, then choose "Bookmarks Bar", "Add").
    Step 2) Open "Bookmarks" "Show All Bookmarks", then choose "Bookmarks Bar" on the left under "COLLECTIONS".
    Step 3) Find the bookmark you added in Step 1 and change the Bookmark's name to "Resize Window to Fill screen" or whatever you want (click once on the name and after a delay click a second time, then type).
    Step 4) Change the bookmark's address to "javascript:self.moveTo(0,0);self.resizeTo(1440,screen.availHeight);" (click once on the bookmark's address and after a delay click a second time, then type or copy and paste what is inside the quotation marks above).
    Step 5) In any window, click Apple-1 and the window will resize!
    Note: I have a 17" iMac. For different size screens, just play around with the number "1440" in the javascript above. Make it larger or smaller until it is the exact size you want. Also, if you add new bookmarks to the Bookmarks bar, it may change the keyboard shortcut number for this "Resize Window" bookmark. You can always drag to reorder the bookmarks. The top ones will have keyboard shortcuts "Apple-1", "Apple-2", etc.
    Hope this helps someone else!

    This helped me, and thanks again!!

  • Resizing Finder window causes unresponsiveness

    Whenever I resize the finder window down to a certain point (about 1/4 of screen or smaller), the keyboard becomes unresponsive; even alt-command-escape does nothing. The mouse moves normally, but clicking does nothing. Dock will not pop up. The mouse intermittently spins as if something is processing. Thought all would come back to normal if I simply wait but after walking away for 30 mins, the problem still persists. The only way to resolve is to shut down the power and reboot. I zapped PRAM and still have the problem. Thought updating from 10.5.1 to 10.5.2 would help, but it didn't. Any other ideas? Thanks!

    Thanks! This appears to have solved the problem.
    I have to say that as a user returning to Mac again after 10 years of using Windows, I'm not sure I'll buy another Apple computer. I've run into way too many stupid bugs like this.
    Anyway, thanks again for your help!

  • When a linked .pdf is clicked, it downloads rather than following the link and opening in another safari window.

    When a linked .pdf is clicked, it downloads rather than following the link and opening in another safari window.

    Thanks for the tip, but I had already tried this and it did not help. The File still downloads and , at the same time, a new Safari window opens - but the Safari window is blank.
    Another discussion thread related to this problem is:
    How do I prevent automatic downloading of .pdf files?
    but this deals  with Safari 5.1 which evidently has a problem with Adobe Reader.
    I am using Safari 5.0, so the suggested solutions do not apply. ( I tried them anyway, but they did not work.)

  • I recently deleted a partition on my mac that was intended to install windows. Now it is just blank space. I attempt to resize my Macintosh HD partition to cover entire hard drive space and hit apply but nothing happens (disk utility). Any ideas?

    I have a few problems...
    I wanted to make a partition to install windows, I tried to use bootcamp 5 where it wanted to partition and install windows at the same time. I do not have a cd of windows but instead had it on a flash drive. Bootcamp couldn't find it. Instead I was reading forums and found that there was another way to install windows by partioning your harddrive using the disk utility, downloading the bootcamp drivers, and installing rEFIt (an app that when starting the compouter a menu would come up to boot windows from the flashdrive). I try that and the windows install screen gets me to the point where I pick a partition. I attempt to pick the partitioned drive but a message comes up telling me that "this is of the GPT partition style" and windows cannot be installed on the drive.
    So now I went back to disk utility and deleted the partition but there is still blank space. I wanted to retry and install windows through bootcamp (somehow) but a message comes up that there cannot be any partitions or that a partition must be created using bootcamp. SO i keep trying to drag the partition over the blank space and hit apply but nothing happens.
    By the way I was trying to install windows 8 pro, some forums would say that you cant install win8 however I found others that said you could. How do I fix my partition and how do I use bootcamp to install windows (preferrably 8)?

    Csound1 What Ive been trying to explain is that I have been running bootcamp, I open the app where the first screen is the introduction, i hit continue, the first time I select "download the latest windows support software fromm Apple" then I return and instead select "Install Windows 7." Then hit continue. The third screen is where I "Create a Partition for Windows" I set Windows to 80 gigs then hit INSTALL. As stated before Bootcamp cannot find the install drivers saying "The installer disc could not be found." My windows software is on a USB drive not a disc, I tried using a virtual disc reader to make it appear that the windows software was running on a disc, still no luck. What I would like to know is how to install windows on bootcamp.

  • Printing to pdf from Safari 5.1.4, last 16 lines compressed leaving blank space at bottom of pg.  No prob. wD/ IE or Word. Running Win 7, Dell Laptop.

    When I print to “Adobe PDF” from Safari, the last several lines are compressed leaving blank space at the bottom of the page where the normal size lines would normally be. This does not occur when printing from Internet Explorer or MS Word.  I am running Windows 7 on a Dell Laptop.  Anyone know of a solution?

    When I print to “Adobe PDF” from Safari, the last several lines are compressed leaving blank space at the bottom of the page where the normal size lines would normally be. This does not occur when printing from Internet Explorer or MS Word.  I am running Windows 7 on a Dell Laptop.  Anyone know of a solution?

  • Zsh - lots of blank space upon resizing VTE based terminals

    Hello
    I have an issue that is rendering me sleepless these days. It's about zsh and its behaviour when being run inside a VTE based terminal (e.g. gnome-terminal, xfce4-terminal, roxterm, sakura, ...).
    When I increase the terminal height, if the buffer exceeds the window height, the content above won't get correctly shifted down, but simply blank space is added at the bottom.
    On the contrary, when I decrease the terminal height, it does not simply remove the blank space at the bottom, but instead shifts up the buffer, keeping the blank space.
    This is quite annoying, because everytime I resize my windows (which happens quite often, as I'm in a tiling WM), I find myself scrolling up in order to see older output because there's only one line remaining. And even worse, as I start typing, it all scrolls back down, even though I type within the visible area.
    This does not happen upon running another shell (bash, dash), or zsh in a non-VTE terminal (urxvt, xterm), however I'd like to stay with zsh and xfce4-terminal (as I'm having lots of other issues with urxvt).
    After hours of googling, I haven't found any entry about a similar problem, which I find slightly confusing, since one of my friends has exactly the same behaviour with xfce4-terminal and zsh (he just hasn't noticed until I asked him, as he doesn't resize his terminal windows that often).
    My question(s):
    Does anybody else use zsh in a VTE-based terminal? And if so, do you get the same behaviour? And if not, could you help me out with your configuration?

    ayekat wrote:
    linvinus wrote:in zsh it hardcoded,
    you can check that if you run zsh inside script (script — make typescript of terminal session)
    Oh, you're right. It always prints \e[J before printing a new prompt. I suppose this is due to the 'suggestions-below-the-prompt' thing.
    Thanks for the script command. I learn something new every day ^^
    Now I applied the patch and it works for one half of the problem:
    When I decrease the window size, it correctly eats up the blank space at the bottom (so the text no longer gets pushed upwards).
    However, when I increase the window size, it still adds blank space to the bottom. So basically once a window has been sized down to, say, 10 rows, it will always stay at those 10 rows (except of course there's some new output).
    i think this is normal, but may be you are right.
    i will see what can be done better.
    ayekat wrote:However I just saw that that I've patched the GTK2 version of VTE, perhaps it's better with the vte3 package.
    no it will the same.
    ayekat wrote:
    ... this also explains why some terminals like xfce4-terminal and lxterminal behave as described above, while others like gnome-terminal or roxterm just continue bugging.
    Again, thank you!
    I'll try this afternoon if it works with the vte3 package.
    no problem

  • Safari window not resizing

    I am running Safari 5.1.9 on OS X 10.6.8.  For the last few days, Safari windows always open at exactly the same size, and there is nothing I can do to resize them.
    The resize button in the bottom right corner doesn't respond.  The green maximise button on the top left doesn't do anything.
    I have tried:
    * restarting
    * forcing Safari to open links in a new window
    * emptying Safari's cache
    * resetting Safari
    * trashing Safari's preferences
    * turning off all plugins
    * trashing com.apple.windowserver.plist
    * starting Safari in 32-bit mode
    * beating my head slowly against the screen
    This seems to be a problem only with one user.  When I switch to another user, Safari behaves itself very well.
    My system software is up to date.
    Any ideas?

    Try deleting the cache this way. Might make a difference.
    In the effected account, open a Finder window. From the menu bar top of your screen click Go > Go to Folder
    Type of copy paste the following:
    ~/Library/Caches/com.apple.Safari/Cache.db
    Click Go then move the Cache.db file to the Trash.
    Quit and relaunch Safari and try resizing the window.

  • How can I turn off Recently Websites when opening new Safari window? After tapping on the two overlapping boxes on the bottom right of Safari, a new blank window appears with Favorites, but now in iOS 8, recently viewed websites are listed.

    How can I turn off Recently Visited Websites when opening new Safari window?
    After tapping on the two overlapping boxes on the bottom right of Safari, a new blank window appears with Favorites, but now in iOS 8, recently viewed websites are listed. How can I turn this function off? I do NOT want my new Safari windows to have history displayed of previous websites I visited. I only want my Favorites (on the top) to be displayed. Please help.
    Thank you for your time, patience, understanding, kindness, and concern.

    Thanks for replying, but that isn't the answer I am looking for.  Also, there is no + sign, UNLESS you do tap the overlapping boxes.
    Let me try to ask my question a little more clearly:
    When I tap the two overlapping boxes on the lower left (the option to Open New Windows), the new Window that appears will show your Bookmarked FAVORITES. But with my new iPhone 6, and the new iOS 8.0.2, when I tap the two boxes to open a New Window, my Bookmark Favorites show (as they always have and should), but below them, there is a dividing line underneath them, and it says Recently Viewed Websites, and has these websites available to tap.
    So my question is, HOW DO I TURN THESE OPTION OFF?
    *UPDATE  (10.13.14): Since I have asked this question, I no longer see these Recently Viewed Websites under my Bookmarked Favorites in my new Window tabs. So I hope that Apple fixed it, or somehow it was a mistake, or somehow I changed an Option on my iPhone 6 that stopped this for reoccurring.
    Thank you for your help bobseufert! I appreciate your concern, kindness, and the time to try to help. I am grateful.
    Have a blessed day.

Maybe you are looking for

  • HP Pavilion dv6-1030 recovery

    I bought a recovery disc set 1 and 2 for a HP Pavilion dv6-1030us. After recovery, my windows vista keeps asking me to enter the product code and a message that says that my copy of windows is not genuine.

  • I bought the ibook version of "Photoshop Elements 11: Classroom in a Book"

    Hello the ibook version of photoshop elements 11:  classroom in a book did not come with the lession CD that normally comes with the hardcopy of this book.  I was wondering if there was any way of getting the Lession CD because the ibook is worthless

  • Report to see user type and roles assigned to users in EP?

    Hi, a) Is there any reporting mechanism in EP? Any specific report which throws up user types and roles assigned to the users? There is an option of 'Export' in the user management role but unfortunately it does not give information on User Type. b)

  • Textauswahl in CC nun stockend langsam und unflüssig // Exportieren-Dialogfenster anders?

    Hi Leute, dies ist mein erstes Posting in diesem Forum. Seit dem Update auf CC (Windows-Version) ist doch einiges aufgefallen. So zum Beispiel folgendes: Wenn ich jetzt durch Mehrfachklick Text markiere ist die Auswahl sehr stockend und fühlt sich an

  • Console connection v40Z

    Can someone plz tell me whats the right combination of connector and cable to connect to a serial port for the v40Z server from a laptop? Thanks.