Reply to Re: two column layout

Your name:

Reply:


Posted by Jonathan N. Little on 03/08/07 06:05

al jones wrote:
> I'm getting in over my head - as always. Tried to take a two column layout
> and put something together for a friend who needs a website for his youth
> group soon!
>
> url is: http://aljones.us/rsrc/index.htm
>
> Would someone please tell me why I can't seem to get the second column to
> show up on the right hand side of the page?? This is obvioulsy a borrowed
> template which I've screwed up and just for starters, I need some immediate
> help, please.
>
> //al

display : inline AND float : right; <<the float will undo the inline.


/* on left put the float back ON */

#leftcolumn {
width : 20em;
float : left;
....


/* on the right REMOVE display : inline; AND the float : right; */

#rightcolumn {
/*
add left margin to right column =
[width of left column] + [whatever margin desired for right column]
*/
margin-left: 21em; /* gives 1em left margin */

....


--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация