Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

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


  #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,176 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 05:03 AM.


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