Results 1 to 2 of 2
Linking image at the bottom of another page Forum: HTML ForumReplies: 2
Having trouble adding top image over background image Forum: Myspace ForumReplies: 3
background image Forum: HTML ForumReplies: 9
Background image Forum: HTML ForumReplies: 4
Can't get image to set as background Forum: HTML ForumReplies: 4
05-14-2002, 12:55 PM #1
Relative linking to background image.
Well, after creating a jamrent.css file and beginning to reference, I 've encountered a problem getting the background image to work consisitently - it does or does not depending upon who knows what's in or not in my local cache with IE 5.01
The two versions of one page where I reinserted the BACKGROUND code into the <BODY ...> and the other that just references the ../jamrent.css file are at:
Relative linking question:
When referencing the ../jamrent.css file from tomm/sport.htm, does the internal jamrent.css file use the same referencing scheme or is it (like .js files) always based upon the location of the source HTML file and not the location of the .css file on the server?
In other words, should the .css file refer to /i/backgr/newspr.jpg or to ../i/backgr/newspr.jpg
as the url(...) inside the definition for #bodynews?
Oh yes, click the 2002-2002 at the bottom (of the 50megs site) to get to the jamrent.css source file.
Last edited by benzden; 05-14-2002 at 12:58 PM.
05-14-2002, 01:30 PM #2
urls are relative to the css file, not the html file. Its the difference between a LINK and an INCLUDE.
Hope that helps.If one of our members helps you, please click the icon to add to their reputation!
No support via email or private message - use the forums!
Before you ask, have you Searched?