Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Re: [Alba] glinks template feedback

Quote Reply
Re: [Alba] glinks template feedback In reply to
In Reply To:
I have images stored on my system all named in relation to the record ID and currently call them within the HTML using <IMG SRC="http://www.mysite.com/...pix/<%ID%>.jpg" /> When checking my pages, I get told this is no longer legitimate.
In xhtml, you have to lowercase all elements/tags and the attribute names, so it should be <img src="..." />

In Reply To:
I would now like to call these images using the style sheet but don't believe you can use GT tags in the .css files?
No, you can't use GT tags in the css files because they aren't parsed by GT::Template. This is also why the files are in the static directory.

In Reply To:
If I put <style type="text/css"> at the top of my HTML pages with the appropriate coding- will this override both the core & custom.css for this particular class?
Yup, as long as you put it below where include_common_head.html is included. It's still preferable to put it in custom.css, since then it will be cached, and it will be one less template that you have modified and will have to keep track of after the next upgrade.

In Reply To:
(I did try to find a book on XHTML in the local library- will have to wait until I go to town at the weekend. Do you have any book recommendations?)
hmm, I don't have any recommendations I can think of off the top of my head. We'll try make a list of them when we get a chance.

Adrian
Subject Author Views Date
Thread glinks template feedback Alba 10221 Mar 10, 2005, 1:18 AM
Thread Re: [Alba] glinks template feedback
brewt 9899 Mar 10, 2005, 1:29 AM
Post Re: [brewt] glinks template feedback
Alba 9839 Mar 10, 2005, 1:39 AM
Thread Re: [brewt] glinks template feedback
Alba 9915 Mar 15, 2005, 2:09 AM
Thread Re: [Alba] glinks template feedback
HyperTherm 9891 Mar 15, 2005, 2:19 AM
Thread Re: [HyperTherm] glinks template feedback
Alba 9805 Mar 15, 2005, 3:24 AM
Thread Re: [Alba] glinks template feedback
HyperTherm 9851 Mar 15, 2005, 6:38 PM
Thread Re: [HyperTherm] glinks template feedback
brewt 9962 Mar 15, 2005, 6:44 PM
Thread Re: [brewt] glinks template feedback
Alba 9807 Mar 16, 2005, 5:52 AM
Thread Re: [Alba] glinks template feedback
pugdog 9766 Mar 16, 2005, 10:29 AM
Post Re: [pugdog] glinks template feedback
Alba 9746 Mar 16, 2005, 11:06 AM
Thread Re: [Alba] glinks template feedback
brewt 9846 Mar 16, 2005, 11:54 AM
Post Re: [brewt] glinks template feedback
pugdog 9815 Mar 16, 2005, 12:24 PM
Post Re: [brewt] glinks template feedback
Alba 9730 Mar 16, 2005, 12:46 PM
Thread Re: [brewt] glinks template feedback
HyperTherm 9760 Mar 16, 2005, 1:15 PM
Thread Re: [HyperTherm] glinks template feedback
pugdog 9740 Mar 16, 2005, 1:23 PM
Thread Re: [pugdog] glinks template feedback
HyperTherm 9786 Mar 16, 2005, 1:36 PM
Thread Re: [HyperTherm] glinks template feedback
Alba 9739 Mar 16, 2005, 1:58 PM
Thread Re: [Alba] glinks template feedback
HyperTherm 9754 Mar 16, 2005, 2:06 PM
Thread Re: [HyperTherm] glinks template feedback
brewt 9738 Mar 16, 2005, 3:40 PM
Thread Re: [brewt] glinks template feedback
HyperTherm 9757 Mar 16, 2005, 4:22 PM
Post Re: [HyperTherm] glinks template feedback
brewt 4289 Mar 16, 2005, 4:29 PM
Post Re: [HyperTherm] glinks template feedback
mgeyman 4194 Mar 17, 2005, 4:20 AM
Post Re: [HyperTherm] glinks template feedback
Alba 4182 Mar 17, 2005, 8:55 AM
Thread Re: [Alba] glinks template feedback
brewt 9764 Mar 16, 2005, 3:29 PM
Thread Re: [brewt] glinks template feedback
Alba 4220 Mar 17, 2005, 1:34 AM
Thread Re: [Alba] glinks template feedback
brewt 4157 Mar 17, 2005, 2:02 AM
Thread Re: [brewt] glinks template feedback
Jag 4178 Mar 17, 2005, 4:35 AM
Thread Re: [Jag] glinks template feedback
Alba 4255 Mar 17, 2005, 9:03 AM
Post Re: [Alba] glinks template feedback
Jag 4139 Mar 18, 2005, 3:15 PM
Thread Re: [brewt] glinks template feedback
Alba 4177 Mar 19, 2005, 1:05 AM
Post Re: [Alba] glinks template feedback
brewt 4196 Mar 19, 2005, 1:33 AM
Thread Re: [HyperTherm] glinks template feedback
brewt 9783 Mar 16, 2005, 1:47 PM
Post Re: [brewt] glinks template feedback
HyperTherm 9748 Mar 16, 2005, 3:02 PM
Post Re: [Alba] glinks template feedback
brewt 9887 Mar 15, 2005, 10:26 AM