screen resolution issue

Thread Solved

Join Date: Jun 2009
Posts: 3
Reputation: geggiot is an unknown quantity at this point 
Solved Threads: 0
geggiot geggiot is offline Offline
Newbie Poster

screen resolution issue

 
0
  #1
Jul 14th, 2009
hi all,
i have an image footer that, with a screenresolution at 800x600 or 1024x768, it's centered with al content but at high screen resolution 1280x1024 it isn't centered.
style.css is
HTML and CSS Syntax (Toggle Plain Text)
  1. #footer {
  2. background-image:url(images/footer-goingtoo.png);
  3. background-position:center top;
  4. background-repeat:no-repeat;
  5. height:153px;

and grid.css is
HTML and CSS Syntax (Toggle Plain Text)
  1. .footer {width:1000px;}
  2. .column {float:left;}

here can see images at 1280 and 800
http://img176.imageshack.us/i/800z.jpg/

http://img262.imageshack.us/i/1280.jpg/
Reply With Quote Quick reply to this message  
Join Date: Aug 2006
Posts: 59
Reputation: desiguru is an unknown quantity at this point 
Solved Threads: 1
desiguru desiguru is offline Offline
Junior Poster in Training

Re: screen resolution issue

 
0
  #2
Jul 14th, 2009
Try this:
<div align="center">
footer code
</div>
--
Share files up to 1Gb - FileOP.com
Reply With Quote Quick reply to this message  
Join Date: Jun 2009
Posts: 3
Reputation: geggiot is an unknown quantity at this point 
Solved Threads: 0
geggiot geggiot is offline Offline
Newbie Poster

Re: screen resolution issue

 
0
  #3
Jul 14th, 2009
Originally Posted by desiguru View Post
Try this:
<div align="center">
footer code
</div>
ooo thanks a lot desuguru now it's work!
Reply With Quote Quick reply to this message  
Join Date: Jan 2007
Posts: 3,210
Reputation: MidiMagic has a spectacular aura about MidiMagic has a spectacular aura about 
Solved Threads: 165
MidiMagic's Avatar
MidiMagic MidiMagic is offline Offline
Nearly a Senior Poster

Re: screen resolution issue

 
0
  #4
Jul 22nd, 2009
You are always going to have screen resolution problems when you define things in terms of pixels. Use percent and em to define sizes.
Daylight-saving time uses more gasoline
Reply With Quote Quick reply to this message  
Join Date: Apr 2009
Posts: 1
Reputation: Bogo is an unknown quantity at this point 
Solved Threads: 1
Bogo's Avatar
Bogo Bogo is offline Offline
Newbie Poster

Re: screen resolution issue

 
0
  #5
Jul 24th, 2009
Try
margin: 0 auto;
Reply With Quote Quick reply to this message  
Reply

This thread has been marked solved.
Perhaps start a new thread instead?
Message:



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



Tag cloud for HTML and CSS
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC