pdxsherpa — 2013-06-24T00:26:27-04:00 — #1
This is what I am looking at...
I have several pages, each one should have a diff background image in the ccs body tag. e.g.
is there a way to load them with jquery or even css or do I need to make a diff stylesheet per page (wich is what is looking like to me so far).
ronpat — 2013-06-24T01:51:31-04:00 — #2
You can assign a different class or ID in the body tag for each page, then associate the respective background image with that class/ID.
Assuming all of the pages call the same css file, that should work just fine.
and the HTML would be
Hope this is helpful.
pdxsherpa — 2013-06-24T10:42:42-04:00 — #3
Ronpat, what a good point.
I had actually not even thought of assigning an id to the body (kinda like the html) usually w/the exception of adding a background to it I leave them alone.
No reason why it shouldn't work will try it out.
pdxsherpa — 2013-06-24T23:20:49-04:00 — #4
Ronpat, a quick follow up.
That was a dead on great suggestions. Worked great.
ronpat — 2013-06-24T23:48:47-04:00 — #5
You're very welcome, Sherpa. Glad to contribute to the cause