IFRAMES - Page 2

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View


 Exit12 wrote:

 >> Exit12 wrote:
 > >> Hi
 > >>
 > >> Is it possible to keep an iframe in the ame place when viewing the
 > >> webpage at different screen resolutions?
 >> What is the same place? The same distance from one edge? The same
 >> distance from some other element? Distance in what sense? Pixels?
 >>Characters? etc etc etc. I'd suggest you forget about using frames in the
 >>place: http://www.allmyfaqs.com/faq.pl?Problems_with_using_frames ... and
 >>stop trying to make pages look that _same_ at different window
 > sizes
 >> (resolution is irrelevant, window size isn't):
 >> http://www.allmyfaqs.com/faq.pl?AnySizeDesign
 >> --
 >> David Dorward       <http://blog.dorward.me.uk/
 >> <http://dorward.me.uk/ Home is where the ~/.bashrc is

 > Sorry folks my mistake, I am using the div tag to set layers so I can
 >  position certain items on my site. Problem is when the window is
 > resized, the items stay where they are.

 > How do I get a layer to re-position itself when the window is resized
 > or a different size?

 > I don;t have a link as it's not uploaded to webspace yet.

 > Thanks

AS DD suggested, use inches or mm instead of pixels.
Then it does not matter what the resolution is.
Unless you want the division in the center of the screen at all times, for
You can do that with javascript but the user can turn off javascript.
To get around that, do it in php.
Or, you can just set the page to 800x600 and forget about it.


Quoted text here. Click to load it

He said no such thing.
He said: "avoid specifying lengths in units which are not relative to
the window size."

inches or mm are NOT relative to the window size.

We've been down this road before, do you want me to post that
screenshot of your page where you used mm and ended up with
overlapping content boxes on screens other than your own?



Richard wrote:

Quoted text here. Click to load it

That was not a suggestion, that was a question. Real world units are
worthless for screen media design since the vast majority of systems are
not correctly calibrated (and thus cannot convert such units to pixels

David Dorward       <http://blog.dorward.me.uk/ <http://dorward.me.uk/
                     Home is where the ~/.bashrc is



Quoted text here. Click to load it

Screen resolution is usually not relevant. What matters for the looks of  
your pages is the size of the viewport of the browser they are shown in.  
Resizing this viewport will effect the looks of your pages.

Quoted text here. Click to load it

Well, yes. That is possibly correct and expected behaviour.
It might help if we could have a look at your page and see the phenomena  

While you're at it, google for 'liquid design' or ' fluid design'. You  
might also want to check out the information at  
<http://www.w3.org/TR/2002/WD-CSS21-20020802/visuren.html .

Just remember that there is no way you can create a pixel perfect design.  
There is no way you know how the information in your pages is going to be  
transfered to your visitor. Is s/he going to see it in a graphical UA? Or  
perhaps s/he gets it in a text-only UA? Or s/he uses a screen reader? You  
don't know. Even if your pages get shown in a graphical UA, there are many  
of those with all various features (not all of them pleasant to a web  

       Weblog | <http://home.wanadoo.nl/b.de.zoete/_private/weblog.html
   Webontwerp | <http://home.wanadoo.nl/b.de.zoete/html/webontwerp.html
Zweefvliegen | <http://home.wanadoo.nl/b.de.zoete/html/vliegen.html

Site Timeline