|
2007-01-10, 02:37 PM | #1 |
Mean people suck, nice people swallow, are you mean or nice?
|
I need a little CSS help
The default text color on my pages is a yucky blue. I use span class=text, span class=text1, etc. for the different text colors I want but how can I use CSS to set the default text color so I don't have to use the span class= ?
|
2007-01-10, 02:44 PM | #2 |
You can now put whatever you want in this space :)
|
From one of my style sheets:
this would apply to all text in the body as well as tables... body,td,th { color: #4a4afc; font-family: Arial, sans-serif; font-size: 12px; }
__________________
Submit Your Freesites: |
2007-01-10, 02:46 PM | #3 | |
Mean people suck, nice people swallow, are you mean or nice?
|
Quote:
body { color: #4a4afc; font-family: Arial, sans-serif; font-size: 12px; } Nope, that didn't work. What am I missing? As a side note, what is the "th"? Last edited by Licker4U; 2007-01-10 at 02:50 PM.. |
|
2007-01-10, 02:54 PM | #4 |
You can't disprove anything with evidence that doesn't exist
Join Date: Mar 2003
Location: NW Minnesota - pop 865 +/- 1
Posts: 2,038
|
body {
color: #4a4afc; text: #000080; font-family: Arial, sans-serif; font-size: 12px; }
__________________
This is me Mark's-Links |
2007-01-10, 03:01 PM | #5 |
You can now put whatever you want in this space :)
|
the "color" attribute applies to the text color...
http://www.htmlite.com/CSS005.php 3/4 of the way down the page or better yet...here http://www.w3schools.com/css/css_syntax.asp
__________________
Submit Your Freesites: |
2007-01-10, 03:03 PM | #6 |
You can't disprove anything with evidence that doesn't exist
Join Date: Mar 2003
Location: NW Minnesota - pop 865 +/- 1
Posts: 2,038
|
Do you have URL for your site in progress we can look at?
Sort of like fishing in the dark.
__________________
This is me Mark's-Links |
2007-01-10, 03:12 PM | #7 | |
That which does not kill us, will try, try again.
|
Quote:
When does season start up there? -- btw - Licker, what Majick and Dare told you should take care of getting your otherwise non-spec'd text into the color you want.
__________________
"If you're happy and you know it, think again." -- Guru Pitka |
|
2007-01-10, 03:30 PM | #8 |
You can't disprove anything with evidence that doesn't exist
Join Date: Mar 2003
Location: NW Minnesota - pop 865 +/- 1
Posts: 2,038
|
Whenever you're brave enough to walk on the ice. I wait for at least 4 inches
Actually, fishing season is only closed in the Spring for about 45 days for Northern Pike and Walleyes to spawn. Quite a few species like panfish are open year around. I can't stand sitting in an icehouse, so I don't ice fish. But paying the neighbor that loves ice fishing a buck a fish isn't a bad deal
__________________
This is me Mark's-Links |
2007-01-10, 03:32 PM | #9 | |
Mean people suck, nice people swallow, are you mean or nice?
|
Quote:
On this page the recip's for Wet Place and Penis Bot Don't have the text color spelled out in their recip tables. I can change the size of the text but the color won't change. I want the text to be fffc29... yellow. (I just saw Tyler Florence on the Food Network cook three different soft shell crab dishes. Damn I can't wait til May so I can get some soft shell crabs down at the bay.) Last edited by Licker4U; 2007-01-10 at 03:37 PM.. |
|
2007-01-10, 03:40 PM | #10 |
You can't disprove anything with evidence that doesn't exist
Join Date: Mar 2003
Location: NW Minnesota - pop 865 +/- 1
Posts: 2,038
|
A:link {
color: #fffc29; text-decoration: none; } A:visited { color: #fffc29; text-decoration: none; } A:hover { color: #fffc29; text-decoration: underline } Tyler Rules!! lol just thought I'd add that for ya.
__________________
This is me Mark's-Links |
2007-01-10, 03:41 PM | #11 |
Mean people suck, nice people swallow, are you mean or nice?
|
|
2007-01-10, 03:43 PM | #12 |
Mean people suck, nice people swallow, are you mean or nice?
|
|
2007-01-10, 03:46 PM | #13 |
You can't disprove anything with evidence that doesn't exist
Join Date: Mar 2003
Location: NW Minnesota - pop 865 +/- 1
Posts: 2,038
|
Yes it would - so....
Add in this (edit to create your effect) .recips1 { color: #fffc29; font-size: 24px; font-weight: bold; } Change the tags in your recip table(s). Bobby is Bobby - I doubt at over 3M a year he cares about a negative blog.
__________________
This is me Mark's-Links |
2007-01-10, 03:47 PM | #14 |
Mean people suck, nice people swallow, are you mean or nice?
|
Aww geez, I can't change recip tables 'cause I use SSI to call them.
|
2007-01-10, 03:48 PM | #15 |
You can't disprove anything with evidence that doesn't exist
Join Date: Mar 2003
Location: NW Minnesota - pop 865 +/- 1
Posts: 2,038
|
Not sure what comes first, the chicken or the egg, but I think the SSI call comes first.
Try it out, see what happens, the CSS should work as it should come in second.
__________________
This is me Mark's-Links Last edited by dareutwo; 2007-01-10 at 03:51 PM.. |
2007-01-10, 03:53 PM | #16 |
Mean people suck, nice people swallow, are you mean or nice?
|
I HAD been setting the unspecified text color in my body tag. <body text="#fffc29, link="#fffc29", alink="#fffc29", vlink="#fffc29" but I'm trying to get out of that and just use SSI.
|
2007-01-10, 04:00 PM | #17 | |
Mean people suck, nice people swallow, are you mean or nice?
|
Quote:
Thanks again Dare |
|
2007-01-10, 04:05 PM | #18 | |
You can't disprove anything with evidence that doesn't exist
Join Date: Mar 2003
Location: NW Minnesota - pop 865 +/- 1
Posts: 2,038
|
Quote:
ie.. You have SSI calls CSS calls If your html says <font size=3> it will be font size 3. Does that make sense? I'm moving servers at the moment, so sort of multitasking.
__________________
This is me Mark's-Links |
|
2007-01-10, 04:20 PM | #19 |
Lonewolf Internet Sales
|
Bobby Flay *is* an idiot.
|
2007-01-10, 04:27 PM | #20 |
You can't disprove anything with evidence that doesn't exist
Join Date: Mar 2003
Location: NW Minnesota - pop 865 +/- 1
Posts: 2,038
|
Toby - you making over 3M a year cooking???
I don't think he's idiot. Just filling a niche that isn't widely known except in the SW. Going to Vegas? Check out Mesa Grill in Ceasars Palace.
__________________
This is me Mark's-Links |
2007-01-10, 05:43 PM | #21 |
Mean people suck, nice people swallow, are you mean or nice?
|
Yes he's an idiot, but a rich one
I don't mind his cooking, just a lot of the same things over and over. I also stumbled on a blog about Sandra Lee. It was funny as well. They had screen caps of one of her shows where it looked like she was trying to slip a nip out of her different outfits. (And she damn near did!) LOL |
2007-01-10, 09:51 PM | #22 |
Shut up brain, or I'll stab you with a Q-tip!
|
So? If the SSI code isn't wrapped in a DIV (check your html before doing this to make sure) then you can. e.g. <div class="recip"><!-- your SSI code --></div>
|
2007-01-11, 07:09 AM | #23 |
Mean people suck, nice people swallow, are you mean or nice?
|
|
|
|