CSS

by 7 replies
8
What is css " float "
#website design #css
  • With CSS float, an element can be pushed to the left or right, allowing other elements to wrap around it.
    Code:
    img {
        float: right;
    }
  • Banned
    css float is used to push the elements left or right.it is very useful when work with layouts otherwise it is rarely used with images
    • [1] reply
    • Why??? Of course you float your images, if you don't float em they'll sink. You can also float stuff next to each other if there is room. And you can turn your float off using clear, then everything sinks. You can also learn all this on google.

    • [1] reply
    • Thanks Paul, you just floated the usefulness of this post way up. Those are helpful articles, especially for those times when you realize your element isn't floating where you want it to on one or more pesky browsers.
  • Banned
    Hi,css is casecading style sheet it is very important use to create or make web page atractive.
    • [1] reply

Next Topics on Trending Feed