logo-dw

Go Back   Dreamweaver Club Forums > Dreamweaver forums > Dreamweaver General
Register FAQ Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Display Modes
Old 04-30-2006, 06:00 PM   #1
dthomasmaddox
 
Join Date: Apr 2006
Location: San Jose, CA
Posts: 10
Default Image size and cell size mismatch

Hi,

Even though I have set the size of both a table cell and an image in the same pixel number, the table cell ends up wider than the image. What do you think I'm doing wrong?

Thanks,

Tom
dthomasmaddox is offline   Reply With Quote
Old 04-30-2006, 09:09 PM   #2
dthomsen8
dthomsen8's Avatar
 
Join Date: Jan 2006
Location: Philadelphia, PA 19130
Posts: 385
Default Re: Image size and cell size mismatch

Quote:
Originally Posted by dthomasmaddox
Hi,

Even though I have set the size of both a table cell and an image in the same pixel number, the table cell ends up wider than the image. What do you think I'm doing wrong?

Thanks,

Tom
Can you provide the HTML code, or a URL, for us to see?

Why do you set the size of the table cell at all, when the image will otherwise determine the space required?
dthomsen8 is offline   Reply With Quote
Old 04-30-2006, 09:22 PM   #3
dthomasmaddox
 
Join Date: Apr 2006
Location: San Jose, CA
Posts: 10
Default Re: Image size and cell size mismatch

Quote:
Originally Posted by dthomsen8
Quote:
Originally Posted by dthomasmaddox
Hi,

Even though I have set the size of both a table cell and an image in the same pixel number, the table cell ends up wider than the image. What do you think I'm doing wrong?

Thanks,

Tom
Can you provide the HTML code, or a URL, for us to see?

Why do you set the size of the table cell at all, when the image will otherwise determine the space required?
I picked this one up from someone who started the site and put the sizes in to constrain the table for smaller screens. If there's something else I should be doing--I'm sure there is--please let me know.

The URL is http://www.theoasisschool.com

Thanks.

Tom
dthomasmaddox is offline   Reply With Quote
Old 05-01-2006, 07:14 AM   #4
chriskq
chriskq's Avatar
 
Join Date: Oct 2005
Location: Sydney - DownUnder
Posts: 798
Default

if u do plan to use tables u will need this in the tag
Code:
<table width="800" cellspacing="0" cellpadding="0" border="0" bgcolor="#ffffff" align="center">
does that help?
also make sure ur not getting the browser to re-size ur images.
eg: u have ur banner in ur image folder that is really 1200px wide by 250px high. But in dreamweaver u put it in as:
Code:
<td width="800">[img]images/banner.gif[/img]</td>
u are getting the browser to shrink the image which can coz problems, plus it means u are loading a greater file size image that is needed - which will slow ur page down
chriskq is offline   Reply With Quote
Old 05-01-2006, 04:56 PM   #5
dthomasmaddox
 
Join Date: Apr 2006
Location: San Jose, CA
Posts: 10
Default

Quote:
Originally Posted by chriskq
if u do plan to use tables u will need this in the tag
Code:
<table width="800" cellspacing="0" cellpadding="0" border="0" bgcolor="#ffffff" align="center">
does that help?
also make sure ur not getting the browser to re-size ur images.
eg: u have ur banner in ur image folder that is really 1200px wide by 250px high. But in dreamweaver u put it in as:
Code:
<td width="800">[img]images/banner.gif[/img]</td>
u are getting the browser to shrink the image which can coz problems, plus it means u are loading a greater file size image that is needed - which will slow ur page down
Thanks for the table code. I'll try it. For future reference, why is it necessary?

But insofar as image size goes, I'm setting it in Photoshop Elements, then putting the same setting into the table cell. Which in my simplistic universe means they ought to fit together precisely.

Puzzled,

Tom
dthomasmaddox 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


All times are GMT. The time now is 02:36 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Copyright 2006 DreamweaverClub.com