• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Simplest way to have two even columns in a page node

craigiri

Well-known member
#1
As per the title, what is the easiest way to have a page node (single page) look somewhat like this - that is, a centered title and maybe a few links and then two columns.

http://www.hearth.com/what/specific.php

The line down the center would be neat too!

Ideally, I would want this just for the ONE page and not for any and all page nodes I create later.

I'm just pasting the html into the page node - no callback.
 

Chris D

XenForo developer
Staff member
#2
Looking at the source of that page, you would do something like this in your page node HTML:

Code:
<style>
#leftnav
{
	float: left;
	width: 45%;
	margin: 0;
	padding: 1em;
}

#rightnav
{
	float: right;
	width: 45%
	margin: 0;
	padding: 1em;
}
</style>

<div id="leftnav">
	Left content here
</div>

<div id="rightnav">
	Right content here
</div>