|
|
|
Forum Member
Group: Forum Members
Last Login: 3/10/2006 2:44:00 PM
Posts: 3,
Visits: 1
|
|
I'm using the following css to render a background on the body tag.
body { background: #555 url(/assets/images/bg.gif); }
I'm using a virtual path (ie, "/") to reference the site root, since the site will have pages in multiple directories. When previewing in the live preview window, and in the browser, the background image does not show up. Even when I make it a relative path (assets/images/bg.gif) it still does not show up.
Is there a setting to reference the site root at all times, or to alwys preview from a url like localhost?
|
|
|
|
|
Forum Member
Group: Forum Members
Last Login: 3/10/2006 2:44:00 PM
Posts: 3,
Visits: 1
|
|
Doh, I think I just solved my own problem. I originally set a mapping (in the site settings) to the site's location on our local server, but it wasn't working. When I added the exact same mapping information to TopStyle's program options, it started working.
Now I've run into another problem... In TopStyle's program options, under "Preview," I've checked "Use actual file instead of temp file when previewing HTML," however, it's still creating the temp file to preview the page.
|
|
|
|
|
Forum Member
Group: Forum Members
Last Login: 3/10/2006 2:44:00 PM
Posts: 3,
Visits: 1
|
|
| Ok I think I figured this one out too. Upon the 2nd restart of the program, it started to use the actual file for previewing instead of the temp file.
|
|
|
|