I've been taking care of this website for friends of mine (but I barely know the original designer) since last week. I've been working on the PHP mainly, but something bothers me:
Basically the main page and the whole design look like:
----------------------------------
Banner
----------------------------------
|Nav | |Div #1 floats right |
| | |80% width |
|float| | |
|left | -----------------------
| | |Div #2 floats right |
| 16% | |80% width (same as #1)|
------- |----------------------|
When reducing the window size, everything works alright until a certain point where Div#1 and Div#2 migrate to the bottom of the page, giving this arrangement :
---------------------------
Banner
---------------------------
|Nav |
| |
|float|
|left |
| |
| 16% |
-------
|Div #1 floats right |
|80% width |
| |
-----------------------
|Div #2 floats right |
|80% width (same as #1)|
|--------------------- |
I dont want this to happen but unfortunately I don't know a lot about CSS. I tried to position the divs absolutely and to write min-widths to prevent the browser from shrinking the page more than necessary.
Is there a cheap way to fix this without rewriting the CSS completely ?