/    Sign up×
Community /Pin to ProfileBookmark

2 columns within content

I know in most cases, except with tabular data, tables are not the best solution. As such, if I want to create 2 columns [U]within[/U] my content using a WYSIWYG editor, something like tinyMCE in Joomla, how would I accomplish that without using a table?

to post a comment
CSS

2 Comments(s)

Copy linkTweet thisAlerts:
@TancrediJan 03.2010 — create 2 floated divs within your content.

[CODE]column 1, column2 {
float left;
height: ?:
width: ?;
}[/CODE]

Give the divs an id each:

[CODE]<div id="column1">#[content]#</div>

<div id="column2">#[content]#</div>
[/CODE]


Good luck
Copy linkTweet thisAlerts:
@darkhelmetauthorJan 03.2010 — That was a good start - thanks.

TinyMCE likes to strip out some code so 30 minutes later I figured out I had to hack the site's CSS file for the DIV's to stay put.
×

Success!

Help @darkhelmet spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.19,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...