Mobile Friendly Website

CSSPLAY

Doing it with style

F.a.S.T Gallery COMMENTS

Welcome to my Comments Pages

Please note. I get a few hundred emails a week from visitors asking for help, or posing questions on how to modify my demos to suit their application and I read them all. Unfortunately I only have a limited amount of time to spend answering these questions.

So if I do not reply, please do not be offended, and if I do reply then you are one of the lucky ones.

If you are asking for permission to use any of my demonstration then please email me with your request stu{at}cssplay.co.uk.

Post a comment


Current posts

Sid:-
Hi,

I like your F.a.s.t. examples. I'm looking for a css-based resizing mechanism which will fit an image to the browser window, but maintaining its aspect ratio. If a portrait is loaded, the image should be scaled to the max width, and the top and bottom would be cut off. If a landscape is loaded, the image would be scaled to the max. height and the left and right parts of the image would be cut off. This assumes the image is centered vertically and horizontally. A nice example of a website which features this is here: www.bluevertigo.com.ar/bluevertigo.htm

Could this be done with css?

Thanks,

Sid
(15.04.2010, 04:30)

Stu:-
This is done with CSS :)
The image is a background image in the body which has a position:fixed; no repeat; center top;
(15.04.2010, 08:10)

James:-
This is amazing and is working very well in Firefox, but when I view it in IE (I'm using ie8) the large container image is embedded in the scroll box. What needs to be done to make it IE compatible?
(16.05.2010, 00:44)

Sandra:-
I have the same problem as James.
(16.05.2010, 04:28)

Stu:-
This demo works in IE8.
If you are trying to use it in your page then check that you have a standards compliant doctype.
(16.05.2010, 08:16)

James:-
I've tried using it with
HTML 4.01 Strict, Transitional
XHTML 1.0 Strict, Transitional
and
XHTML 1.1 DTD
!DOCTYPEs but without success. I know your time is precious to you but I would appreciate it if you could offer any other solutions.
(17.05.2010, 06:12)

Stu:-
But does the demo on CSS play work in your IE8?
because it does in my 32bit and 64bit versions
(17.05.2010, 07:15)

James:-
Yes the demo does work in IE8, it must be something to do with my page server, or at least that is what i would expect.
(18.05.2010, 18:54)

John:-
I am having trouble getting this to work in IE6. Any ideas.

Everthing passes the W3C Validation?
(21.03.2011, 14:03)



Post

Your comment:

Your Name:

Stu's First Name - 3 letters (required)

Thanks to Alex for this script.

Please enter your comments for this site page.
Please note that all posts are moderated.

Posting rules

HTML is turned off
Maximum word length is 80 characters.
Messages limited to 1200 characters.
Web links should not include 'http://'

Support CSSPLAY

Your donations keep CSS PLAY running.
If your donation is for the use of a demo then please email me with the demo url after making your donation.


CUSTOM SEARCH

Facebook Twitter rss feed Facebook Fan Page