| Liam Delahunty: Home | Tips | Design | Web | Words | Links | Contact |
|---|
|
Panda Internet Security 2007 - $15 Discount Coupon Download Free Web Design Software Here Sponsors:
Recommended laptop
under £500. Think I deserve a present? See my Amazon Wish List |
Class NamesFloatWell, this time it's my fault really... I was using the following code in my CSS file.
div.float {
... and while it looked just hunky dorey in IE 5.5, it looked a bit crap in everything else. What was supposed to happen was that the images are put into their own float div/class and would wrap then nicely around the page. No need for tables, the layout looks neat and all is well in Liam land. However in Opera 6.01 it just displayed as a single column. I discouvered after much tinkering with the code, that Opera wouldn't allow me to use the word float as the name of the class. Fair enough really... here's the new code..
div.floatl {
.. and here are some examples.
Wild Cornflowers
Wild Cornflowers
Wild Cornflowers
Wild Cornflowers
Wild Cornflowers Similar: A long time ago I wrote this Netscape 6 CSS problem with underscores. Share this! Css Class Float Width | Css Class Name Float | Css Colour Tool Link here: |