473,388 Members | 1,352 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,388 software developers and data experts.

Best Way to Learn/Come To Terms With CSS?

Hi,
If you consider yourself a CSS "expert" or even if you just
consider yourself a competent styler, how did you get that way? Sure,
practice makes perfect, but as I survey the many articles on ALA and
456Berea Street, read up on what Cederholm and Meyer have written, I'm
just wondering where folks turned for references, where did you begin?
Did you read the CSS standards first (or ever)? Any definitive online
or deadtree references I should be aware of? Forums, blogs, newsgroups?
To me, and at the risk of stating the obvious, CSS *STILL* involves a
lot of tinkering, trickery, and voodoo because of different browser
rendering, etc. etc. Still something of an artform, which may be okay
if you are a designer by trade, but somewhat problematic if you are
more programmatically oriented. If anyone has set a clear path to
learning CSS for themselves that has helped steer them clear of the
madness, I'm all ears.

Thanks!
-=MM=-

Jan 26 '07 #1
7 2283
In article
<11**********************@k78g2000cwa.googlegroups .com>,
"-=MM=-" <si****@gmail.comwrote:
Hi,
If you consider yourself a CSS "expert" or even if you just
consider yourself a competent styler, how did you get that way? Sure,
practice makes perfect, but as I survey the many articles on ALA and
456Berea Street, read up on what Cederholm and Meyer have written, I'm
just wondering where folks turned for references, where did you begin?
Did you read the CSS standards first (or ever)? Any definitive online
or deadtree references I should be aware of? Forums, blogs, newsgroups?
To me, and at the risk of stating the obvious, CSS *STILL* involves a
lot of tinkering, trickery, and voodoo because of different browser
rendering, etc. etc. Still something of an artform, which may be okay
if you are a designer by trade, but somewhat problematic if you are
more programmatically oriented. If anyone has set a clear path to
learning CSS for themselves that has helped steer them clear of the
madness, I'm all ears.

Thanks!
-=MM=-
People will differ greatly in how they pick up stuff.

Read a good book on it (Håkon Wium Lie & Bert Bos: Cascading
Style Sheets * designing for the Web ³written by the creators of
CSS²) and go through beginners tutes.

Try making unadorned, quite unstyled html pages that can be
described as meaningful in themselves. And adding bits of style
to little bits of it. Eg. Headings. And keep going till it keeps
looking regular and nicer still to you eye.

--
dorayme
Jan 26 '07 #2
Hi,

I have found following sites are very good starting points:

http://www.webstandards.org
http://alistapart.com/

Check this page for books list:
http://www.webstandards.org/learn/reference/books/

By myself whould recomend you "Designing With Web Standards, Second
Edition" book. It is not about CSS syntax, but more like about
philosophy of desing with CSS and other standards. I have found here
lot of answers. In addition to good ideas book contains lot of usefull
links... Really worth too read. Any way see better reviews on Amazon
:-)

One more book (I have *not* read, but reviews are alluring) is
"Transcending CSS".

I find CSS2.1 standard a good place to better understand things, and
clarify technical details.

- Alex.

Jan 27 '07 #3


