answersLogoWhite

0


Best Answer

There are four positioning types of float; static, relative, absolute and fixed. Some will accept the left, right and none values. If you wish to end them and go back to full screen, then you will need to use clear.

One slick trick is to use an element in you sytlesheet that is br.clear with the clear:all attribute and then use <br class="clear"> in the HTML

User Avatar

Wiki User

12y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

12y ago

The CSS float poperty is a way to position HTML elements without using <table>'s.

float can be set to left, right, and clear.

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How do you make something float in CSS?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering

CSS code that would float every image to the right?

To make all images appear on the right side, use this:img { float:right; }


How can you align images to the right of a table using css tag?

In your CSS document, use the float attribute with your img tag. For example: img.example { float:right; }


How do you insert a command into a CSS file?

You cannot insert a command into CSS, you can make styles that happen in HTML.


What is valid css?

Valid CSS is CSS that has been run through the W3C CSS checker and passed.


How do you make text smaller in HTML?

in css - layout font-size: 36;

Related questions

How do you make a personal profile using a CSS codes?

You cannot "Make" something with CSS. CSS only decorates the elements on a page.


What is meant by the phrase Float CSS?

The phrase Float CSS means that elements can be pushed to the sides, left or right. This floating style is often used for images but can be used for other elements also.


CSS code that would float every image to the right?

To make all images appear on the right side, use this:img { float:right; }


How can you align images to the right of a table using css tag?

In your CSS document, use the float attribute with your img tag. For example: img.example { float:right; }


How do you make div by using css?

You can make CSS inside a div but not div in CSS. CSS inside div could be done by : &lt;do=iv style=""&gt;.


How do you make CSS layouts?

CSS layouts can be created in an external CSS file. The extension of the file should be CSS only.


How do you make things float in jars?

put it in something with more density.


What do yodo to make an egg float?

you put it in a cup of water or something that has water in it


How do you make something sink then float cannot use salt?

Push it down with your finger(:


How do you make the address css on freewebs?

[ Assuming the question can be asked as, "How do you make the address (In the header) more dynamic with CSS on FreeWebs?" ] If you are using a FreeWebs template, you cannot edit any CSS. If you are using raw HTML + CSS, you can wrap the address in a tag such as &lt;span&gt; or &lt;div&gt;, and define some properties to the element with CSS.


What is procssor?

ProCSSor.com is a powerful (and wholly free) CSS prettifier that lets you format CSS in the exact way you want. It empowers you to turn your CSS into something that is visually more compelling, and with a minimum of effort at that.


How do you insert a command into a CSS file?

You cannot insert a command into CSS, you can make styles that happen in HTML.