Solved

How do you get images to sit next to each other in Wordpress?

Posted on 2011-03-07
4
339 Views
Last Modified: 2012-05-11
I have a WP blog and being new to this can not figure out how to get these two items to sit next to each other in a post.  I know how to have them sit on top of one another but not next to.  

The first is a image:
 http://localhost:8888/whokilledhiphop.com/wp-content/uploads/2011/03/bull1.jpg

the second is a poll from polldaddy.com:  
<script type="text/javascript" charset="utf-8" src="http://static.polldaddy.com/p/4650124.js"></script>
<noscript>
      <a href="http://polldaddy.com/poll/4650124/">TELL DRAKE HOW YOU FEEL ABOUT THIS SONG.</a><span style="font-size:9px;"><a href="http://polldaddy.com/features-surveys/">online survey</a></span>
</noscript>

if for some reason that image does'nt load any will due.  Im more interested the code so that i can repeat the process.
0
Comment
Question by:Qechols1
  • 2
  • 2
4 Comments
 
LVL 2

Expert Comment

by:adeelshahid
ID: 35057242
use this structure and code,


<div>
    <div style="float:left;">
        IMG HERE
    </div>
   
    <div style="float:left;">
        SCRIPT HERE
    </div>

      <div style="clear:both;"></div>
</div>
0
 

Author Comment

by:Qechols1
ID: 35057384
I failed to mention that a margin of 20px is necessary.  
0
 
LVL 2

Accepted Solution

by:
adeelshahid earned 125 total points
ID: 35057391
<div>
    <div style="float:left; margin-right:20px;">
        IMG HERE
    </div>
   
    <div style="float:left;">
        SCRIPT HERE
    </div>

      <div style="clear:both;"></div>
</div>
0
 

Author Closing Comment

by:Qechols1
ID: 35057547
Very fast solution
0

Featured Post

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

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

Styling your websites can become very complex. Here I'll show how SASS can help you better organize, maintain and reuse your CSS code.
In this blog, I will share you some basic tips for content marketing and to rank your website on Google.
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

770 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