![]() |
|
cpnet
|
"font-family" defines the family of fonts to use for the element/class you're defining the style for. You can specify one or more fonts in "font-family". The reason for multiple specifying multiple fonts is that not all users will have all fonts available. What
|
||||||||||||||||
|
|
|||||||||||||||||
|
Josh
Forum Regular
|
what you may want to do is provide css for a span or div that changes your styles accordingly:
.poem, .author { font-family:"fonts"; font-size:10pt; } .author { font-style:italic; } and then just wrap your text in tags: <span class="poem">This is a poem about a gnome who used to live in a tree.<br />He's little and ugly, has a big nose, and has a thing for me</span><br /><span class="author">U. No Hoo</span> |
||||||||||||
|
|
|||||||||||||
|
Allen
Forum Regular
|
Thanks fellas, I got the idea. I haven't tried the web thing yet and probably won't until late tomorrow. I gotta prepare for a court date tomorrow. For the first time in my life I'm having to sue someone. It isn't over a big amount, just $600, but the principle of the thing was my main motivator.
Dang Josh, I didn't know you was a poet!! Are you the mystery U. No Hoo? REALITIES, LOGIC AND ROPING WIND Where did you blow to, my yesternight mind, were you breezed by logic as daily defined? Like brainstorms reek of emotions I've got, for logic may rain is a worthwhile thought. Countless logics our own minds never doubt, tho never lassoed nor its wind do we mount. A.O. Kime (1941- ) (It looks better in courier new, 10 pt, centered tho) |
||||||||||||
|
|
|||||||||||||
|
loftboy
Forum Regular
|
this is what i was telling u about in other threads and using css
i didnt read all this thread so sorry if its been covered but the search engines spyders dont read font sizes, in fact the tag "font" has been depreciated. it see's the <h1> or <h2> (and so on) as a major emphises and therefor puts heavy concideration in those tags. i looked at a few of the messages and i would suggest that u dont alter the css code straight on the page but keep it in a seperate css file, that just makes more junk for the spyders to go through, remember all that? |
||||||||||||
|
|
|||||||||||||
|
loftboy
Forum Regular
|
well u should try and keep the class call outta the span tag but in this case we'll let it slide
|
||||||||||||
|
|
|||||||||||||
|
Josh
Forum Regular
|
Care to elaborate? This is the first I've heard... |
||||||||||||||
|
|
|||||||||||||||
|
loftboy
Forum Regular
|
some browsers still dont have proper support for variables in the span tags, i dont remember the specifics but i remember it being some weird issue cause thats where most editors put them. I pretty much always did it, the site im working on now is the 1st one i havent
|
||||||||||||
|
|
|||||||||||||
|
Josh
Forum Regular
|
That's the first I've heard... that's why I asked for some more info
|
||||||||||||
|
|
|||||||||||||
|
loftboy
Forum Regular
|
i actually think i saw it on a css/xhtml video i got from lynda.com, if i watch it again i will give u the details
like i said the site im doing right now is the first 1 im trying it on was hoping to do a total tabless design but only was given 4 dayz to finish the site (today is day 4), so its not done yet but has to be today but if u wanna see who i encorporated the tags http://denveralumnaegpb.com/main.cfm actually is pretty easy on this one i just made a header, a footer both enclosed in tables which i was hoping to avoid and then a main section with a main table split into 2 rows, one the contect, one the nav, then one more table to hold the main content. Then just filled it with divs, seemed to be ok but took looked like **** on ie but im slowly getting it all fixed on the LINKS page i did put a few class tags in the spans cause i didnt know how else to do it, if u look at source u will see what i mean |
||||||||||||
|
|
|||||||||||||
|
Josh
Forum Regular
|
nice... the only funny thing that I see (and maybe it only bugs me) is that the Guestbook like on the nav bar causes the div to resize really strange... it causes a shift. At least in IE it does (looks fine in FireFox), if you're interested in making it good for all browsers.
I struggle with coding for IE everytime I have to do anything... but I have to get out of the habit of using Tables for everything. My problem is that when I was learning somebody showed me tables and told me to stay away from layers... so now I struggle with getting the layout the way I want... *sigh* Tables work fine, but the da[]V[]n layers catch me everytime. Someday... |
||||||||||||
|
|
|||||||||||||
|
loftboy
Forum Regular
|
i did the guestbook at about 4am this morning with a blaring migraine so i havent checked it against ie yet
the main problem i get with ie is that the default state is center and everything else is left soon as i get the calendar done i will be validating against the browsers calendar = flash, xml & cfm, whoo hoo tables are hard to give up, trust me i know! i was kinda scared like on the guestbook to do the cfm output without them but it works, i just will need to tweak the css the hardest part of the guestbook was making the bottom dotted line work, go figure |
||||||||||||
|
|
|||||||||||||
| Titles and <h1> tags |
|
||
|


