Newbies bg_one Posted June 27, 2005 Newbies Posted June 27, 2005 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.
beverly Posted June 28, 2005 Posted June 28, 2005 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)?
Newbies bg_one Posted June 28, 2005 Author Newbies Posted June 28, 2005 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?
Martin Brändle Posted June 28, 2005 Posted June 28, 2005 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
Newbies bg_one Posted June 28, 2005 Author Newbies Posted June 28, 2005 How would I add a background image in xslt code then?
Martin Brändle Posted June 28, 2005 Posted June 28, 2005 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.
Recommended Posts
This topic is 7088 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now