Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

CSS and image positioning

 
K. Tsang
Bartender
Posts: 3348
12
Android Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello I have 2 images in the css file using id (eg #xx{...})

The images are set as backgound images, one to the left and the other right at the top of the page. Now when I resize the browser window to something smaller, the right image shifts with the browser covering the left image/content on the page.

What should I use to make sure it stays where it should when browser resizes?



HTML code:
<div id='header'><div id='advert'></div></div>
[ August 07, 2008: Message edited by: K. Tsang ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic