CSS - Horizontal Scroll Bar Start Position????

This is a discussion on "CSS - Horizontal Scroll Bar Start Position????" within the Web Page Design section. This forum, and the thread "CSS - Horizontal Scroll Bar Start Position???? are both part of the Design Your Website category.



Go Back   Webforumz.com > Main Forums > Design Your Website > Web Page Design

Notices


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old Jul 14th, 2007, 09:05
jez jez is offline
New Member
Join Date: Jul 2007
Location: UK
Age: 26
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
CSS - Horizontal Scroll Bar Start Position????

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

Last edited by jez; Jul 14th, 2007 at 09:08.
Reply With Quote

Reply

Tags
align, bar, center, css, horizontal, position, scroll, start

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
unwanted horizontal scroll mykl Web Page Design 11 Sep 30th, 2007 02:05
horizontal scroll html saltedm8 Web Page Design 2 Sep 12th, 2007 04:56
vertical but no horizontal scroll bar.. word wrap nate2099 Web Page Design 1 Jul 17th, 2007 12:20
IFrame left horizontal scrollbar and top horizontal scroll bar jadeite100 Web Page Design 6 May 29th, 2007 09:45
Page creates horizontal scroll bar in IE leebridgewater Web Page Design 1 Mar 5th, 2006 09:23


All times are GMT. The time now is 03:02.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43