• Post Reply Bookmark Topic Watch Topic
  • New Topic

CSS1 - background-attatchment

Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am studying CSS1 and there is a background-attatchment property using which an image can be attatched to the browser and it takes 2 values..one is 'scroll' where the image scrolls with the text and another is 'fixed' where the image stays on the browser and doesnt move along with the text...
here is my question:
In HTML, this needs to be attatched to the 'body' tag for it to work. In XML, I tried attatching it to the root element, but it doesnt work...I also tried attatching it to otehr elements but in vain... can anyone throw some light on it
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!