Login:  Password:    
forgot my password
sign up!
Search: 

Floating - Course Cascading Style Sheets (CSS/CSS3) - Part 12 | web Developer courses

In this video, we will see how to float the element to the left or right of the page using the float attribute, add some margin and border to highlight the image and keep it a bit away from the text. And finally, we will see how to display a gallery of images using the float attribute.

1 0
Course:   Cascading Style Sheets (CSS/CSS3)

Duration: 18 minutes

Summary: In this video,before we start discussing floating we still have one stop regarding positioning. Note that by setting the overflow value to ‘auto’ the browser will automatically handle the overflow for you and add scrollbars if necessary. Now back to floating. We will see how to float the element to the left or right of the page using the float attribute. This comes handy when we want to float a piece of text close to an image. We will accomplish this here and add some margin and border to highlight the image and keep it a bit away from the text. A similar behavior of floating an element can be done using the position attribute that we have learned in the previous video. Finally, we will see how to display a gallery of images using the float attribute.

Methodology: Using simple examples to illustrate the key points.

Technology Used: CSS, HTML and Visual Studio 2010

Keyword: CSS, HTML, Visual Studio 2010, background-color, width, height, overflow, auto, position, right, float, left, border, margin.


Ayad Boudiab
Experience: A total of 10 years experience in developing applications using C++, Java, C#, ASP.NET, and SQL Server. In addition to 6 years experience in teaching programming courses at a local college. Degree: B.S. Computer Science Location: Atla...
Add your comment
[Fechar]

Este post é fechado - você precisa ter acesso ao post para incluir um comentário.


no comments have been posted - be the first!
Help us to improve! Give us your feedback:

Give your note to this post: 1 2 3 4 5 6 7 8 9 10
Is this post helpful? Yes No



[Close]
To have full access to this post (or download the associated files) you must have MrBool Credits.

  See the prices for this post in Mr.Bool Credits System below:

Individually – in this case the price for this post is US$ 2,00 (Buy it now)
in this case you will buy only this video by paying the full price with no discount.

Package of 10 credits - in this case the price for this post is US$ 1,00
This subscription is ideal if you want to download few videos. In this plan you will receive a discount of 50% in each video. Subscribe for this package!

Package of 50 credits – in this case the price for this post is US$ 0,33
This subscription is ideal if you want to download several videos. In this plan you will receive a discount of 83% in each video. Subscribe for this package!


> More info about MrBool Credits








mrbool.com
contact us   |   publish your post   |   buy credits

Copyright 2013 - all rights reserved to www.web-03.net