More liquid round corners
Adaptable rounded edges everywhere!
Source code seems complicated, but very easy method:
- Make your page as normal.
- Paint desired corners instead of the corners1280x18.gif
of this page.
- Change liquidcorners.css with the
link to your new image, and make other changes if desired.
- Link your page to this new stylesheet.
- Simple pasting the corner-code
in each box you want to give rounded corners.
- For a box with a different background you make a new
background-image.
- Connect the boxes and bg-colors by adding a class="boxcolor-something"
and add simple rule to the stylesheet (in this example: in the style
block in the head).
- Go!
Lorem ipsum dolor sit amet, consectetuer adipiscing elit,
sed diem nonummy nibh euismod tincidunt ut lacreet dolore magna
aliguam erat volutpat. Ut wisis enim ad minim veniam, quis nostrud
exerci tution ullamcorper suscipit lobortis nisl ut aliquip ex ea
commodo consequat. Duis te feugifacilisi.
Last line normal content