Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 1 of 1
11-23-2011, 01:31 PM #1
- Join Date
- Sep 2011
- Thanked 0 Times in 0 Posts
Position Fixed and Float Left with Variable Width
I have an image on the left side of the page which I want to be
position:fixedand then have the content to the right.
I know I could add a left margin to the content but the image also changes height, and thus width, when a user resizes the window so that it is always 100% of the window height.
Here is a jsFiddle to demonstrate what I mean: http://jsfiddle.net/NAnK4/1/
Cheers in advance