Solved

Best Practice CSS floating images

Posted on 2016-11-18
2
53 Views
Last Modified: 2016-11-18
Hi- On many of my web pages, I use this style on images:  style="float:left;padding-right:10px;" or  style="float:right;padding-left:10px;".

Do I have to clear those floats? Is there a problem if I don't? The pages seem fine to me. Thanks.
0
Comment
Question by:mel200
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 16

Accepted Solution

by:
SSupreme earned 500 total points
ID: 41893159
You don't have to as long as it looks like you want. There is no problems with that. As alternative you can use img align attribute, examples of application you can find here .
0
 

Author Closing Comment

by:mel200
ID: 41893173
Thanks, I am so glad to hear that! Thanks for the link, I'll investigate.
1

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Get to know the ins and outs of building a web-based ERP system for your enterprise. Development timeline, technology, and costs outlined.
FAQ pages provide a simple way for you to supply and for customers to find answers to the most common questions about your company. Here are six reasons why your company website should have a FAQ page
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

730 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question