foxfirefey: A fox colored like flame over an ornately framed globe (Default)
foxfirefey ([personal profile] foxfirefey) wrote in [community profile] style_system2011-04-23 11:29 pm
Entry tags:

HTML and CSS overview; Examining with browser developer tools

Class Notes

For people who participated in last week's exercises, thank you so much. Anybody who discovered options not working the way they should be got 10 DW points.

You can always look at the syllabus to see where we are. Our previous class was on S2 Background and the Customization Wizard.

Reading for the Week

This week's class is a day late, because I've been working on filling out the following reading aimed at people who need to learn the basics of CSS and HTML:

They are still not complete yet, in my opinion, and I'll be completing them as people start asking questions and needing guidance. I hope that we can work together on this, since I've never taught HTML/CSS from scratch before--if you have something you feel should be added, feel free to edit the wiki pages. Because so many of you are new to this, this portion of the class will span two weeks (as stated last week). This week, let's concentrate on getting a grasp on the basics of HTML and simpler CSS declarations, for those who don't know it yet. Next week, we'll go more in depth on topics that people ask about or need this week, and possibly throw in some bonus teachings on interesting new CSS3 rules.

Exercises

Okay, for those of you who need a little crash course in HTML and CSS, CSS Lesson 1. It's a little bundle of files. When you unzip the folder, you'll find:

  • examples.html -- The HTML file to work with.
  • css/examples.css -- Edit this file in order to change the styling in the HTML file.
  • exercises.txt -- Has a list of exercises for people new to CSS to try. Note: centering the bigger image might be a little tricky if you're new to CSS, so don't be ashamed. I'll give solutions (and new exercises) next week.

If you are already pretty proficient with HTML and CSS, please get some practice with Browser Developing Tools if you don't know how to use them! Play around with exploring your journal and its current HTML/CSS. Test making out on-the-fly changes.

[personal profile] seleneheart has also prepared something very nice: an annotated version of the CSS for two different layout themes.

[personal profile] ex_pippin880 2011-04-24 07:43 am (UTC)(link)
DIVs scare me.
exor674: Computer Science is my girlfriend (Default)

[personal profile] exor674 2011-04-24 07:44 am (UTC)(link)
How do divs scare you?

[personal profile] ex_pippin880 2011-04-24 07:45 am (UTC)(link)
By existing and not being tables? :(

[personal profile] ex_pippin880 2011-04-24 08:20 am (UTC)(link)
Haha, I probably just need a newer HTML book. I should have got one when I bought a new CSS guide the other year.
sunrisetr: (Default)

[personal profile] sunrisetr 2011-04-24 08:45 am (UTC)(link)
And here I was wondering where this week's lesson was, and if I mixed up the days. Thank you!
tyger: A surskit with a heart above it.  Text: chuu! (pokémon - surskit)

[personal profile] tyger 2011-04-24 09:48 am (UTC)(link)
....I haven't even started yet, but I have to say. You get my eternal gratitude for pointing out the Safari developer tools. *_______*
I don't have to switch to Firefox just when I want to check what class something's in! aljdgl;jea;l <3<3<3<3<3

[personal profile] ex_pippin880 2011-04-24 07:07 pm (UTC)(link)
Yeah, my entire history of websiting has been "make an image in Photoshop, turn it into a table". I don't really know how to make the jump from the sort of website design I do to the sort that I should be doing.
ninetydegrees: Art & Text: heart with aroace colors, "you are loved" (Default)

[personal profile] ninetydegrees 2011-04-24 07:09 pm (UTC)(link)
Do you have an example of layout structure you made with tables? We may be able to walk you through the transition.
silverflight8: Different shades of blue flowing on a white background like waves (Fractal)

[personal profile] silverflight8 2011-04-24 08:38 pm (UTC)(link)
*checks off name on attendance* :D
tyger: Axel looking off over the sunset (Axel - into the distance)

[personal profile] tyger 2011-04-24 11:28 pm (UTC)(link)
...argh. I can't make the developer tools actually edit anything. :( I tried double-clicking on the left side, but all it did was let you change variables that're there - if I tabbed to try and make a new one all it did was highlight. And if I tried to double-click into anything on the left all it did was select the term. And using the gear on the left didn't do anything, I'd input my CSS and hit enter, and it'd just disappear. I also tried putting background-color rule into the console directly, but I just get 'SyntaxError: Parse error'.

I'm probably missing something really simple, but, uh. /o\
kitters: (Default)

[personal profile] kitters 2011-04-25 12:13 am (UTC)(link)
Omgyay Dragonfly and annotated Bases. :DDDDDDD Thank you so much, you guys!
erika: McKay from SGA with text from the Princess Bride:  Plato, Aristotle, Socrates?  Morons. (sga: morons!)

[personal profile] erika 2011-04-25 12:15 am (UTC)(link)
Is there some place where I can get a journal to play with customization options and not take up a username token on DW and not have to worry about fucking up my main journal?

I mean, I could use my fanfic journal for it so it's not a big deal if the answer to my original question is no; I am just curious.
seleneheart: (Default)

[personal profile] seleneheart 2011-04-25 12:17 am (UTC)(link)
If you look at the previous lesson, [personal profile] foxfirefey has set up a link where people can create temporary journals.

If you don't want to do that, you can create a testing community.
erika: (Default)

[personal profile] erika 2011-04-25 12:43 am (UTC)(link)
Thank you for addressing my question which had already been addressed! Silly me for not reading the previous lesson more carefully.
seleneheart: (Default)

[personal profile] seleneheart 2011-04-25 12:45 am (UTC)(link)
No worries!!! It's a lot of info.
pipisafoat: image of virgin mary with baby jesus & text “abstinence doesn’t work" (yay!)

[personal profile] pipisafoat 2011-04-25 02:45 am (UTC)(link)
I have had the web developer toolbar for a really long time and never really could learn how to do much of anything with it. Two minutes and I can actually Do Things now! Hooray! (Unexpected bonus, yay!)
lapillus: (Default)

[personal profile] lapillus 2011-04-25 03:06 am (UTC)(link)
This is a bit tangential and probably too early in the curriculum, but, does DW have usage stats for various browsers around in a publicly accessible place? Since the reset is useful, but doesn't change what is implemented, it would be nice to be able to check how many folks using IE6 or the like.
zvi: self-portrait: short, fat, black dyke in bunny slippers (Default)

[personal profile] zvi 2011-04-25 03:20 am (UTC)(link)
I have seen such stats recently! But I can't remember where. The break down was that most users were either Firefox 3.6/4 on Windows or Chrome on Windows, followed by Safari or Firefox on Mac, followed by IE7/8, followed by Firefox/Chrome on Linux, followed by other. In a very approximate way. Basically, the takeaway is that an unusualy high percentage of our users use either Firefox or Chrome, and that there's almost no (not zero, but close) IE6 use. (This is probably in large part because the official site portions do not support IE6, and display funkily in it.)
vilakins: (beta delta)

[personal profile] vilakins 2011-04-25 03:30 am (UTC)(link)
I did last week's (and I'm not sure if not being able to add a background image to Modular counts as a bug or a feature of Modular) but since then my computer died and has to be replaced, I'm on someone else's in the meantime. Let's hope I have a new one by next week.

I do know a fair bit of HTML and some CSS from looking behind Dreeamweaver, and I look forward to learning more.

[personal profile] ex_pippin880 2011-04-25 03:50 am (UTC)(link)
Here's all I have online at the moment, and some screencaps of designs I never actually finished enough to upload: one, two. (I haven't worked on anything for over a year due to various things.)

Page 1 of 3