CSS float size
Posted on 2009-04-22
I just started tinkering with CSS and I'm stuck with a problem that probably has a really simple solution. My site has a left floating navigation bar that has a width of 200px and to the right of that I have a left floating content section that's giving me problems. I just started by typing in some text in the content area to test the layout but without a specific width the area was too wide and got bumped belove the navigation bar.
I don't want to set a specific px width on the content area as that would look funny on screens with different resolution to my laptop screen. I tried giving it a % width but that also just factors in the optimal % width on MY screen. I tried giving it a width of 90% - 200px but that does not seem to work.
Maybe this isn't even a width thing but something completely different.
Please let me know if anything is unclear.