Ian Young wrote:
> I would play around with the width of your left and right columns making
> sure that these do not have more than a 100% width, including margins and
> padding etc and see if these give you two columns on their own before
> including within your page.
>
> eg This might be better
>
> #left-column {
> width: 40%;
> float: left;
> margin:5px;
A thought on the units used. Not necessarily a problem here, but it
often does make trouble; mixing the units means that it is easy for the
overall width to exceed 100%, especially in a liquid design.
I think it's preferable either to use % for the margin as well as the
width, or not to put padding or margin on % specified elements.
You can put the margin on the content elements inside each column (more
work but cleaner HTML) or have an inner wrapper DIV inside each column
for the padding/margin (less satisfying HTML but easier admin)
HTH
Cheers
Ian
--
_________________________________________________
zStudio - Web development and accessibility
http://zStudio.co.uk
Snippetz.net - Online code library
File, manage and re-use your code snippets & links
http://snippetz.net
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/