There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
 
Tag Cloud
acer audio black screen boot bsod computer connection crash css dell display driver drivers email error ethernet excel explorer firefox firefox 3 game hard drive internet internet explorer itunes laptop lcd linux malware network networking nvidia outlook outlook 2003 outlook express partition printer problem router slow software sound trojan usb video virus vista windows windows xp wireless
Software Development
Search
Search in:
 
Advanced Search
Tech Support Guy Forums > Software & Hardware > Software Development >
Question About pictures on a Web Page


HELLO AND WELCOME! Before you can post your question, you'll have to register -- it's completely free! Click here to join today! We highly recommend that you print a copy of our Guide for New Members. Enjoy!

Closed Thread
 
Thread Tools
BML's Avatar
BML BML is offline
Computer Specs
Senior Member with 518 posts.
 
Join Date: Nov 2001
Location: Green Bay, Wisconsin
Experience: Intermediate
27-Jan-2002, 03:00 AM #1
Question About pictures on a Web Page
I created a web page in photoshop where I could play around with the designs and now I'm wanting to put all the individual elements into frontpage to actually build the page. The pictures looked real nice in photoshop with a shadow but I can't seem to figure out how to make this image have the shadow when I insert it to a webpage.

Is that even possible?

Also, a related question about page size. Should I make my background image 800x600 or 1024x768? What is the most common browser window setting? How can I make the size so that it will look right on almost everyone's browser?

If I make it 1024x768 and someone has their browser at 800x600, the whole page is going to look wierd.
__________________
Bruce
Green Bay, Wisconsin
http://www.bruceleibowitz.net
Athlon 64 3000+
Asus K8V-MX Motherboard
1gb DDR2 RAM
Hard Drives: WD Caviar 40gb SATA; Seagate Barracuda 7200.9 160gb SATA; Seagate Barracuda 7200.10 IDE (external)
LG CD/CDRW/DVD
Labtec speakers
Samsung Monitor 753DF
Bob Henderson's Avatar
Junior Member with 16 posts.
 
Join Date: May 1999
28-Jan-2002, 02:37 AM #2
Well vanilla web pages just display images from bitmaps so you have to incorporate the shadow effect into the image bitmap somehow by eg using paintshop. Re the size - if you really want to get the right size of image you should check the browser settings with script at the start of the page then set the image size or load the appropriate image using the script to generate the HTML on the fly. I would tend to use javascript, always remembering that the browser may have scripting disabled. Below is a simple script you can add to the head of your page. Note that it may be word-wrapped by the TSG page. Also note that the scrollbars can effect the window size.
?=Tag starters removed so that script is displayed.
?script language=javascript>
?!-- //screen size detection script for ver 4 upwards browsers
var w, h
if(navigator.appVersion.substring(0,1) >=4)
{
w = window.screen.width;
h = window.screen.height;
if (w < 1000)
{
document.writeln ("Your PC is set to a screen size of " + w + " x " + h + ".");
//you could set your image size etc here.
}
else if (h < 700)
{
document.writeln ("Your PC is set to a screen size of " + w + " x " + h + ". ");
}
}
//-->
?/script>
?noscript>
Stuff happens here if scripting is switched of in browser
?/noscript>

-->

Last edited by Bob Henderson : 28-Jan-2002 02:53 AM.
Closed Thread

THIS THREAD HAS EXPIRED.
Are you having the same problem? We have volunteers ready to answer your question, but first you'll have to join for free. Need help getting started? Check out our Welcome Guide.


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
WELCOME TO TECH SUPPORT GUY! Are you looking for the solution to your computer problem? Join our site today to ask your question -- for free! Our site is run completely by volunteers who help people like you solve computer problems. See our Welcome Guide to get started.



Thread Tools


You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -4. The time now is 11:09 AM.
Copyright © 1996 - 2008 TechGuy, Inc. All rights reserved.
Powered by vBulletin, Copyright © 2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Powered by Cermak Technologies, Inc.