-
- 32 Posts
I have created a template that is the "frame" for each of my pages (top and side menus).
The call to the CSS files is in the template (in <head>).
I have created a webpage resource with this template: page1 (1).
This is my homepage: page1.com.
The "content" is the material that goes inside the frame, which differs from page to page.
CSS looks fine (both for the frame and for the content).
I have created another webpage resource with this same template: page2 (2).
If I "view" this page, I see page1.com/page2.html as the URL and the CSS looks correct.
If, however, I put a link in page1 to page2, the CSS does not look correct for page2 content when the link in page1 is clicked.
The html for the link is in the page1 content and it looks like this: <a href="[[~2]]">text</a>.
When clicked, I am taken to page2 content (within the frame created by the template), however the CSS for the content is off and the URL still reads page1.com. (Though, hovering over that link shows page1.com/page2.html)
If the link to page2 is put in the template, I am taken to page1.com/page2.html and the CSS is fine.
What's going on here?
Does any page that will have links in the content have to be a new template?
If so, then all my pages will have to have their own template which makes the template/webpage resource difference moot.
What am I missing?
Thanks in advance for any insight!
-
- 571 Posts
You mention "frame" when describing how your pages/templates work. Is this purely for the purpose of describing the structure to us, or have you actually used the html tag <frameset> to define the location of page 2 within a frame on page 1?
-
- 32 Posts
Oops, somehow that doc first loaded empty. I have put the correct doc as an attachment.
The little "X" doesn't make the first doc go away so I can't delete it.
Thanks!
-
- 571 Posts
Hello Julie,
The attachment seems to be empty. Would you mind posting the code from the template? Is the same template used for both pages? If not could you post both?
I thought it unlikely that you would have used <frameset>but thought I had better ask!
It would also be useful to know what your FURL settings are in the Manager and whether you are using an .htaccess file.