homepage Welcome to WebmasterWorld Guest from 54.225.57.156
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Visit PubCon.com
Home / Forums Index / Code, Content, and Presentation / HTML
Forum Library, Charter, Moderators: incrediBILL

HTML Forum

    
Why won`t these images align properly in one line?
thewpfan




msg:4202847
 4:15 pm on Sep 16, 2010 (gmt 0)

I cannot understand why these won`t align correctly in one line. What would be the best solution to have them in one line and spaced evenly?


<a href="http://mixi.jp/share.pl" class="mixi-check-button" style="width:100px;">Check</a>
<script type="text/javascript" src="http://static.mixi.jp/js/share.js"></script>

<iframe allowtransparency="true" frameborder="0" scrolling="no"
src="http://platform.twitter.com/widgets/tweet_button.html" data-count="none"
style="width:75px; height:20px;"></iframe>

<iframe id="fblike" src="http://www.facebook.com/plugins/like.php?href=,?php the_permalink()?>&layout=button_count&show_faces=true&width=100&action=like&colorscheme=light" scrolling="no" allowTransparency="true" style="border:none; width=100px; height:20px"></iframe>
</iframe>

 

tedster




msg:4202948
 7:56 pm on Sep 16, 2010 (gmt 0)

Looks like you're trying to align iframe elements - I'd say focus your experimenting there rather than on the images themselves.

htmlbasictutor




msg:4203154
 8:21 am on Sep 17, 2010 (gmt 0)

They line up here. You must be trying to put this in a container that is not wide enough including margins and padding of the iframes.

thewpfan




msg:4203337
 5:03 pm on Sep 17, 2010 (gmt 0)

Thanks. I experimented with the iframes, took out twitter`s iframe, kept the iframe for facebook (it requires it), put them in divs, floated the divs, and I got it to align.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / HTML
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved