HOME | DD

roguedeveloper — css in like five minutes : 1

Published: 2006-11-19 23:34:31 +0000 UTC; Views: 11819; Favourites: 108; Downloads: 535
Redirect to original
Description This is part #1 of a short series I'm working on.


Next Part (#2): More on selectors [coming soon]

More Resources
http://www.w3schools.com/css
http://rendur.com/ (test your css, live!)


If you have any questions, feel free to note me, and I'll do my best to help.

Any comments are appreciated.
Related content
Comments: 66

samentha17 [2006-12-04 17:50:23 +0000 UTC]

thank you sooo much!

👍: 0 ⏩: 1

roguedeveloper In reply to samentha17 [2006-12-04 18:41:34 +0000 UTC]

I'm glad you liked it! Thanks for the fav

👍: 0 ⏩: 0

BoffinBrain [2006-12-01 19:40:00 +0000 UTC]

Is it required that you wrap the font-family attribute in quotes? What about when you want to include several alternate fonts, such as

font-family:arial, verdana, sans-serif;

Anyway, a super tutorial for budding beginners.

👍: 0 ⏩: 1

roguedeveloper In reply to BoffinBrain [2006-12-01 21:31:13 +0000 UTC]

Excellent question!

Quotes are not actually required, unless your font has a space in it. (e.g., "Trebuchet MS") -- though it's worth noting that even if you don't use quotes, many browsers will still apply the style.

So you could have something like this:

font-family: Trebuchet MS, Arial, Tahoma;

I'll talk more about specific selectors (like font-family) in the next guide.

Cheers.

And it would probably work, but for standards compliance, and better compatibility across browsers, this would be better:

font-family: "Trebuchet MS", Arial, Tahoma;

👍: 0 ⏩: 2

BoffinBrain In reply to roguedeveloper [2006-12-01 22:19:09 +0000 UTC]

Cool... Guess I always got away with it because I used one-word fonts like verdana and arial.

Good luck with the next instalment.

👍: 0 ⏩: 0

roguedeveloper In reply to roguedeveloper [2006-12-01 21:34:25 +0000 UTC]

Ahg, messed up that reply.

Please mentally shift the "I'll talk more [...] Cheers." to the bottom

👍: 0 ⏩: 0

MoPhire [2006-12-01 06:59:24 +0000 UTC]

Nice tut, cant wait for part 2. I'll have a go at it when i have more time.

MoPhire

👍: 0 ⏩: 1

roguedeveloper In reply to MoPhire [2006-12-01 15:16:23 +0000 UTC]

Thanks, I'm glad you enjoyed it.

👍: 0 ⏩: 0

digitalfetish [2006-11-28 04:50:17 +0000 UTC]

well considering im absolute css noob this tut is incredibly helpful

haha and well written
+ fav

cheers for the help, ill stay tuned for more

👍: 0 ⏩: 1

roguedeveloper In reply to digitalfetish [2006-11-28 16:28:01 +0000 UTC]

This really means a lot to me, thanks for the fav

👍: 0 ⏩: 1

digitalfetish In reply to roguedeveloper [2006-11-29 03:39:55 +0000 UTC]

nps man

thank.you

👍: 0 ⏩: 0

eviloatmeal [2006-11-26 13:42:09 +0000 UTC]

As far as I've heard windows IE is the only browser that still isn't atleast trying to be compatible with all of CSS. The rest of the ones I've tested atleast are pretty much up to standards

Nice tut though. Maybe if you can teach the whole world CSS we might have a chance to persuade microsoft to get off their butts!

👍: 0 ⏩: 1

roguedeveloper In reply to eviloatmeal [2006-11-26 19:51:26 +0000 UTC]

Yeah, IE7 is much better than it's predecessors, but there's always room for improvement. Let's hope that the IE developers make better CSS support a priority.

👍: 0 ⏩: 2

aCr0m-a In reply to roguedeveloper [2006-12-24 19:21:59 +0000 UTC]

IE7 is sllllllllllllllllllllllllllllloooooooooo ooooooooooooooooooooooooowwwwwwwwwwwwwww wwwwwww

👍: 0 ⏩: 0

eviloatmeal In reply to roguedeveloper [2006-11-26 21:03:47 +0000 UTC]

Shyeah, we wish ^_ ^

👍: 0 ⏩: 0


<= Prev |