Re: [NH] Form
You define different font classes to get the different colors. For example, the FONT definition you
gave might be for your default page font, while the others might be
font-family : times;
font-style : normal;
font-family : times;
font-style : normal;
Then, in your <font> tags, you would change the color by using the class definition via <font
class=RED> to use any color other than the default one. Or, if you prefer to create classes that
are not tied to a tag, just do the same as above, but don't use the FONT, just the .WHATEVER
(dot WHATEVER). Then, you can refer to those classes in areas outside of FONT tags, doing
away with them all together.
Hope this helps,
On 25 May 00, at 8:22, Jody said:
> Hi Lotta,<snip>
> But I obviously have to be missing a very big point here. Below
> is good for one font tag. Now, I want to use about say 10 different
> colors in my page. Using the old method which CSEVal... says is
> getting replaced by .css I would wrap the text in it. In other
> words show me how I make red white and blue font colors to use in
> three places.
> font-family : times;
> font-style : normal;
> color: blue;
Truly great madness can not be achieved without significant
intelligence. (Henrik Tikkanen)
The closest distance between two people is a good laugh. - Leo Bascalia
- Hi Grant,
> Some notes on Take 48<UL>
> in UL can only contain a LI element but if you want to nest
> unordered lists LI can contain UL
Thanks - don't know what I would use it for, but it may come
in handy sometime.
> A plug..You might want to try my xhtml libraryI couldn't find the Clip(s) to check the tags, etc. Nice Libraries
though and I see you added your Clipbar. ;)
A suggestion to add to certain Clips. ^!SetScreenUpdate Off makes
a number of them faster and much easier on the eyes. ;) Check out the difference in your select tag Clip in xhtml.
Bye for now,
Prov. 3:5-7; 4:23
> I couldn't find the Clip(s) to check the tags, etc.Try selecting any text with tags then attempt to wrap with a provided clip
Try a few badly formed wraps.
eg; In trying to wrap </ul> without the opening <ul> an infobox will report
"You are trying to wrap a closing tag. Where is the opening tag?"
eg; try to wrap Ul element with another Ul element and an infobox will
"You cannot wrap Element <ul> with <ul>
valid Tags for <ul> are li".
This does prevent all cases of syntactically bad wrapping but I think does a
reasonble job to prevent some common markup typos.
> though and I see you added your Clipbar. ;)Ok so I cheated a bit and appropiated the existing icons to suit my own
purposes. If I've got the time I'll create my own icons. Know of a good icon
> A suggestion to add to certain Clips. ^!SetScreenUpdate Off makesdifference in your select tag Clip in xhtml.
> a number of them faster and much easier on the eyes. ;) Check out the
Good idea and I'll see where else I can apply this.
I have now added a new "element_can_contain" button , when cursor placed on
an existing tag and pressed will present in an info box a list of acceptable
tags that can follow. This should help those learning xhtml.
Library can be downloaded at.
- Hi Grant,
> Try selecting any text with tags then attempt to wrap with aOK, will do.
> provided clip element. Try a few badly formed wraps.
> Ok so I cheated a bit and appropiated the existing icons toI normally use PSP for my .bmp's for NoteTab. If you use .ico
> suit my own purposes. If I've got the time I'll create my own
> icons. Know of a good icon editor?
NoteTab has to convert them. I have a mess of different image
software, PSP the only shareware. From my NoteView Clipbar:
Requires NoteTab v4.81 or above
H="Get BKColour Coder"
H="Get LView Pro"
H=LView Pro Image Editor
> www.markup.co.nz/xhtml/libraries/xhtml.zipIf I do xhtml can I turn right around and use NoteTab's Tags to
uppercase? Why do you use xhtml over regular html and, in short,
what is the difference as far as a weekend page builder would use
Also, I can mess around with Tidy.cfg a bit and figured out how
to adjust indent or none at all, but how do I make it not do
anything to my existing format?
The NoteTab and Html List...
- Hi Jody
Thanks for the list of URLs
> If I do xhtml can I turn right around and use NoteTab's Tags toYes but it won't be xhtml because xhtml is case sensitive and the case of
tags and thier attributes must all be in lower case.
>Why do you use xhtml over regular html and, in short,For beginners ---
> what is the difference as far as a weekend page builder would use
> them for?
Mark up with xhtml is easier to learn than html as as the xhtml markup rules
are more consistent than html.
all tags and attributes in lower case
all tags must be closed. eg; <p>closed with </p>
Attribute values must always be quoted.
and so on ... refer to the following one page w3c doc
Also xhtml ought to produce a cleaner and more easily readible and alterable
For advanced user.
With xhtml you get the ease and familiarity of html with the power of xml.
When you markup with xhtml what you get is "a reformulation of HTML 4 as an
XML 1.0 application".
If your xhtml document is well formed and valid then you can parse it as XML
and use the DOM to manipulate it and CSS to style it. In an ms enviroment
this means you can use the ms COM object. "microsoft.xmldom" and use the
scriptable properties and methods available for that object. There are also
various perl and java xml parsers you can use. It's early stages yet but it
seems the futures is xml. I don't know who said it I think the quote is
"Xhtml is the bridge between the past and future web"
> Also, I can mess around with Tidy.cfg a bit and figured out howset "markup" config declaration to "no".
> to adjust indent or none at all, but how do I make it not do
> anything to my existing format?
Determines whether Tidy generates a pretty printed version of the markup.
Bool values are either yes or no. Note that Tidy won't generate a pretty
printed version if it finds unknown tags, or missing trailing quotes on
attribute values, or missing trailing '>' on tags. The default is yes. "
The xhtml library has a wizard to help build a tidy config file. You can
access the config file wizard by holding ctrl down while pressing the tidy
- Hi Grant,
Thanks for the info in the other posts.
I tried the following in my .dtd file with and without %Color;
but Tidy still reports it. ???
<!ATTLIST TABLE -- table element --
bgcolor %Color; #IMPLIED -- background color for cells --
bordercolorlight #IMPLIED -- bordercolor for IE tables --
bordercolordark #IMPLIED -- bordercolor for IE tables --
bordercolor #IMPLIED -- bordercolor for IE tables --
><!DOCTYPE HTML PUBLIC "-//w3c//dtd HTML 4.01 Transitional//EN" "E:\NoteTab Pro\loose.dtd">
Clean-Funnies: click and send...