| 10:28 pm on Dec 17, 2002 (gmt 0)|
Great Post Nick!
Nice Layout, Interesting Content
| 10:51 pm on Dec 17, 2002 (gmt 0)|
This looks good, Nick_W :)
Took me a year reading courses to find out what CSS actually was, never mind how it works. You seem to sum it up nicely above....... LOL
| 11:23 pm on Dec 17, 2002 (gmt 0)|
This is going to be very useful :) I remember my confusion when trying to convert to external style sheets from a mixture of an internal style sheet and inline styles. If I'd had a summary like this from the begining I would have done it properly from the start.
The one part of CSS which I'm still confuzzled about is the cascading part. I know I can have a master style sheet and then smaller ones for different parts of the site with inheritance and stuff, but I'm not really sure how to set it up. Right now I have totally seperate .css file for each section which involves some duplication. So this is something I would suggest as an addition to your course.
| 11:30 pm on Dec 17, 2002 (gmt 0)|
Well done Nick...
Good Luck wish it was there when I needed it!
sp? as always![/edit]
| 7:16 am on Dec 18, 2002 (gmt 0)|
Shellycat, that sounds like a perfectly good way to do things to me, what worries you about it?
| 11:48 am on Dec 18, 2002 (gmt 0)|
excellant idea nick, i think i will be reading the series as it goes along.
| 1:21 pm on Dec 18, 2002 (gmt 0)|
Fantastic Nick.... whens the next installment? :)
| 1:23 pm on Dec 18, 2002 (gmt 0)|
Excellent post :)
| 1:36 pm on Dec 18, 2002 (gmt 0)|
Great thoughts Nick. This is very much appreciated.
| 1:42 pm on Dec 18, 2002 (gmt 0)|
hey nick, someone told me it was good to put your styles in your html as comments. is that a good idea? if so why?
BTW, this crash course will be great! :) go on nick!
| 2:09 pm on Dec 18, 2002 (gmt 0)|
|someone told me it was good to put your styles in your html as comments. is that a good idea? |
> Next installment?
Well, I make no promises as I have some other stuff besides this to do ;) but, I hope to do one a week(ish)
Glad you all seem to like it...
| 2:14 pm on Dec 18, 2002 (gmt 0)|
Fab job Nick! :)
I'd like to add that users should be aware that there is more than more than one version of CSS (i.e. CSS1 and CSS2) and that the various browsers handle them differently. There are a few on-line "maps" that display how well (or poorly) the top browsers handle the different versions. A good thing to keep in mind as you play with CSS.
| 2:23 pm on Dec 18, 2002 (gmt 0)|
As an addition to what shelleycat mentioned in the thread, it might be worthwhile dealing with the cascade and non-duplication of styles - as this is something which would have helped me tremendously at the beginning if I had got a good grasp of this fundamental when I was learning.
What I mean is using good logical practices from the start - so many people use an nn4 style sheet and then duplicate it with the more extensive 4+ styles added in. However, if you are using @link, then the only things that need to be added in are the changed rules.
The other thing I think would be good (and which is not that easily available elsewhere in an readily viewable format) is a dunce's guide to browser problems. (e.g. if designing for nn4 watch out for padding, table backgrounds, etc; for ie6 watch out for ...).
Nice to see active discussion of CSS here...
| 2:24 pm on Dec 18, 2002 (gmt 0)|
| 3:26 pm on Dec 18, 2002 (gmt 0)|
great post Nick, I for one will be following closely.
Are you intending to cover a bit about how css layouts can help with seo?
| 3:55 pm on Dec 18, 2002 (gmt 0)|
Hehe, of course! -- This is a WebmasterWorld thread afterall ;)
Actually SEO was the thing that really got me started with CSS. The need to push key-content to the top of the html flow was an enviable goal.
I'd like to say that it was the clean code, or the accessibility benefits but no, it was pure SEO.
There was much talk of CSS and SEO a a week or two back, can't seem to find the thread? -- Anyone know where that one got too?
| 3:59 pm on Dec 18, 2002 (gmt 0)|
Good post Nick.
This article about Wired redesign using only XHTML and CSS [stopdesign.com] may interest you (maybe for "CSS Advanced Crash Course" ;))
|troels nybo nielsen|
| 4:19 pm on Dec 18, 2002 (gmt 0)|
Nick, is this the one you're missing?
| 4:19 pm on Dec 18, 2002 (gmt 0)|
|someone told me it was good to put your styles in your html as comments. is that a good idea? if so why? |
Unless you need page specific styles (and even those can be made externally, if you so desire) then I can't see any benefit of using head defined or inline styles. At least, I've not come across a good reason yet, and I've long been a fan of css, its just so tidy!
Of course, I'll happy gobble down any information that prooves that head style tags are better.
| 4:21 pm on Dec 18, 2002 (gmt 0)|
Hooray! - Thnnks very much...
CSS and SEO [webmasterworld.com]
Some good points in there...
| 6:41 pm on Dec 18, 2002 (gmt 0)|
>Are you intending to cover a bit about how css layouts can help with seo
For heaven's sake don't use these:
for hidding and selectively placing keywords in body
position: absolute; overflow: scroll; width:1px; height:1px;
for automatic redirects
| 7:55 pm on Dec 18, 2002 (gmt 0)|
So, which is better CSS1 or CSS2?
| 8:00 pm on Dec 18, 2002 (gmt 0)|
CSS2 is the natural progression from CSS1, but few browsers support it properly or fully. Even browsers that boast standards support muck bits up from time to time, though its increasingly hard to do so.
| 8:20 pm on Dec 18, 2002 (gmt 0)|
|> Someone told me it was good to put your styles in your html as comments. is that a good idea? |
I believe that was the suggestion when Netscape 4 first hit the streets with its early CSS support. You needed to hide the styles from Netscape 3 and earlier - otherwise those browsers just rendered your rules at the top of the page!
| 8:35 pm on Dec 18, 2002 (gmt 0)|
|So, which is better CSS1 or CSS2? |
From the W3C
|CSS2 builds on CSS1 and, with very few exceptions, all valid CSS1 style sheets are valid CSS2 style sheets. CSS2 supports media-specific style sheets so that authors may tailor the presentation of their documents to visual browsers, aural devices, printers, braille devices, handheld devices, etc |
Thanks for clearing up the comments jobbie Tedster!
| 9:26 pm on Dec 18, 2002 (gmt 0)|
re: commenting css - i'm seeing it more and more often and never quite 'got' it - still don't. I never comment out my css and have never had a problem with it. Tho tedsters point makes sense if you consider how many fubar and put it after the body tag :D
| 2:55 pm on Dec 19, 2002 (gmt 0)|
I found this lesson of great help and I am looking forward to your next post.
| 4:49 pm on Dec 19, 2002 (gmt 0)|
Great post, Nick.
Question: what is the difference between
link rel="stylesheet" and
Is there a difference other than browser support? when should I use one or the other?
| 4:52 pm on Dec 19, 2002 (gmt 0)|
There is no difference transistor except the fact that you can import additional styles into an existing stylesheet from and existing stylesheet...
| This 45 message thread spans 2 pages: 45 (  2 ) > > |