DTP


 
Lively discussions on the graphic arts and publishing — in print or on the web


Go Back   Desktop Publishing Forum > General Discussions > Web Site Building & Maintenance

Reply
 
Thread Tools Display Modes
Old 03-20-2006, 06:53 AM   #1
dthomsen8
Member
 
dthomsen8's Avatar
 
Join Date: Aug 2005
Location: Philadelphia, PA 19130
Posts: 2,158
Default Image problem, alt, not image

http://www.19121.com/bad71.htm displays the alt tags, and not the images I would expect. Why?

The images show up just fine in Dreamweaver MX 2004 design view, and with four different browsers from Dreamweaver. I have reduced the source to the bare essentials, hoping that someone can see the problem.

This is the first time that what I see on the published version is very different from what I see in DW browser results.

Last edited by dthomsen8; 03-20-2006 at 06:54 AM. Reason: fix typo.
dthomsen8 is offline   Reply With Quote
Old 03-20-2006, 08:54 AM   #2
Daudio
Member
 
Daudio's Avatar
 
Join Date: Aug 2005
Location: Royal Oak, Detroit suburb
Posts: 174
Default

The path in your img tag is wrong...

Quote:
src="/www/images/spacer.gif"
Remove the "/www/" and they will work.

Remember that the 'src' path is relative to the page they are in, so you would have to add any subfolder names, use "../ to back up the heirarcy, or use a fully qualifed path (ie: http://domain.tld/folder/file.name)

   
__________________
Dave

DaveAyers.com, Brass Backshop Forum
Daudio is offline   Reply With Quote
Old 03-20-2006, 08:56 AM   #3
Bo Aakerstrom
Member
 
Bo Aakerstrom's Avatar
 
Join Date: Mar 2005
Location: Derby,UK
Posts: 1,413
Default

I'm not entierly sure, but suspect it has got to do with the filepath to the location of your images. That's where I would start looking anyway.

I also noticed that the dimensions of your images are 60x10 and 60x600 respectively - should that not be px?

Lastly, why use a spacer when you can set the margin of the logo to 60px? Unless what you do is part of your assignment!

Last edited by Bo Aakerstrom; 03-20-2006 at 08:57 AM. Reason: typo
Bo Aakerstrom is offline   Reply With Quote
Old 03-21-2006, 06:35 AM   #4
dthomsen8
Member
 
dthomsen8's Avatar
 
Join Date: Aug 2005
Location: Philadelphia, PA 19130
Posts: 2,158
Default Dreamweaver misled me

Quote:
Originally Posted by Daudio
The path in your img tag is wrong...

Remove the "/www/" and they will work.

Exactly right, and making the connection by Dreamweaver WYSIWIG misled me because the images show up just fine in DW design view, and not when published. Another little pitfall to avoid, and another reason to look at code rather than just the graphical results.
dthomsen8 is offline   Reply With Quote
Old 03-21-2006, 07:44 AM   #5
donmcc
Member
 
Join Date: Feb 2005
Location: Sarnia, Canada
Posts: 1,122
Default

Quote:
Originally Posted by Bo Aakerstrom
I also noticed that the dimensions of your images are 60x10 and 60x600 respectively - should that not be px?
Nope. Not in HTML or XHTML. Pixels are assumed. If you are in CSS then you should specify the px.

Don McCahill
donmcc is offline   Reply With Quote
Old 03-21-2006, 08:07 AM   #6
Bo Aakerstrom
Member
 
Bo Aakerstrom's Avatar
 
Join Date: Mar 2005
Location: Derby,UK
Posts: 1,413
Default

Quote:
Originally Posted by donmcc
Nope. Not in HTML or XHTML. Pixels are assumed. If you are in CSS then you should specify the px.

Don McCahill
I've been using CSS since I started out, so I'm used to always specify px.

Would it not be a good idea to always specify what you want anyway?
Bo Aakerstrom is offline   Reply With Quote
Old 03-21-2006, 09:01 AM   #7
iamback
Member
 
iamback's Avatar
 
Join Date: Oct 2005
Location: Amsterdam, NL
Posts: 4,894
Default

Quote:
Originally Posted by Bo Aakerstrom
Would it not be a good idea to always specify what you want anyway?
Yes - but in HTML all you have is either pixels (no unit specified) or percentages (% specified). An anyway, it's a good idea it specify the size of an image in HTML - even if you are using CSS: for accessibility a page should work without CSS applied, and it will render better and without "jumping around" when image size is specified so the browser can immediately reserve the space before fetching the image and waiting for it to arrive.

   
__________________
Marjolein Katsma
Look through my eyes on Cultural Surfaces (soon!), My ArtFlakes shop and Flickr.
Occasionally I am also connecting online dots... and sometimes you can follow me on Marjolein's Travel Blog
iamback is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Image fun Kelvyn The Corner Pub 2 03-01-2007 11:19 AM
PHP, link, image -- help! ktinkel Web Site Building & Maintenance 2 07-29-2006 02:32 PM
Inserting an Image dthomsen8 How to Use the Forum 5 09-19-2005 02:57 PM
Need help with this image annc Images 14 06-10-2005 12:10 PM
Image in Thread Clayton How to Use the Forum 13 04-15-2005 09:54 AM


All times are GMT -8. The time now is 10:31 AM.


Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2020, vBulletin Solutions, Inc.
Contents copyright 2004–2019 Desktop Publishing Forum and its members.