HTML & CSS
What I want to do is use a watermark in a wrapped div and position it on the bottom right. However, I do NOT want the text to scroll THROUGH the image. I want the text to scroll to the left of image. I have tried everything (accept what works), to accomplish this. I give up. Can any one help? Here is the CSS I am using. The test page can be found at Browser Title
Thanks for any help.
margin: 0 auto;
background-position: 72% 95%;
Either you give the #stuff div more width to accommodate the image or you can wrap the hole thing in another div and use separate containers for the text and watermark:
Use absolute positioning to place the watermark where you want it to be. Remember to add position relative the the wrapper div so that the watermarks position is absolute to the wrapper.
You could also just give some padding right to #stuff to keep the text clear.
padding: 2% 250px 2% 2%;
If on the other hand you were expecting text to stretch full width but then wrap around the image then it can't be done in CSS. You can wrap text around a floated (non fixed) image only but not one that sits exactly at the end of random content.
This topic is now closed. New replies are no longer allowed.