5 replies [Last post]
jlcarpenter
jlcarpenter's picture
Offline
newbie
Last seen: 2 years 35 weeks ago
Timezone: GMT-6
Joined: 2012-02-13
Posts: 3
Points: 4

I am having trouble with a two-column layout on a page I am designing. Originally I tried with a right sidebar and everything worked fine. This can be seen here http://nametest.weserver.org/nikripken/index.php. I then tried to swap to a left sidebar and the main content is not displaying until after the content of the sidebar. I am sure this is a simple CSS mistake in swapping the 2 sides, but if anyone can give me some pointers that would be great. Here is a link to the second attempt http://nametest.weserver.org/nikripken/index3.php

Thanks,
James

bijayjoshi
bijayjoshi's picture
Offline
Regular
Patan, Nepal
Last seen: 37 weeks 1 day ago
Patan, Nepal
Timezone: GMT+5.75
Joined: 2012-02-06
Posts: 30
Points: 32

I can clearly see that there

I can clearly see that there is no content on: http://nametest.weserver.org/nikripken/index3.php
This is not a css issue. Please check your code carefully.

Bijay Josi
Loves Open Web.

jlcarpenter
jlcarpenter's picture
Offline
newbie
Last seen: 2 years 35 weeks ago
Timezone: GMT-6
Joined: 2012-02-13
Posts: 3
Points: 4

bijayjoshi, I'm not sure I

bijayjoshi, I'm not sure I follow you by saying there is no content. I have attached an image showing the issue that I am seeing.

AttachmentSize
Nik Ripken.png 231.86 KB
bijayjoshi
bijayjoshi's picture
Offline
Regular
Patan, Nepal
Last seen: 37 weeks 1 day ago
Patan, Nepal
Timezone: GMT+5.75
Joined: 2012-02-06
Posts: 30
Points: 32

jlcarpenter, Thank you for

jlcarpenter,
Thank you for the hint.
First of all, sorry for delay.
Now I got the problem. Please add following style:
#main #content .box{float: left}

Cheers!
You may contact me if you have any problem.

Bijay Josi
Loves Open Web.

jlcarpenter
jlcarpenter's picture
Offline
newbie
Last seen: 2 years 35 weeks ago
Timezone: GMT-6
Joined: 2012-02-13
Posts: 3
Points: 4

Thanks

Thanks for the help. I had looked everywhere else but not that element.

bijayjoshi
bijayjoshi's picture
Offline
Regular
Patan, Nepal
Last seen: 37 weeks 1 day ago
Patan, Nepal
Timezone: GMT+5.75
Joined: 2012-02-06
Posts: 30
Points: 32

You are most welcome. Cheers!

You are most welcome.

Cheers!

Bijay Josi
Loves Open Web.