Not sure if this is what you want but to have the content first in the body
but have the sidebar appear firt you can use:
html, body {
width: 100%;
margin:0;
}
#cont {
float: left;
padding:10px;
margin-left: 220px;
}
#sidebar {
background: #DD;
learn to search, елки палки
http://www.alistapart.com/articles/multicolumnlayouts/
http://www.alistapart.com/articles/fauxabsolutepositioning/
2009/8/17 Ben Davies
> Hi Kepler,
>
> >You may want to try max-width on your main content. I'm not sure if that
> will work for you since you didn't post
Ben
If the window gets below a certain width,
then inevitably the content must pop up
above the fixed width sidebar. That is the whole point
of the content first approach, I thought.
It's true that with an extremely wide screen a
gap will open up. I guess if that's a problem for your
client, th
Hi Kepler,
>You may want to try max-width on your main content. I’m not sure if that will
>work for you since you didn’t post a link.
I tried max- and min-width in a few combinations and could not get it
to work (and makes my content no longer fluid ).
Hi Mark
Thanks for the sample code. The p
Certainly, as long as it's an appropriate usage of a table (which it
sounds like it is).
- Christian
Tim MacKay wrote:
Hi all,
Is it semantic markup to include a table of items ( in this case a
nutritional information table ) as the contents of a within a
definition list?
I am marking u
Hi all,
Is it semantic markup to include a table of items ( in this case a
nutritional information table ) as the contents of a within a
definition list?
I am marking up product nutritional information and am thinking of doing it
like so:
The Product
Paragraph blurb about the
Ben
This works ok - or have I misunderstood you? Maybe
the alignment isn't good enough for the 'big end of town' though.
test
#cont {float:right;width:81%;border:1px solid red;}
#sidebar {float:left;width:200px;background-color:green;color:#ff;}
content
ABC
regards
Mark
=
Hi Cole,
you can also specify {vertical-align:bottom} for the images.
Cheers,
Jens
-Original Message-
Sent: Friday, August 14, 2009 4:02 PM
Subject: Re: [WSG] Strange Bottom Margin on Floated Elements I Can't Get Rid of
Hi Cole,
Try setting those images to 'display: block;'
div.thu
- To put my content first in the markup, my content needs to be floated (for
a following sidebar)
- My content is fluid, so I can not assign a width
You may want to try max-width on your main content. I'm not sure if that
will work for you since you didn't post a link.
Best regards,
Kepler
Hi Everyone,
I am working on a site with a fixed sidebar panel and fluid content. After
some research I think I have discovered a CSS source order limitation
particular to this layout. Can anyone confirm whether this sounds correct:
- To put my content first in the markup, my content needs to be
10 matches
Mail list logo