Jump to content
Sign in to follow this  
Guest electrolund

image float question

Recommended Posts

Guest electrolund

I'm a relative newb to CSS. I'm trying to do this:css_example.jpgI want to have some images float on the left portion of a table, where text is to the right of it with some padding. The trouble I'm having is that if I use float tags, the text of course eventually falls beneath the image. I don't want that, I want the text to always remain on its own side. Almost as if it were a table with two columns.The blog where the image above came from... I've grabbed his CSS and can't really find where he makes this happen.Here's what I've done to come sort of close:

/* Gravatars plugin style */.gravatar {	float: left;	margin-right: 25px;	margin-left: -50px;	margin-bottom: -10px;	width: 45px;}

You can see this on my website. So any better ideas?

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...