elliottbenzle
asked on
how do I set the window size when user opens page in browser
In dreamweaver how do I set the standard size for the page to open in the browser? For example I want my home page to always open at 875px by 575px no matter who opens the page. Are there settings for this and if so how do I change them?
SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
No - you can use both still. If you want, test it out, see how you like it, and if you don't - just revert back to a previous version.
Note that you'll have to either:
a) Rename your actual homepage, as index.html would be used to redirect.
or
b) Link to a random page like redirect.html, and have that open up your display page. You'd have to use redirect.html for all your links though.
Anyway... good luck!
-Ale_Jrb-
Note that you'll have to either:
a) Rename your actual homepage, as index.html would be used to redirect.
or
b) Link to a random page like redirect.html, and have that open up your display page. You'd have to use redirect.html for all your links though.
Anyway... good luck!
-Ale_Jrb-
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
Whoops, the behavior is "Open Browser Window"
Sorry about that.
Sorry about that.
Hey guys. Sorry to argue but I don't believe it is good practice to force the size of a user's browser window! Most users (me) just get hacked off and force the window to open full size anyway so it doesn't look like a pop-up ad! The W3C are also advising designers to stop messing with the browser environment for the purpose of always showing toolbars/buttons etc.
If you need to display within that given size, you should use a DIV in your HTML code that contains all the information, but is restricted to that size.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<body style="background-color:bl ack;">
<div style="width:875px; height:575px; overflow:hidden; border:1px solid red;background-color:white ;">
All the content resides here
</div>
</body>
</html>
If you need to display within that given size, you should use a DIV in your HTML code that contains all the information, but is restricted to that size.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<body style="background-color:bl
<div style="width:875px; height:575px; overflow:hidden; border:1px solid red;background-color:white
All the content resides here
</div>
</body>
</html>
>> Sorry to argue but I don't believe it is good practice to force the size of a user's browser window! Most users (me) just get hacked off and force the window to open full size anyway so it doesn't look like a pop-up ad! <<
I agree, but if I want you to open a new window at 640x480, you are damn well going to get a new window at 640x480 with no rezise controls :)
I agree, but if I want you to open a new window at 640x480, you are damn well going to get a new window at 640x480 with no rezise controls :)
ASKER