May 14, 200421 yr I've created a search page (for our publications database) which links to a stylesheet but when viewed in the browser it doesn't display correctly. When viewed in my html editor (Dreamweaver) all appears to be fine. The stylesheet is in the same directory as the search.html page. I also need to create the response.html and detail.html pages which need to use the stylesheet, but they obviously reside in the cdml_format_files folder of FileMaker Pro. All three html pages mentioned above use CDML to display the database info via the web, and this works fine. The stylesheet is needed so that the pages resemble the design of the newly designed web site. Is there anything obvious I'm missing, or is it the way FileMaker's behaving?
June 7, 200421 yr Hi! Your format files resides outside Your root folder bur You can link it with a full URL. Try write this in Your format files. <head> <title>Document title</title> <link rel="stylesheet" href="insert_your_full_URL_to_the_style_sheet" type="text/css"> </head> Fridolin
June 15, 200421 yr Use Dreamweaver's "Attach Style sheet" function to write the code in the above post. Open your html file in Dreamweaver, be sure the "styles" window is available, then, in Design or Split mode, click in the Design mode panel. Clck on the pulldown menu for styles and select "Attach Style Sheet...". The resulting dialog box lets you browse to find the stylesheet you choose. One more thing..... be sure to UPLOAD the copy of the external stylesheet that you have attached. If you don't, the stylesheet is not seen by the files on the server because it is not there. While you are working on your local files (previewing, etc), your computer uses the local stylesheet as a reference. Stylesheets are not automatically uploaded when a file is "put" on the server. You must put the stylesheet file there yourself. Hope this helps. Dave
Create an account or sign in to comment