SitePoint Sponsor |
|
User Tag List
Results 1 to 11 of 11
Thread: CSS Question
-
Jul 20, 2001, 02:13 #1
- Join Date
- Apr 2000
- Location
- Los Angeles, California
- Posts
- 1,008
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
CSS Question
I am new to CSS and had some questions about this test page I made at http://www.jumpthru.com/css/
I copied the code from the style sheet to the bottom of that page.
1) How come the middle word "testing" inhereted the color green, and the font verdana, but not the size of the others.
2) How come none of them are blinking?
Thanks.
-
Jul 20, 2001, 03:44 #2
- Join Date
- May 2001
- Location
- View Ridge
- Posts
- 692
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
jumpthru,
Try specifying the font attributes to specific elements instead of in the body:
p,td,li
{
font-family:Verdana, Arial, Helvetica, sans-serif;
font-size:10pt;
text-decoration:blink;
color: #00FF00
}
-
Jul 20, 2001, 07:39 #3
- Join Date
- Jul 2001
- Location
- Ireland
- Posts
- 5
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Hi
go to
www. bradsoft.com/topstyle
download it
and all your css worries will disappear
Foxy
-
Jul 20, 2001, 10:35 #4
- Join Date
- Apr 2000
- Location
- Los Angeles, California
- Posts
- 1,008
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Originally posted by isotope235
jumpthru,
Try specifying the font attributes to specific elements instead of in the body:
p,td,li
{
font-family:Verdana, Arial, Helvetica, sans-serif;
font-size:10pt;
text-decoration:blink;
color: #00FF00
}
And I have topstyle...getting it wont help answer my question on why those words didn't inherit the properties.
-
Jul 20, 2001, 12:28 #5
- Join Date
- Sep 1999
- Location
- Singapore
- Posts
- 854
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Inheritance just doesn't work that way, disappointing as it may be.
-
Jul 20, 2001, 13:08 #6
- Join Date
- Jun 2001
- Location
- Before These Crowded Streets
- Posts
- 9,446
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
try using an ID instead of a class.
Sketch
-
Jul 20, 2001, 18:22 #7
- Join Date
- Apr 2000
- Location
- Los Angeles, California
- Posts
- 1,008
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
I cant even get the blink css function to work at all even when specifically stating in the document to make it blink. arg.
-
Jul 20, 2001, 18:26 #8
- Join Date
- Sep 1999
- Location
- Singapore
- Posts
- 854
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
If I remember correctly, blink does not work in IE.
-
Jul 20, 2001, 21:56 #9
- Join Date
- Apr 2000
- Location
- Los Angeles, California
- Posts
- 1,008
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Reaaallly.
-
Jul 21, 2001, 06:44 #10
- Join Date
- Sep 1999
- Location
- Singapore
- Posts
- 854
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Yes, but it does work in Netscape.
-
Jul 21, 2001, 22:43 #11
- Join Date
- Apr 2000
- Location
- Los Angeles, California
- Posts
- 1,008
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Reaaallly.
I forget netscape invented the blink tag.
It was probably smart for IE not to support it. It sure is annoying.
But still, youd think IE did it just to keep up with the times...
Oh well, I dont care, I never use it, and now that I think about I never see sites that do (thank god). Makes me mad I would pick a tag not supported for testing purposes.
Maybe IE used to have it then dropped it? I dunno.
Bookmarks