Prepared by: Anthony Larrain
These notes serve as an outline to the lecture, they are not intended to be complete. Attend class to get more details.
float
and clear.
clear
that element.Without clearing, this is what the following piece of code will produce
Note: Since there is not enough text to wrap around the image, the next element, which is a horizontal rule will line up next to the image.
Most likely we want the horizontal rule to clear the image, so we write
This will work provided there is a CSS class selector written called clear, there is and here is it's definition.
Note: you can clear any element.
script
tags at the point in your document where you want the
Javascript effect to show.Example
The following code will produce this neon light effect.
This free script provided by
JavaScript Kit
This free script provided by
JavaScript Kit