Center Image and Size for Browser Window

Reply

Join Date: Sep 2009
Posts: 2
Reputation: sandwitch_ro is an unknown quantity at this point 
Solved Threads: 0
sandwitch_ro sandwitch_ro is offline Offline
Newbie Poster

Re: Center Image and Size for Browser Window

 
0
  #11
Sep 24th, 2009
Ok I was lucky enough to find troy's solutions through a random search and it works for me. However, any idea how to keep the image proportional? it gets distorted now on an window resize.
Reply With Quote Quick reply to this message  
Join Date: Sep 2009
Posts: 2
Reputation: sandwitch_ro is an unknown quantity at this point 
Solved Threads: 0
sandwitch_ro sandwitch_ro is offline Offline
Newbie Poster

Re: Center Image and Size for Browser Window

 
0
  #12
Sep 24th, 2009
never mind, problem solved, and my mistake.
Reply With Quote Quick reply to this message  
Join Date: Jan 2007
Posts: 3,203
Reputation: MidiMagic has a spectacular aura about MidiMagic has a spectacular aura about 
Solved Threads: 164
MidiMagic's Avatar
MidiMagic MidiMagic is offline Offline
Nearly a Senior Poster

Re: Center Image and Size for Browser Window

 
0
  #13
Sep 26th, 2009
The problem is that vertical centering can not be done in a way that works on all computers, browsers, screen resolutions, screen aspect ratios, browser configurations, and current browser window size and ratio. Anything that works uses some kind of kludge that may stop working with any software update. The introduction of the 16 x 9 screen killed off most of the methods that used to work.

The World Wide Web was never designed to allow vertical centering. Web pages are not supposed to index to the browser window, but are supposed to start at the top and grow down until the content is exhausted.

People should realize that attempts to center vertically are an abuse of the WWW and W3C intent, and should stop trying. Entirely too much time and effort has been wasted on this. A web page is a document, not a screen.
Last edited by MidiMagic; Sep 26th, 2009 at 2:22 am.
Daylight-saving time uses more gasoline
Reply With Quote Quick reply to this message  
Reply

Message:



Similar Threads
Other Threads in the HTML and CSS Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC