Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations sizbut on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

background image question

Status
Not open for further replies.

cajchris

Programmer
Oct 13, 2005
57
GB
hi,

I have a particular DIV tag which contains a lot of attributes in a css for a certain part of my page including a background image url. however i need to be able to get the url dynamically using a CMS im using to build this site. This means that the background image doesnt have its css attributes available. this is the code im talking about:

//This is in the html page
<div id="TopMainArea" align="right"></div>

and the attributes needed are within the TopMainArea DIV in the CSS

regards
chris
 
Why not have a "user style sheet" which contains only the portions of CSS that the user can change with the CMS. This can be dynamically re-written whenever the user changes a setting in the CSS.

Hope this helps,
Dan


[tt]Dan's Page [blue]@[/blue] Code Couch
[/tt]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top