Forum Moderators: open
BACKGROUND INFO:
I have built a site for the restaurant I work at. The head chef wishes to upload the ever changing menu to the site.
So he types up the menu in word then saves as a web page.
Then logs on to the site and via a PHP uploads the .htm file to the server.
The folder containing the filelist.xml and header.htm are already on the server.
The site uses Iframe to display the menu, calling it from the sever.
WHAT I NEED TO DO:
The menu as a word doc must have a white background for printing but the site uses a colour background and I am hoping it is possible to force the menu.htm file to use a different bgcolor.
I thought that this might be possible via the filelist.xml file that never changes. ?possibly reverencing an alternative css?
I have no experience with .xml and only a basic understanding of html. I used GoLive to create the site.
thanks for reading this.
Marshall
Good Suggestion and I didn't think of it.
I found that if I added the BGCOLOR code to the <body> in the .htm file after saving then re-opened it in word it left it in the file, so its a messy work around but it works.
Your suggestion is much better but the menu needs columns (food description - price), which when saved as .txt moves column 2 to a new page.
Thanks again for helping and any ideas on how to keep the columns would be good as I will then be able to use a .css to make it look better on the site.
thanks
I have a customer, which too is a restaurant, and the site has a menu. I use a two column table, left for items, right for prices, and have the bottom border of the <td> dotted. Visually it works great and emulates the .pdf version (which is another option - save the .doc as a .pdf), but I hand code the page and their menu does not change that often.
Marshall
The template calls includes at top and bottom for header and navigation, and the user doesn't touch those lines of code.
The user just edits the content area, and has to wrap the content in bare heading and paragraph tags.
All of the styling is done by an external CSS file.
Now I'm thinking of another way I'd like to achieve all this. I thought it would be easy to find the answers by searching google, but after two days of fiddling about with INCLUDE LINK ID CLASS and so many other things I'm lost and confused.
I thought if I build a duplicate table(div) on a new html page I could load the corresponding text from the menu page into each cell. the benefit being I can format this page the way I want with a stylesheet css.
So in short is there a way of loading the text from a cell on an external page into the cell of the page I want shown.
I know that probably isn't very clear
Thanks, if you do have any thought on this I'd be grateful
If you were wanting to extract part of a page, then you would need a PHP script or something, but I don't see any need for that complexity.