I list below all topic groups, which I have done according to subjects, which they handle. You can return to this topic group by using this menu and the link Table of topic groups on the top of the each page.
| ||||||||||||||||||||
![]() | Table of topic groups > Front page of CSS-guide > Practice > Practice tasks |
|---|
This site has also files Oppilas.html
(oppilas = student
) and Oppilas2.html
. Task are primary intended to make to the page Oppilas2.html or linked pages from that page. Of course it is possible to use other pages. Collected.php3
, Opettaja.html
(opettaja = teacher
), collected.css
ja collected.txt
work as models.
Note. Some of the tasks are intended to all browsers, but some only to certain browsers. Think. which matters each browsers support. Much CSS, which is mentioned don't use with Netcape 4.x series properly or not at all. Make at least one file for Netscape 4.x (for example Netscape4x.css) and for other browser several files. Use either JavaScript or sever side encoding (look from an extra page advice![[S]](../Kuvat/buttons/S.gif)
). If I have not especially mentioned, tasks are intended to all browsers.
I use following acronyms:
style=""). Use the property color. Set the color (color:...) by using six digital hexadecimal values (for example #121212), which is the common habit when defining HTML attributes.LINK!body
{color:}.![[S]](../Kuvat/buttons/S.gif)
to a file, which is intended to other browsers than NS 4.x. Note that you have already defined the element BODY. Continue that rule and don't write a new definition. Remember to set separations marks correctly!BODY a relative font size, which is smaller than the default size. Remember to set the font-size property one step larger than to other browsers. Continue the previous rule.BODY set the font-size property one step smaller than for NS 4.x. Continue the previous rule.H2 an absolute font size
(h2 {font-size:}). Test, if the size is really the same in NS 4.x, IE and OP browsers. If the size is not the same, change the font size value either in the NS 4.x CSS-file or in some other file.H2.P) of the Practice pages inline style by using the attribute style. Give with them different color by using all possible color definition methods.H2 such properties, which has not given to it in the example
.CODE color and background color properties so, that the element looks out in the practising page approximately at the same way as in this site. If you want, define also other elements (for example BLOCKQUOTE).H1, H3-H6 a common rule.TABLE, TH, TD.BODY a class (for example BODY class="ownClass").div.doc {}. If you want, write also other rules.class and id attributes and corresponding rules. Define rules so that they are partially complementary but partially override each others.p:first-letter to CSS-file, which is intended to other browsers than NS 4.x.table p {}.BODY element, but add the class specifier (for example body.ownClass p {}). Define a the same principle other rules.!important.style="").FONT to a practising page.big
{} and font.font-style1 {}.FONT by using rules, which has the format font[color="..."] {} (OP 4.x+ doesn't support changing color by using rule like *[color="..."] even if it supports overall quite well attribute selectors).font-family to the element BODY and CODE.TABLE, TD,
TH and possible other groups.H2 and P. Test with them some of the properties, which I have used in my examples.@media all {...} ... @media print, projection {...} @media
screen {...}.cursor by using the attribute style.a:link and a:visited.a:link, a:visited, a:hover and a:active (if you have a new NS/Mozilla you can define also a:focus).BODY. Note, that you don't need necessary to redefine the whole series, but you can redefine the whole series (:link
> :focus).BODY.BODY a background image (remember also to use the class specifier). Use all possible properties and compare the functionality in different browsers.BLOCKQUOTE some borders. Use all possible properties and compare the functionality in different browsers (NS 4.x might crash).list-style-type to several list levels.TD and
TH.![[S]](../Kuvat/buttons/S.gif)
, but instead of using the max-width property, use the width property.position:absolute) and the property z-index. Test the funcitionality of the z-index propreties in different browsers.display.