Wordpress Themes - WP Forum at BFA
Click Here To DONATE! Support the theme development, get more attention and additional benefits based on your donation level. Your forum name will be highlighted.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Center area post/pages »

HOWTO: Insert images and/or text side by side in center column without tables


Build custom WP THEMES, without
coding.
Click here for THEMEFRAME

From the author of Atahualpa, the #1 most
downloaded (700,000+) theme @ wordpress.org
  #1  
Old Apr 8, 2011, 07:40 AM
dutchess
 
18 posts · Jan 2011
I was looking for an easy way to put images next to each other, found this online, worked perfectly for me. I take no credit for the code

Here is the link, http://vivin.net/2009/11/05/displayi...-in-wordpress/

This is left justified:

<div style="display: inline-block; margin-right: 5px">
[ ... wordpress generated code for first image ... ]
</div>
<div style="display: inline-block">
[ ... wordpress generated code for second image ... ]
</div>


This is centered:

<div style = "text-align:center">
<div style="display: inline-block; margin-right: 5px">
[ ... wordpress generated code for first image ... ]
</div>
<div style="display: inline-block">
[ ... wordpress generated code for second image ... ]
</div>
</div>
  #2  
Old Apr 8, 2011, 08:09 AM
lmilesw's Avatar
lmilesw
 
10,069 posts · Jul 2009
Central New York State USA
Thanks for that dutchess. That is one I had never played with. I always used floats but this will be very useful at times and a bit easier.
__________________
~Larry (CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I center multiple images side by side? MarkSK Center area post/pages 4 Feb 11, 2011 06:18 AM
Top and Bottom Widget Images With Widgets in Middle and Two Side by Side littlered03 Sidebars & Widgets 2 Jul 18, 2010 08:10 AM
[SOLVED] How to provide html link in side bar text widget and center colum gladiator Sidebars & Widgets 4 Dec 6, 2009 04:12 PM
How can I make one column above Right Side bar and Inner Right side-bar? darmanpurba@gmail.com Sidebars & Widgets 1 Sep 14, 2009 04:56 AM
Javascripted input and text side-by-side in main content Brussells Atahualpa 3 Wordpress theme 1 May 20, 2009 08:02 AM


All times are GMT -6. The time now is 12:02 PM.


Powered by vBulletin® Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.