Warning: Undefined array key "StartingPoint" in /customers/f/f/0/safaribears.de/httpd.www/content.php on line 107 Warning: Cannot modify header information - headers already sent by (output started at /customers/f/f/0/safaribears.de/httpd.www/content.php:107) in /customers/f/f/0/safaribears.de/httpd.www/content.php on line 115 Warning: Undefined variable $WEB_ROOT in /customers/f/f/0/safaribears.de/httpd.www/content.php on line 118 Warning: Cannot modify header information - headers already sent by (output started at /customers/f/f/0/safaribears.de/httpd.www/content.php:107) in /customers/f/f/0/safaribears.de/httpd.www/content.php on line 118 Warning: Undefined array key "HTTP_ACCEPT_LANGUAGE" in /customers/f/f/0/safaribears.de/httpd.www/content.php on line 169
So far there's still something boring: All borders look the same, and that can be changed, too:
border-left:solid black 4px; border-right:dashed green 4px; border-top:dotted #FFFF00 4px; border-bottom:none;
We don't use the 'border' property here, we talk to each individual border separately. The parameters we can give are the same as for the 'border' property: <look> <color> <width>
Also we can give the parameter 'none' if we don't want a border at that place (works with border:none; too, if you don't want any border at all).
But, as I said, borders are not just for images, there's more to them. You have been looking for the past hours (?) at borders around boxes containing text: The examples in their white boxes always have a dark border around it.
You can also use borders to just underline elements! Like here:
The relevant style attached to that div: border-bottom:dashed blue 4px;
One last example and then we put the borders to rest for a while:
You can see, borders are very important designing the pages, there's more to it than just the colored border around a linked image...
Something to play with again, type in commands like 'solid green 5px':