June 27, 200520 yr Newbies I am using Filemaker 7 Pro and Filemaker 7 advanced to host databases. I use Filemaker site assistant to export the file into xslt code then I take the xslt code and try to change the background, but when I do try this and drop these files back on the server to host the database I get an error. When I change the code I am using either Dreamweaver or notepad, but either one makes any difference when I drop it back on the server because the file errors out when viewed on the web. If I change the file and preview it in Dreamweaver it works exactly the way I want it, but not when I go drop it back on the Server. Could someone please help.
June 28, 200520 yr What are your preferences in Dreamweaver for handling these types of files? You can prevent any automatic editing in Dreamweaver. Also, you have to *carefully* change any of the created code. Can you post the snippet of the code you want to change (as it was 'new', and what you changed)?
June 28, 200520 yr Author Newbies Here is the code I changed: <body bgcolor="#ffffff" to -> <body bgcolor="#gaffhj" I changed this in dreamweaver, but I get errors when I upload to the server. How do I prevent automatic changes in Dreamweaver?
June 28, 200520 yr 1. I would not recommend Dreamweaver, it is not XSLT compliant. Either use a texteditor that is able to output Unicode, or an XML editor like XMLSpy, Oxygen or similar. 2. Only hexadecimal values or named colors are allowed as colors in HTML. #gaffhj is not a hexadecimal number. For a color picker see e.g. here: http://de.selfhtml.org/helferlein/farben.htm
June 28, 200520 yr Background image or color? For background image: Change the body tag accordingly: <body background="background.jpg">. The background image must be either a gif or a jpg. Or better, because the background attribute is deprecated, use a CSS style: <body style="background-image:url(background.jpg)"> For background color: <body bgcolor="#triple-hexadecimal-value"> (see my hint for the color picker), or better, because the bgcolor attribute is deprecated, use a CSS style: <body style="background-color:#CCFFFF"> Or use a CSS stylesheet that sets your styles centrally. What you can do with Dreamweaver if big parts of your XSLT are just HTML: First make a HTML file. Convert it to XHTML within DW. Then copy the parts you need into your XSLT template.
Create an account or sign in to comment