This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes HTML, CSS and JavaScript and the fly likes CSS and image positioning Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "CSS and image positioning" Watch "CSS and image positioning" New topic
Author

CSS and image positioning

K. Tsang
Bartender

Joined: Sep 13, 2007
Posts: 2985
    
    9

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 ]

K. Tsang JavaRanch SCJP5 SCJD OCPJP7 OCPWCD5 OCPBCD5 OCPWSD5 OCMJEA5 part 1 part 2/3
 
Have you checked out Aspose?
 
subject: CSS and image positioning
 
It's not a secret anymore!