Add CSS to multiple html files -
i have many html files, named index.html being in different subdirectories. these files created software. after these files being created, want add stylesheet of them!
if use search:"<head>"
, replace:"<head><link rel='stylesheet' href='/style.css'>"
wouldnt work because files need relative paths.
any idea how achieve goal? while iframes oldschool not use css of main page assume.
other ideas?
you use absolute path css-file. doesn't matter they're in different paths:
<link href="/styles/site.css" ...
now every file styles
-folder in root, , file site.css
in folder
Comments
Post a Comment