简体   繁体   中英

linking css and js files does not work for me

javascript

A javascript variable linked to a css variable using the # tag. How I get it to show on screen like this the js variable looks like this var content_1_js = "fredey"; the css variable looks like this #content_1_css { position: absolute; top: 50px;left: 200px; },

document.write(conent_1_js); // the css does not work. any ideas please.

javascript

A javascript variable linked to a css variable using the # tag. How I get it to show on screen like this the js variable looks like this var content_1_js = "fredey"; the css variable looks like this #content_1_css { position: absolute; top: 50px;left: 200px; },

document.write(conent_1_js); // the css does not work. any ideas please.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM