 | | |
01-01-2007, 1:43 PM
|
#1 (permalink)
| | Distinguished Member
Join Date: Nov 2001 Location: Nottinghamshire
Posts: 10,892
Thanks: Gave 1,158, Got 583 | Any web design experts here ?
I've been putting together a simple way to show some photos on the web and it works fine at 1280x1024 resolution but then things start to look wrong at lower resolutions as the pictures go off the bottom of the visible screen.
I know very little about HTML so was wondering if there's any way to detect the screen resolution and then display different pages according to that resolution ?
__________________ I know the meaning of life, it doesn't help me a bit |
| |
01-01-2007, 1:58 PM
|
#2 (permalink)
| | Ex Member
Join Date: Dec 2006
Posts: 101
Thanks: Gave 1, Got 1 | Re: Any web design experts here ?
Easy way would be to do your layout in CSS so it is fluid. Trust me, its much easier to do that than to detect resolutions.
I mean what happens when someone doesnt want to view your page in a full screen?
|
| |
01-01-2007, 2:04 PM
|
#3 (permalink)
| | Distinguished Member
Join Date: Nov 2001 Location: Nottinghamshire
Posts: 10,892
Thanks: Gave 1,158, Got 583 | Re: Any web design experts here ? Quote:
Originally Posted by mrdixon Easy way would be to do your layout in CSS so it is fluid. Trust me, its much easier to do that than to detect resolutions.
I mean what happens when someone doesnt want to view your page in a full screen? | You've lost me now mate !
__________________ I know the meaning of life, it doesn't help me a bit |
| |
01-01-2007, 2:18 PM
|
#4 (permalink)
| | Member
Join Date: Jul 2006
Posts: 59
Thanks: Gave 0, Got 4 | Re: Any web design experts here ?
Go here and do your homework http://www.w3schools.com/css/ then practice some simple stuff first. HTH.
|
| |
01-01-2007, 2:30 PM
|
#5 (permalink)
| | Distinguished Member
Join Date: Nov 2001 Location: Nottinghamshire
Posts: 10,892
Thanks: Gave 1,158, Got 583 | Re: Any web design experts here ?
Thanks for the link mate, that looks like a great place to learn  The problem I have with HTML etc is that I'm used to programming with "proper" languages and to me HTML is not proper programming
__________________ I know the meaning of life, it doesn't help me a bit |
| |
01-01-2007, 5:04 PM
|
#6 (permalink)
| | Member
Join Date: Mar 2005
Posts: 566
Thanks: Gave 44, Got 56 | Re: Any web design experts here ?
I agree that CSS is the way to go. Find a simple template and base it off that. Ensure that you test IE6,7 and Firefox as if you do anything complex in CSS they tend to render them differently.
Agree with you on the HTML front. I tend to have a wash after doing HTML.
__________________ Play room: Z5, Onkyo 605, Q acoustics 1000, Wii, Xbox, Ps3, HTPC, SkyHD, URC810 Living room: JVC 56 HD-ILA, VSX-AX2AS-S , Kef 3000, HTPC, Sky+, Nevo SL Server: Windows Home server. Gamer tag: ToonDoom |
| |
01-01-2007, 6:43 PM
|
#7 (permalink)
| | Distinguished Member
Join Date: Nov 2001 Location: Nottinghamshire
Posts: 10,892
Thanks: Gave 1,158, Got 583 | Re: Any web design experts here ?
They seem to recommend a book called "Build Your Own Web Site The Right Way Using HTML & CSS" as additional reading. Anyone read or have any comments on this book ?
__________________ I know the meaning of life, it doesn't help me a bit |
| |
02-01-2007, 12:26 AM
|
#8 (permalink)
| | Guest | Re: Any web design experts here ?
i'd have the pics at 800width, then have option to download it at full size.
that way people with 800x600 res should see it ok and if they want it bigger have a link for download. otherwise they've just loaded a whole pic they weren't looking for.
or make smaller thumbnails for them.
| |
| |
02-01-2007, 12:31 AM
|
#9 (permalink)
| | Distinguished Member
Join Date: Nov 2001 Location: Nottinghamshire
Posts: 10,892
Thanks: Gave 1,158, Got 583 | Re: Any web design experts here ?
I've done it with a scrolling set of thumbnails at the top of the screen and then a 800x600 picture below which displays when you click on the corresponding thumbnail. But at 1024x768 it doesn't fit.
__________________ I know the meaning of life, it doesn't help me a bit |
| |
02-01-2007, 12:35 AM
|
#10 (permalink)
| | Guest | Re: Any web design experts here ?
i'd have links to download at different resolutions.
| |
| |
02-01-2007, 9:18 AM
|
#11 (permalink)
| | Distinguished Member
Join Date: Nov 2001 Location: Nottinghamshire
Posts: 10,892
Thanks: Gave 1,158, Got 583 | Re: Any web design experts here ?
I'm not actually wanting to download pictures from the site, just wanting to display the chosen photo. Just to show what I've done so far, you can see a screenshot showing the scrolling selection at the top and then the image displayed below.
I've edited out the address bar as it's still in early stages yet !
__________________ I know the meaning of life, it doesn't help me a bit |
| |
02-01-2007, 9:46 AM
|
#12 (permalink)
| | Distinguished Member
Join Date: Nov 2001 Location: Nottinghamshire
Posts: 10,892
Thanks: Gave 1,158, Got 583 | Re: Any web design experts here ?
Actually, I've just thought, I think I'm being stupid here ! It might be best to design it at 1024x768 and then it should be ok for the higher res screens
__________________ I know the meaning of life, it doesn't help me a bit |
| |
02-01-2007, 12:44 PM
|
#13 (permalink)
| | Member
Join Date: Mar 2006 Location: Central London
Posts: 91
Thanks: Gave 2, Got 13 | Re: Any web design experts here ?
You *could* use javascript to dynamically resize the image to fit in the browser window, then when the user clicks the image it re-sizes to its full size.
|
| |
02-01-2007, 12:48 PM
|
#14 (permalink)
| | Member
Join Date: Mar 2005
Posts: 566
Thanks: Gave 44, Got 56 | Re: Any web design experts here ? Quote:
Originally Posted by JohnG I'm not actually wanting to download pictures from the site, just wanting to display the chosen photo. Just to show what I've done so far, you can see a screenshot showing the scrolling selection at the top and then the image displayed below.
I've edited out the address bar as it's still in early stages yet ! | That squirel is really crap at hiding.
__________________ Play room: Z5, Onkyo 605, Q acoustics 1000, Wii, Xbox, Ps3, HTPC, SkyHD, URC810 Living room: JVC 56 HD-ILA, VSX-AX2AS-S , Kef 3000, HTPC, Sky+, Nevo SL Server: Windows Home server. Gamer tag: ToonDoom |
| |
02-01-2007, 2:22 PM
|
#15 (permalink)
| | Distinguished Member
Join Date: Nov 2001 Location: Nottinghamshire
Posts: 10,892
Thanks: Gave 1,158, Got 583 | Re: Any web design experts here ?
I shall name him "Not so secret squirrel"
__________________ I know the meaning of life, it doesn't help me a bit |
| | | |