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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Links problem

Status
Not open for further replies.

sabavno

Programmer
Jul 25, 2002
381
CA
Please tell me what is difference between
background="/images/backgrounds/background.gif"
and
background="images/backgrounds/background.gif"

Thanks
 
1st: image location is in the ROOT DIR/images/backgrounds

2nd: image location is in CURRENT DIR/images/backgrounds
 
Is there any way change one line in the 200 files, not going into each and every one manually?
Run a script or anything of that sort?
 
no! you will need to change them all manualy. way around this is the use of external .js files in include files.
example
<--# include=&quot;link.html&quot; -->
or
<script language=&quot;javascript&quot; src=&quot;link.js&quot;></script>

if you have your background properties in a external .css cascading style sheet then you can change the .css and reflect the site
example
<link rel=&quot;stylesheet&quot; href=&quot;CSS/style.css&quot; type=&quot;text/css&quot;>
body {
background-image: url(background.gif);
}

admin@onpntwebdesigns.com
 
Use a text editor with batch search/replace function in multiple files or selected directory.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top