November 27, 200817 yr Dear All, I have used the XSLT Site assistant to generate a site based on a flat file. The only problem was that I had some rather large text fields whilst the site generateor produces pages with single line input. To rectify this, I went into dreamweaver and changed the input tags to the textarea tags. As soon as I have done this, whenever I try and edit a record, it does not display the contents that are in the database. When I change the tags back to input, whhen I try and edit a record it works fine. Can someone advise please. Kindest regards Jalz //FMSITE GENERATED CODE FIX() //MY ALTERED CODE WHICH DOES NOT WORK FIX()
November 27, 200817 yr IIRC, the TEXTAREA element doesn't have a 'value' attribute. To assign an initial value to a TEXTAREA, you must place it in the element itself, something like: ... FIX() ...
November 27, 200817 yr Author Thank you comment that works superbly. Any ideas how I can "prettyfy" the layouts generated. PHP supports external CSS, is it the same with XSLT?
November 27, 200817 yr I don't know - why not try and see? If not, you should be able at least to embed an internal CSS stylesheet (or use individual inline styles) in the HTML produced by your XSLT stylesheet. http://htmlhelp.com/reference/css/style-html.html
Create an account or sign in to comment