kclark Posted December 23, 2010 Share Posted December 23, 2010 I have a page that displays various articles. I would like to show a background image for each article. Let's say I have articles for beaches. I would like to have a beach photo. Airplane article, show airplanes, etc. How can I accomplish this. Quote Link to comment Share on other sites More sharing options...
haku Posted December 23, 2010 Share Posted December 23, 2010 purchase the images, set them as the background. Quote Link to comment Share on other sites More sharing options...
kclark Posted December 24, 2010 Author Share Posted December 24, 2010 Excuse me, the images are MINE!!! I want to use them for my articles that I wrote. How can I do that using php on my pages. Thank You Quote Link to comment Share on other sites More sharing options...
haku Posted December 24, 2010 Share Posted December 24, 2010 Create CSS classes for each of the backgrounds, set the image as the background in that class, and make PHP output the class. Moving to PHP section since this isn't an HTML question. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.