No offense but this page is sorta set up weird. However to fix this problem, for 640px and less, I’d unset the width:19% (e.g. make it width:auto) on #left, and then on #box, change that margin-left from 130px, to 190px (190px matches the min-width)
While I have your attention, now that I got the misspelt orissontel sorted out and the thing is actually appearing, my next probelm id to balnace the 3 divs nicely .margins:auto does not seem to work,
It is only a starter to see how something like this could take over from the left sidebar, if I also took it out.
It looks awful, but before I get the paintbrush out, I’s better centre the divs nicely.
You are still in development and pretty early on I’d say. Please take a look at these 3 column examples and consider mimicing your HTML and structure code to match.
Thanks. I promise I will look. But right now and at my third attempt I must get this out within a day or two. It is, infact, a very close copy of the main pages in the site.
I know they started as a beginner’s attempt and were patched up over the last 18 months with kind offerings from online friends.
if you could help me sort out the #horizontal I will be forever grateful.
Yes, it’s working fine now. My next problem is to centre the divs in the #horizintal so that they look more attractive. The actual content will change but first I need them to stay in touch with the decreasing screen width, i.e. as the screen width goes down the divs in th #horizontal should adjust themselves to stay centred.
To technically center them you could just remove the floats on the #logo, .dest5, and .dest6 elements, make #horizontal display:table instead, and give #horizontal text-align:center;
Just one more: is it possible with css to make the left sidebar keep company with the middle section, as the latter gets narrower and increases in length?
Ya knwo what, remove the width entirely on #left (this means you don’t need to reset it in the media query)
To answer your question, sure! Just make #box not have an auto left margin. Make it 190px just like in your media query (also it removes the need for your media query to change the left margin of it.)
One thing at a time: I removed the width on #left from the main code and from media query, and now the #box is diving beneath the #left, as before, plate tectonics style!
I take it that you are talking about the main code, not the queries.
Right?
let me add that at this stage I am only trying to understand the nechanics of the page, because I have more or less already decided to get rid of the #right altogether and turn the #horizontal to mimic the navbar that I took aout in the queries