Re: TclHttpd: How to use CSS with it?
- From: "Robert Hicks" <sigzero@xxxxxxxxx>
- Date: 18 Jul 2006 10:09:49 -0700
Gerald W. Lester wrote:
Robert Hicks wrote:<snip>
Lots of questions before any thoughts!
1) Are you talking about just files on disk?
2) Are you talking about tml files on disk?
3) If you are doing the generation in tcl code, what package are you using
to generate your html?
The answers to the above questions will allow an intelligent answer to your
question.
Well I am currently just looking at the TclHttpd stuff itself.
1) I am not sure what you mean by this but if it was just files then I
assume I could do whatever I wanted in the html.
2) Tml: Yes, this one throws me for a loop. Probably because #1 I am
not all that good at Tcl (though trying).
3). Packages: It looks like the html, and ncgi packages are being used.
Here is an example:
proc ::learn::header { title } {
Doc_Dynamic
set html [mypage::header $title]
return $html
}
That is set in a .tml file and in the index.tml file you have:
[mypage::header "TclHttpd Home Page"]
That wraps the "TclHttpd Home Page" in an <h2> tag (although I cannot
find out where this happens. If I want to change it and use CSS I have
to hard code the h2 element to something but that changes all the h2
elements. I would rather have an easy way to wrap that into CSS.
Granted...I am just trying to figure out TclHttpd and where it gets all
the files it uses to create even the default home page, so I may be
missing something.
My ignorance in all things Tcl is probably showing. : )
Robert
.
- Follow-Ups:
- Re: TclHttpd: How to use CSS with it?
- From: Gerald W. Lester
- Re: TclHttpd: How to use CSS with it?
- From: Michael Schlenker
- Re: TclHttpd: How to use CSS with it?
- References:
- TclHttpd: How to use CSS with it?
- From: Robert Hicks
- Re: TclHttpd: How to use CSS with it?
- From: Gerald W. Lester
- TclHttpd: How to use CSS with it?
- Prev by Date: Re: TclHttpd: How to use CSS with it?
- Next by Date: Re: background fcopy and tracing a variable
- Previous by thread: Re: TclHttpd: How to use CSS with it?
- Next by thread: Re: TclHttpd: How to use CSS with it?
- Index(es):
Relevant Pages
|