WeLoveCSS Logo
Home Profile Members Search Rules Help New Posts



WeLoveCSS > WEB DESIGN > CSS > Image extend beyond browser and centre align

Reply
  Thread Tools Display Modes
Old 6th September 12, 12:38 PM   #1
craig5000
WLC Member
 
Join Date: Sep 2012
Posts: 1
Default Image extend beyond browser and centre align

Hi there I am hoping for advice here....
If i want to stack images 1800px x 600px down page
and have them all the time centred horizontally in browser window
with only vertical scroll
but actual content column only 500px wide.
so if browser window is 1000px wide, images are at -400px (1800-1000/2)
ie leftmost and rightmost 400px of images disappear
if browser is 700 wide, images are at -550px (1800-700/2)
so no horizontal appears until browser less than 500px wide
but can scroll vertically through images that extend to left and right edges...
what CSS do i use to achieve this?
thanking you all, cheers, craig
craig5000 is offline   Reply With Quote
Old 6th September 12, 10:03 PM   #2
meesa
WLC Mod
 
meesa's Avatar
 
Join Date: Jul 2009
Location: Milky Way Galaxy
Posts: 3,711
Default Re: Image extend beyond browser and centre align

What's the issue? You're getting a horizontal scroll bar, and you don't want one?
__________________
Praise be to the Lord God for the ability to learn, the capability to analyze, and the time to help users on this forum.
meesa is offline   Reply With Quote
Reply


Thread Tools
Display Modes
Linear Mode Linear Mode

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

Forum Jump


All times are GMT. The time now is 04:19 AM.



Home | Advertise | Contact Us | Top
Home | Advertise | Contact Us | Top

Copyrightę 2006 WeLoveCSS.com. All Rights Reserved.
Powered by vBulletin Version 3.8.4 Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.