Recently I was studing a tutorial on taking an existing website and creating a 
seperate style sheet to make the site workable as a mobile site. In the 
tutorial you replace the existing header image with a smaller image using 
background-image selector in the css.
What I am not clear about, is the original image would have to be placed on the 
original site using the background-image selector in css and not the html image 
tag?
Studing this I am thinking all the original images on the site would have to be 
placed with the background-image tag so that the site could be adapted. Which 
would probably involve each image in a seperate div so that this would work.
Am I interpeting this correctly? Is this proper use of the background-image 
tag? I have tried googling background-image and haven't come up with any 
answers.
I read an article suggesting you start with building your site for a mobile 
site and then adding to it to create a desktop site but that is not always 
possible so I would like to figure out how to adapt a site.
Any thoughts or suggestions on a better way to do this would be appreciated.
Thank you
Kris
______________________________________________________________________
css-discuss [cs...@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to