Dev.Opera - Follow the standards, break the rulesDev.Opera - Follow the standards, break the rules

Login

Lost password?

Forums » Article Discussions

Discuss the articles posted on Dev.Opera.

Note: You need to login to post in the forums. if you don't have an account you first need to sign up.

By ChrisHeilmann anchor Friday, 26. September 2008, 06:30:33

27: CSS basics

Cascading Style Sheets are the second major topic of the Web Standards Curriculum! You can use CSS to style your HTML in whatever way you want, changing fonts, colors, element positions on the page, and more. In this article Christian Heilmann give you a basic introduction, including CSS anatomy and basic concepts, CSS shorthand, and how to apply CSS to HTML.

( Read the article )

By scarby421 anchor Saturday, 27. September 2008, 01:39:47

avatarInline Styles
<p style="background:bluecolor:whitepadding:5px;">Paragraph</p>
better still.
<p style="background: blue; color: white; padding: 5px;">Paragraph</p>
Typo?

Post edited Saturday, 27. September 2008, 05:55:03

By chrismills O anchor Monday, 29. September 2008, 05:59:29

avatar

Originally posted by scarby421:

Inline Styles
<p style="background:bluecolor:whitepadding:5px;">Paragraph</p>
better still.
<p style="background: blue; color: white; padding: 5px;">Paragraph</p>
Typo?



Thanks! Fixed.

By Xubuntix anchor Wednesday, 31. December 2008, 11:31:10

avatarIn contrast to what the article claims, there has been something very similar to the html-css separation of content and style which is Latex files and Latex-Style files. And like with html and css it is possible to mix layout and content which causes hard to maintain documents.

By AndBre anchor Monday, 26. January 2009, 11:46:22

avatarTypos:
1. "what effect certain parts of you CSS is having on your web page"
2. "that are children of h3 elements
blue, but no other strong elements: p ": can you have a look at the source?
3. "negligable"

By chrismills O anchor Thursday, 29. January 2009, 11:44:02

avatar

Originally posted by AndBre:

Typos:1. "what effect certain parts of you CSS is having on your web page"2. "that are children of h3 elementsblue, but no other strong elements: p ": can you have a look at the source?3. "negligable"



All fixed - thanks for pointing them out!

By roddiegrant anchor Sunday, 15. November 2009, 16:14:27

avatarThere seems to be a sprinkling of doubled semi-colons - property1:value;; - throughout the article.

Moderators: pepelsbey | dstorey | mcx | operadev | chrismills | shwetankdixit | brucelawson | iheni | andreasbovens | zibin | mollydotcom