Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 92
  • Last Modified:

Best Practice CSS floating images

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
mel200
Asked:
mel200
1 Solution
 
SSupremeCommented:
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
 
mel200Author Commented:
Thanks, I am so glad to hear that! Thanks for the link, I'll investigate.
1
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Get 10% Off Your First Squarespace Website

Ready to showcase your work, publish content or promote your business online? With Squarespace’s award-winning templates and 24/7 customer service, getting started is simple. Head to Squarespace.com and use offer code ‘EXPERTS’ to get 10% off your first purchase.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now