[thelist] CSS help this time...

Dan Parry dan at virtuawebtech.co.uk
Tue Nov 27 09:57:00 CST 2007


> -----Original Message-----
> From: thelist-bounces at lists.evolt.org [mailto:thelist-
> bounces at lists.evolt.org] On Behalf Of Ben Glassman
> Sent: 27 November 2007 15:51
> To: thelist at lists.evolt.org
> Subject: Re: [thelist] CSS help this time...
> 
> On Nov 27, 2007 10:44 AM, Dan Parry <dan at virtuawebtech.co.uk> wrote:
> 
> > I've set up a div that is
> > 2000px wide but clipped to 550px (there's going to be some JS
> wizadry,
> > theoretically)
> >
> > Problem is this introduces scrollbars into the page to reflect the
> clipped
> > area
> >
> 
> Why not specify css rules of "width: 550px; overflow: hidden" on the
> div
> rather than using JS. This will allow you to put content of any width
> into
> the div without causing scrollbars in your browser. Any content outside
> of
> the 550 pixels of width you specify will be clipped off.

This was my initial thought but ideally I want users to be able to scroll
the content left and right

The content is up to 12 thumbnail images

> Ben
> --
> 
> * * Please support the community that supports you.  * *
> http://evolt.org/help_support_evolt/
> 
> For unsubscribe and other options, including the Tip Harvester
> and archives of thelist go to: http://lists.evolt.org
> Workers of the Web, evolt !
> 
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.5.503 / Virus Database: 269.16.8/1153 - Release Date:
> 26/11/2007 21:08
> 

No virus found in this outgoing message.
Checked by AVG Free Edition. 
Version: 7.5.503 / Virus Database: 269.16.8/1153 - Release Date: 26/11/2007
21:08
 




More information about the thelist mailing list