Hi all,
I got a really annoying problem, and I usually just google for help with code and read up and test stuff until I know how to do it; but I can't find a solution to this anywhere.
I am a Graphic Designer who also does web (
CSS/
HTML) but I am not amazing at coding etc. The site Im doing is a big scene on a horizontal scroll, but the idea is that when the user arrives at the site the horizontal scroll should be set in the middle (i.e. so that the user can scroll left and right along the scene). This would seem simple enough, but just doesn't seem to want to work. Is there some kind of code for defining a start position on the scroll? Can you give a percentage value or something.
I have done the graphics work, but not entered into the page yet as I will need to alter things around if I cannot make the page start up in the middle. I have been testing with just a black BG and a grey box to mark where the content will hang. In the final version the box in the middle will need to be 6684 px wide, which i know is huge, but its a huge street scene.
In this example, the width is set to only 955px just to show how I want the inner segment to sit...everything is centred horizontally and vertically.
http://www.beatamax.com/UP0707/new1.html
Here shows the problem, once you change the dimensions of the inner segment to a large width which exceeds the width of the window...it screws up the horizontal alignment and makes the page start from the left?
http://www.beatamax.com/UP0707/new2.html
Does anyone know how to specify the start position of the scroll?
Any help would be massively appreciated...Thanks