Welcome to WebmasterWorld Guest from 54.196.243.192

Forum Moderators: incrediBILL

Message Too Old, No Replies

HTML 5 Responsive site background

     
5:54 pm on Jan 2, 2013 (gmt 0)

Junior Member

joined:Oct 19, 2011
posts: 161
votes: 0


There is an upcoming project that I will be converting to make more friendly to mobile devices. The problem is that is has a solid background color and a seacoast background. I'd like to be able to show more of it depending on the screen width. Because of the complexity of the images, I need some advice on how to do it properly.

Let me know and I can send an image...
Thanks!
7:25 pm on Jan 2, 2013 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:May 23, 2005
posts:742
votes: 0


HTML5 has nothing to do with it. The CSS is the same, too, though you might look into 'background-size'.

So you're probably looking for advice on how to do what you want but I started at 4:50AM for a site going live in an hour or so and I'm just too tired.
8:13 pm on Jan 2, 2013 (gmt 0)

Junior Member

joined:Oct 19, 2011
posts: 161
votes: 0


No problem. I'll look into background-size.
Thanks!
4:09 am on Jan 3, 2013 (gmt 0)

Senior Member

WebmasterWorld Senior Member swa66 is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:Aug 7, 2003
posts:4783
votes: 0


I've used svg images as backgrounds in the past: perfect for resizing, tiny filesize (at least for the gradients that i needed).

IE is braindead, but that you know and expect.