On 26 Jan, 16:36, "-=MM=-" <sim...@gmail.comwrote:
consider yourself a competent styler, how did you get that way?
Slowly and painfully, not because it's inherently hard, but because
it's so easy to gain a misunderstanding of how you think it ought to
work, then get sidetracked into that instead fo the real
interpretation. Experienced OO programmers seem to suffer particularly
badly (they talk about CSS selectors and "inheritance", when that's
one thing it really doesn't do).

Read "Head First HTML & CSS" (readable tutorial, encourages the right
mindset, not a good reference)

Read Lie & Bos (readable, accurate, good reference afterwards)

Read <brainjar.com (best and most readable text I know of on CSS
positioning and especially float)

Code valid HTML. Getting CSS to work is hard enough with valid code,
trying to do it without is crazy.

Validate your HTML, so that it actually _is_ valid

Write well-structured HTML. Less is more. A minimal HTML page is
usually better than one with excess taggage all over the place.

Write detailed HTML. HTML should be minimalised as much as possible,
but no further! If you _need_ that extra <divor <br>, then use it.
Don't play gymnastics with CSS selectors when a slight addition to the
HTML gives a simpler solution overall.

Don't pander to browser errors. If you can't fix it neatly in 5
minutes, either don't use that feature or just let the IE users suffer
until they learn bettter. _Don't_ write crap code just because it
works in this Tuesday's IE patch. You have to live with this stuff
long-term afterwards.

Jan 29 '07 #4
-=MM=- wrote:
Hi,
If you consider yourself a CSS "expert" or even if you just
consider yourself a competent styler, how did you get that way? Sure,
practice makes perfect, but as I survey the many articles on ALA and
456Berea Street, read up on what Cederholm and Meyer have written, I'm
just wondering where folks turned for references, where did you begin?
Did you read the CSS standards first (or ever)? Any definitive online
or deadtree references I should be aware of? Forums, blogs, newsgroups?
To me, and at the risk of stating the obvious, CSS *STILL* involves a
lot of tinkering, trickery, and voodoo because of different browser
rendering, etc. etc. Still something of an artform, which may be okay
if you are a designer by trade, but somewhat problematic if you are
more programmatically oriented. If anyone has set a clear path to
learning CSS for themselves that has helped steer them clear of the
madness, I'm all ears.

Thanks!
-=MM=-
Since everything on a web page is put in a box learn how to build one.
Then start adding; paragraphs, margins, padding, borders etc.

Once you master the box you can do anything.
Jan 31 '07 #5
On Jan 29, 7:31 am, "Andy Dingley" <ding...@codesmiths.comwrote:
Slowly and painfully,
That sentence above resumes it. I am in the early stages of that
struggle myself.
Don't pander to browser errors. If you can't fix it neatly in 5
minutes, either don't use that feature or just let the IE users suffer
until they learn bettter.
This guy would have killed me several times over when I have spent
several hours on 1 problem (But got them all fixed or figured out in
the end.)

Great advice and great thread for us the rookies.

Patrick

Feb 6 '07 #6
Since everything on a web page is put in a box learn how to build one.
Then start adding; paragraphs, margins, padding, borders etc.

Once you master the box you can do anything.- Hide quoted text -
Now that is another great piece of advice I think. When I started
using CSS, I had no idea what <DIV>'s where. Once I learned that
things got easier.

Thanks

Patrick

Feb 7 '07 #7
Rik
varois83 <va******@netzero.netwrote:
>Since everything on a web page is put in a box learn how to build one.
Then start adding; paragraphs, margins, padding, borders etc.

Once you master the box you can do anything.- Hide quoted text -

Now that is another great piece of advice I think. When I started
using CSS, I had no idea what <DIV>'s where. Once I learned that
things got easier.
Watch out for divititis. A normal paragraph should still be <p>, keep
using Hx elements etc. Use a <div(or <span>) if nothing else fits, not
just because it's low on default formatting. Using Hx elements you might
need extra rules to whip them into shape with regards to font-size,
text-decoration, margins, padding, etc, but they're there for a reason.
--
Rik Wasmus
Feb 7 '07 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

131
by: Peter Foti | last post by:
Simple question... which is better to use for defining font sizes and why? px and em seem to be the leading candidates. I know what the general answer is going to be, but I'm hoping to ultimately...
136
by: Matt Kruse | last post by:
http://www.JavascriptToolbox.com/bestpractices/ I started writing this up as a guide for some people who were looking for general tips on how to do things the 'right way' with Javascript. Their...
19
by: Steve Jorgensen | last post by:
I've run across this issue several times of late, and I've never come up with a satisfactory answer to the best way to handle this schema issue. You have a large section of schema in which a...
3
by: Robert Schuldenfrei | last post by:
Hi NG, I am looking for an opinion here. I am new to C# and SQL, being an old COBOL hand. I have started into a conversion of an old COBOL ERP system. I have a number of functions working now...
7
by: | last post by:
1) Downloading sample code and playing with it? 2) Reading books and trying to follow them? Any other ideas? I have always wanted to learn programming, just don't know hot to go about it. ...
3
by: Jose Fernandez | last post by:
Hello friends. I was searching on Amazon for a Object Oriented Programming book but I found so many many of them. Could you help me by telling me a the best in your opinion?? My target is to...
4
by: =?Utf-8?B?bW9mbGFoZXJ0eQ==?= | last post by:
In VB6, we created a number of ActiveX DLLs that all shared a similar interface. The main application would load these in dynamically (late-bound.) This worked well for our situation because we...
13
by: G | last post by:
Hello, Looking for opinions on a fairly simple task, new to ASP.net (C#) and want to make sure I do this as efficiently as possible. I have a web based form, and I need to run some SQL before...
7
Banfa
by: Banfa | last post by:
Posted by Ganon11 So, you want to learn how to program! Good for you! Programming is a very intruiging and fun activity to pick up, and it's also a great career choice if you like it! Finally,...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.