Hi,
I am hoping that someone can offer me some advise. I am new to CSS
layouts and I've struggled to produce the screen layout that I
wanted.
Here's my demonstration page:-
http://www.holleydesigns.com/pudo/demo3m.html
My design goals were:
1) To work on IE, FF and Opera on Windows.
2) To dynamically hide or show route directions on the left and a
control bar at the top
I've created buttons at the bottom of the page to do this.
3) To resize the map portion of the screen to maximise any remaining
viewport space
4) To dynamically resize as the browser window changes size.
I have finally got it working to meet my criteria but I feel that I
have compromised on my use of CSS. I had hoped that I could use CSS
to
anchor the container div that the map lives in to the edges of the
viewport. However my attempts to do this using properties such as
right-margin:0 and right:0 failed. Eventually I was forced to give up
and use a javascript function to dynamically calculate the size of
the
div's and set their values directly.
I would have loved to avoid using my own calculations. Can anyone
enlighten me? Can it be done in CSS directly?
Thanks very much in advanced for your consideration,
Cheers,
Mark