CSS: background-image: url with absolute path to another disk partition
I want to write some stylesheet and use some backgrounds in larger
project, but I don't know path where the graphics will be in future in the
project. So I want to only prepare it, and paths will be replaced then. I
don't want to move graphics or stylesheets. Project is on C: using xampp
and graphics on D: Question is how can I import the graphics? I tried
something like
background: url("file://localhost/D:/brig/task/image.png");
background: url("file://D:/brig/task/image.png");
background: url("D://brig/task/image.png");
Can I use absolute path like this??
No comments:
Post a Comment