[thelist] CSS: layout question

Chris W. Parker cparker at swatgear.com
Wed Nov 20 18:04:01 CST 2002


> -----Original Message-----
> From: Chris W. Parker
> Sent: Wednesday, November 20, 2002 3:49 PM
> To: thelist at lists.evolt.org
> Subject: RE: [thelist] CSS: layout question
>
>
[snip /]
> > Sump'n like this:
>
> boy was that easy or what?! man i messed around with that for a while
> too.

ok. now that i've actually tried it out i can give a more well thought
out response. :(

the problem with this css solution (as opposed to the table i wrote) is
that you can use percentages as widths (which is great) but you cannot
also keep the boxes a fixed width apart. at least, i can't figure out
how. i tried margin-right: 5px; and padding-right: 5px; but those either
affect the inside of their div or the content of the adjacent div.

if i adjust the width of the menu to be less than 25%, say 24%, i get a
space, but that space is 1% wide. but that's not what i want, what i
want is 5px.

would it be possible to make a spacer div that would sit in between the
menu div and content div but had a fixed width? (or is that evil?)




chris.



More information about the thelist mailing list