Greenguy's Board

Greenguy's Board (http://www.greenguysboard.com/board/index.php)
-   General Business Knowledge (http://www.greenguysboard.com/board/forumdisplay.php?f=10)
-   -   I need a little CSS help (http://www.greenguysboard.com/board/showthread.php?t=37429)

Licker4U 2007-01-10 02:37 PM

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= ?

HC-Majick 2007-01-10 02:44 PM

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;
}

Licker4U 2007-01-10 02:46 PM

Quote:

Originally Posted by majick (Post 324594)
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;
}

I only want the unspecified text color set. Would this do it?

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"?

dareutwo 2007-01-10 02:54 PM

body {
color: #4a4afc;
text: #000080;
font-family: Arial, sans-serif;
font-size: 12px;
}

HC-Majick 2007-01-10 03:01 PM

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

dareutwo 2007-01-10 03:03 PM

Do you have URL for your site in progress we can look at?

Sort of like fishing in the dark.

Simon 2007-01-10 03:12 PM

Quote:

Originally Posted by dareutwo
Sort of like fishing in the dark.

Or ice fishing.

When does season start up there?

:D


--

btw - Licker, what Majick and Dare told you should take care of getting your otherwise non-spec'd text into the color you want.

dareutwo 2007-01-10 03:30 PM

Quote:

Originally Posted by Simon (Post 324605)
Or ice fishing.

When does season start up there?

:D

Whenever you're brave enough to walk on the ice. I wait for at least 4 inches :D

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 :)

Licker4U 2007-01-10 03:32 PM

Quote:

Originally Posted by dareutwo (Post 324603)
Do you have URL for your site in progress we can look at?

Sort of like fishing in the dark.

http://www.best-wet-pussy.com/girls/i-can-squirt/

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. |huh 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.)

dareutwo 2007-01-10 03:40 PM

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.

Licker4U 2007-01-10 03:41 PM

Quote:

Originally Posted by dareutwo (Post 324613)
A:link {
color: #fffc29;
text-decoration: none;
}
A:visited {
color: #fffc29;
text-decoration: none;
}
A:hover {
color: #fffc29;
text-decoration: underline
}

Doesn't that make all ahref's on the page yellow?

Licker4U 2007-01-10 03:43 PM

Quote:

Originally Posted by dareutwo (Post 324613)
Tyler Rules!! lol just thought I'd add that for ya.

LOL, I found a blog where people were really bashing Bobby Flay as an idiot. It was hilarious. Emeril rocks though!

dareutwo 2007-01-10 03:46 PM

Quote:

Originally Posted by Licker4U (Post 324614)
Doesn't that make all ahref's on the page yellow?

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.

Licker4U 2007-01-10 03:47 PM

Aww geez, I can't change recip tables 'cause I use SSI to call them.

dareutwo 2007-01-10 03:48 PM

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.

Licker4U 2007-01-10 03:53 PM

I HAD been setting the unspecified text color in my body tag.

Licker4U 2007-01-10 04:00 PM

Quote:

Originally Posted by dareutwo (Post 324613)
A:link {
color: #fffc29;
text-decoration: none;
}
A:visited {
color: #fffc29;
text-decoration: none;
}
A:hover {
color: #fffc29;
text-decoration: underline
}

OK, that works, and if I have CSS that spells out a text color for a specific ahref that's a different color, that takes precedence over theA: link, visited, hover's color.

Thanks again Dare

dareutwo 2007-01-10 04:05 PM

Quote:

Originally Posted by Licker4U (Post 324626)
OK, that works, and if I have CSS that spells out a text color for a specific ahref that's a different color, that takes precedence over theA: link, visited, hover's color.

Thanks again Dare

Correct, and anything Hardcoded in the html will be shown.
ie..
You have SSI calls
CSS calls
If your html says
it will be font size 3.

Does that make sense? I'm moving servers at the moment, so sort of multitasking.

Toby 2007-01-10 04:20 PM

Quote:

Originally Posted by Licker4U (Post 324615)
LOL, I found a blog where people were really bashing Bobby Flay as an idiot. It was hilarious. Emeril rocks though!

Bobby Flay *is* an idiot.

dareutwo 2007-01-10 04:27 PM

Quote:

Originally Posted by Toby (Post 324633)
Bobby Flay *is* an idiot.

Toby - you making over 3M a year cooking??? :D
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.

Licker4U 2007-01-10 05:43 PM

Quote:

Originally Posted by Toby (Post 324633)
Bobby Flay *is* an idiot.

Yes he's an idiot, but a rich one :D

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

RamCharger 2007-01-10 09:51 PM

Quote:

Originally Posted by Licker4U (Post 324618)
Aww geez, I can't change recip tables 'cause I use SSI to call them.

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.

Licker4U 2007-01-11 07:09 AM

Quote:

Originally Posted by RamCharger (Post 324669)
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.


That might work, I'll give it a try. Thanks!


All times are GMT -4. The time now is 01:21 AM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
© Greenguy Marketing Inc