I want to position a div element centered in a page with width about 1000px and another one on its right that covers the whole right side that can adjust depending on the window size.
Actually I have a right floated element on the centered div. So
absolute positioning does the job but the flaw in it is visible while zooing in the page…
I want to know if it is possible using pure html, css and not javascript.
Also I have used background property, absolute positioning to achieve the above but looking for a better solution.
Here is my go:
HTML
CSS
http://jsfiddle.net/XPE3w/3/