If you are not using a CSS3 enabled browser like mozilla or Firefox you will not see that this text is in columns. Each column is 15em wide and 1em between each column.
Note: Try to resize the browser window, and notice how the text will flow in as many columns as necessary.While Internet Explorer doesn't support many (any) CSS3 properties, you can get started using Firefox 1.5 and other 'Mozilla' browsers. Even Apple's 'WebKit' supports this property although it hasn't yet made it into Safari. Under IE the boxed section above this paragraph will only appear next to it when you change the width of the page - and then only for a short time. IE does not support multiple columns.
As with many CSS properties relating to margins, padding and borders, there are four individual properties - one for each corner of a box element - and one shorthand property:
CSS3 (not yet finalised) | Mozilla equivalent |
---|---|
border-top-right-radius | -moz-border-radius-topright |
border-bottom-right-radius | -moz-border-radius-bottomright |
border-bottom-left-radius | -moz-border-radius-bottomleft |
border-top-left-radius | -moz-border-radius-topleft |
border-radius | -moz-border-radius |
At this time the CSS3 properties above do not work in any of the major browsers. The 'Mozilla' versions however work very well in Firefox 1.5 and presumably in other Mozilla-based browsers.
Each of the CSS3 properties take either one or two length values (generally 'px' or 'em' values). If a single value is supplied then that becomes the radius of a rounded corner. If two values are supplied then they become the horizontal and vertical radii for an elliptical corner.
The Mozilla properties only support round (as opposed to elliptical) corners and adding a second value will result in a square corner again.
This paragraph is the last child of the acticle div and therefore is italic
The following examples will only work if you're using Firefox or another Mozilla browser that supports -moz-border-radius properties.
-moz-border-radius: 1em;
-moz-border-radius-topright: 2em;
-moz-border-radius-topleft: 2em;
-moz-border-radius: 2em 0;
-moz-border-radius: 3em 1em;
Unfortunately that's about the limit of what we can do with border-radius until the final CSS3 specification is implemented. The Mozilla properties used here do not conform to the standard (hence the -moz- prefix) and they only support round (not elliptical) corners.
Note: These properties can be used not just for 'boxes' but for many other HTML objects including form elements.
And Links - Add something after the link text - My Site
Add something before the link text - denise@witham.org.uk
and different colours for links dependant on link address
Sales for My company
compared to
returns for my company
Next there is the :after and ::after. This browser has
This page has four sections. You can jump to each of them and that section will be highlighted:
This is the text for section 1.
This is the text for section 2.
This is the text for section 3.
This is the text for section 4.