Width and height of web page

D

Denis Duchesne

Hello everyone,

How can I do it? I want a page of my website (The window) to open with a
width of 720 and a height of 520. I also want the page to be in the middle
of the page. The code has to be in the web page and not on the link that
take you to that page.

Hopefully, you understand me and maybe somebody can help me!

Thanks in advance,
 
J

Jukka K. Korpela

Denis Duchesne said:
I want a page of my website (The window) to open with
a width of 720 and a height of 520.

Stop wanting that.
I also want the page to be in the
middle of the page.

Stop wanting that, too.
The code has to be in the web page and not on the
link that take you to that page.

No it hasn't.

If you told us _why_ you want to take great trouble in destroying the
functionality of your page in WWW terms (preventing, for example, everyone
using a nice expensive portable device with small resolution from visiting
your page in any comfortable way), someone might give more specific advice
on choosing a completely different approach.
 
N

Noozer

How can I do it? I want a page of my website (The window) to open with a
width of 720 and a height of 520. I also want the page to be in the middle
of the page. The code has to be in the web page and not on the link that
take you to that page.

Why? The first thing I do when a page screws with my browser is resize it
back to how I had it originally... If the page is REALLY annoying, I block
the domain on my DNS server.
 
R

Roy Schestowitz

__/ [Denis Duchesne] on Monday 05 September 2005 01:37 \__

Hi Denis,


The terminology below, as well as in the subject line appears to be mixed up
slightly. "Pages" and "browsers" are separate entities.

Hello everyone,

How can I do it? I want a page of my website (The window) to open with a
width of 720 and a height of 520.


Not possible, I'm afraid. You may have seen this happening before, but it is
not a valid thing to do and many browsers will not obey the request. I
suggest you think about another idea.

I also want the page to be in the middle
of the page.


Do you mean you want to browser to be forced to lie in the middle of the
screen? Again, this is not possible. There are O/S- or/and browser-specific
hacks, but they should be discarded altogether. Not only will this not
necessarily work, but it will also annoy the site visitor/s. Leave it to
the window manager and browser renderer to make choices, based on the
user's preferences.

The code has to be in the web page and not on the link that
take you to that page.

Hopefully, you understand me and maybe somebody can help me!

Thanks in advance,


I hope I did not appear bitter. I am rather certain, however, that others in
this groups would assimilate and support this disposition. What you are
trying to achieve is where many Web designers misunderstand the Web and are
bound to annoy their audience, as well as crawlers sometimes.

Roy
 
N

Neredbojias

With neither quill nor qualm, Denis Duchesne quothed:
Hello everyone,

How can I do it? I want a page of my website (The window) to open with a
width of 720 and a height of 520.
Interesting.

I also want the page to be in the middle
of the page.

Now that reverberates with redundancy.
The code has to be in the web page and not on the link that
take you to that page.

Which incarnation?
Hopefully, you understand me and maybe somebody can help me!

Maybe you should call for an appointment at "Shrinks R Us".
Thanks in advance,

No problem in retrospect.


(PS: What you want is possible in special-case situations that don't
work in non-special-case situations. But you have to know javascript,
especially the window.open function. Search for info on those things
and you can do it.)
 
E

Edwin van der Vaart

Noozer said:
Why? The first thing I do when a page screws with my browser is resize it
back to how I had it originally... If the page is REALLY annoying, I block
the domain on my DNS server.
Why not surfing the net with js disabled and a pop-up killer.
 
A

Alan J. Flavell

With neither quill nor qualm, Denis Duchesne quothed:
How can I do it? I want a page of my website (The window) to open with a
width of 720 and a height of 520.
[...]
Thanks in advance,

No problem in retrospect.

Nice one...
(PS: What you want is possible in special-case situations that don't
work in non-special-case situations. But you have to know javascript,
especially the window.open function. Search for info on those things
and you can do it.)

Well, at least you can -try- it. Whether you can -do- it depends on the
user. Speaking for myself: if you succeed, then I'll almost certainly
leave right away, unless you're offering something that I absolutely can't
live without. But your success rate depends whether I'm using my own
browser (carefully configured), or some random installation that I haven't
yet got sorted.

Bottom line: the browser belongs to the user. Interfere with it at your
peril.
 
J

Jedi Fans

Edwin said:
Why not surfing the net with js disabled and a pop-up killer.
OR surf with firefox with only the parts of js that are annoying
disabled [its in the settings]...
 
N

Neredbojias

With neither quill nor qualm, Alan J. Flavell quothed:
With neither quill nor qualm, Denis Duchesne quothed:
How can I do it? I want a page of my website (The window) to open with a
width of 720 and a height of 520.
[...]
Thanks in advance,

No problem in retrospect.

Nice one...
(PS: What you want is possible in special-case situations that don't
work in non-special-case situations. But you have to know javascript,
especially the window.open function. Search for info on those things
and you can do it.)

Well, at least you can -try- it. Whether you can -do- it depends on the
user. Speaking for myself: if you succeed, then I'll almost certainly
leave right away, unless you're offering something that I absolutely can't
live without. But your success rate depends whether I'm using my own
browser (carefully configured), or some random installation that I haven't
yet got sorted.

Bottom line: the browser belongs to the user. Interfere with it at your
peril.

Yes, I agree with you unequivocally. Really anything in javascript is a
hit-or-miss proposition, and opening windows...brrrr.
 
?

=?ISO-8859-1?Q?G=E9rard_Talbot?=

Denis Duchesne a écrit :
Hello everyone,

How can I do it? I want a page of my website (The window) to open with a
width of 720 and a height of 520.

Some people access the web with mobile devices (smart phones, PDA, etc.)
.. Many people do not necessarly have a workarea for applications which
will host well a 720x520 window. In my case, such window would be
resized by correction error mechanism included in Firefox and Mozilla
Seamonkey.

What is really the important issue on the web is to create webpages
which will be scalable (and interoperable) regardless of the software,
device, screen being used to access your page. The scalability property
(also called fluidity and flexibility: fluid design, flexible design) is
a factor that helps making a page reach a wider audience.

I also want the page to be in the middle
of the page.

What about the users' preferences? Don't they have something to say
regarding your positions and dimensions requests?

Gérard
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,682
Members
48,796
Latest member
Greg L.

Latest Threads

Top