GIGJ.COM welcome to my space |
| VERY simple HTML/css question | | Published by: wktd 2009-01-07 |
| Psd slicing old testimonials, psd to html works:: do my CSS/XHTML because I know the Designs that I create are very well put Simple, effective and quick. That is how I would describe PsdSlicing. http://www.psdslicing.com/references/oldHOME | Greetings.
I wish to globally force the default font face for an entire page,
without the need to enclose text within any particular tags.
I can do this for text color (using the 'text=' attribute in the
section), but I know of no global attribute to specify
font face.
Likewise, I don't know how to use css to force characteristics of
objects unless they're enclosed in some sort of tag ( CSS Training | Beginners Guide To CSS:: How to create a CSS menu the very best way from start to finish. Im a novice to css - been using html with tables for quite some time now. http://howtomastercss.webdesignboost.comHOME | Style P And H? Html Tags:: Well, I have found that css was very hard to predict and precise control their apperance. HTML: Seems Like A Simple Problem, But Im Baffled! http://www.astahost.com/info.php/style-p-h-html-tags_t18883.htmlHOME | , , ,
etc).
I suspect there's a css instruction that I can include in a 'style='
attribute within the tag that will apply globally...
hmmm?
Hello davidfilmer,
Great questions!
Q. I wish to globally force the default font face for an entire page,
without the need to enclose text within any particular tags?
-------------------------------------------------------------------------------
The way to do this is with the 'font-family' designation :
Example :
Optionally, you can include this in the header of your document as
well, and designate it for the whole body :
Q. Likewise, I don't know how to use css to force characteristics of
objects unless they're enclosed in some sort of tag (, ,
,etc)?
-------------------------------------------------------------------------------
You would do the same above to apply different font families to each
respective tag - like this :
This means you can assign two different families, and it would work
fine :
This command degrades well, as I just tested it in Netscape 4.7 and it
works fine. It will apply to the tags you have listed with no
problems. The only time it will not apply, is of course, when you are
applying other styles to override these ones.
Search Strategy Used :
Prior knowledge, but here is some more pertinent information -
http://css.nu/examples/dep-examples.html
I hope this answers your question to your satisfaction. Please do not
hesitate to ask for clarification should you need it. I would be more
than happy to assist. Thanks again!
SgtCory
Nortel Unveils Vision, Strategy for Israeli High-Performance Net
Busy Friday Leads to Strong Close for Net Stocks
|
#If you have any other info about this subject , Please add it free.# | |
|