| Coding Forum Problems with your code? Let's hear about it. |
09-02-2004, 06:46 PM
|
#1 (permalink)
|
|
Inactive
Join Date: 02-11-04
Location: Corpus Christi, TX
Posts: 901
Latest Blog: None
|
Having a problem with mouseovers
I've never seen this problem before...
on the left navbar... my 139x32 image looks scrunched...
http://www.pipeline-webdesign.com/
if you bring up one of the images by itself, you can tell it's not supposed to look like that
http://www.pipeline-webdesign.com/navbar/link1reg.gif
my scripting is stored on the /js/site.js file and the attributes are set correctly...
any ideas? 
|
|
|
09-02-2004, 06:49 PM
|
#2 (permalink)
|
|
Contributing Member
Join Date: 10-13-03
Location: Work, USA
Posts: 5,382
Latest Blog: None
|
What's the table width?
|
|
|
09-02-2004, 06:53 PM
|
#3 (permalink)
|
|
Contributing Member
Join Date: 10-13-03
Location: Pffffft
Posts: 8,857
Latest Blog: None
|
It's actually stretched.
It's 152*33 if you look at it by itself. In the coding make sure the width in the height are correct
|
|
|
09-02-2004, 06:57 PM
|
#4 (permalink)
|
|
Inactive
Join Date: 02-11-04
Location: Corpus Christi, TX
Posts: 901
Latest Blog: None
|
the image demensions say it's 139x32
besides... it doesn't look like it's stretched... definetly not
|
|
|
09-02-2004, 06:58 PM
|
#5 (permalink)
|
|
Inactive
Join Date: 02-11-04
Location: Corpus Christi, TX
Posts: 901
Latest Blog: None
|
Quote:
|
Originally Posted by SN3
What's the table width?
|
table width is the same as the image... 139x32
|
|
|
09-02-2004, 07:00 PM
|
#6 (permalink)
|
|
Contributing Member
Join Date: 10-13-03
Location: Pffffft
Posts: 8,857
Latest Blog: None
|
Quote:
|
Originally Posted by Pipeline-Webdesign
the image demensions say it's 139x32
besides... it doesn't look like it's stretched... definetly not
|
You dont have that extra white space on the images, or ateleast not as much.
And it is stretched, look at the rounded edges, they look more pulled apart...
|
|
|
09-02-2004, 07:01 PM
|
#7 (permalink)
|
|
Inactive
Join Date: 02-11-04
Location: Corpus Christi, TX
Posts: 901
Latest Blog: None
|
i just noticed that... why when going from a PSD to a GIF using "Save for Web..." would it lose the edges? that doesn't make any sense and i've never seen it do that before
|
|
|
09-02-2004, 07:01 PM
|
#8 (permalink)
|
|
No Longer Here
Join Date: 09-27-03
Location: State College, PA
Posts: 9,354
Latest Blog: None
|
The actual image is 125x33. On your page you have them set to 139x32. Just change that in your code.
|
|
|
09-02-2004, 07:02 PM
|
#9 (permalink)
|
|
Contributing Member
Join Date: 10-13-03
Location: Pffffft
Posts: 8,857
Latest Blog: None
|
Dont know why. That never happens to me...
|
|
|
09-02-2004, 07:02 PM
|
#10 (permalink)
|
|
No Longer Here
Join Date: 09-27-03
Location: State College, PA
Posts: 9,354
Latest Blog: None
|
[code:1:7e0869da14]<img width="139" height="32" src="navbar/link1reg.gif" border="0" name="Image1" alt="Pipeline Web Design">[/code:1:7e0869da14]
Change it there.
|
|
|
09-02-2004, 07:09 PM
|
#11 (permalink)
|
|
Inactive
Join Date: 02-11-04
Location: Corpus Christi, TX
Posts: 901
Latest Blog: None
|
yea... i know where to change it... but i wrote the code to what PSD said the dimensions were... like i said... when i saved the file as GIF... it lost 14px... 7 on each side. I fixed the problem by adding a 7px <TD> on each side... but that's still friggin weird!!!
http://www.pipeline-webdesign.com
anyone have ANY idea why PSD would do that?
|
|
|
09-02-2004, 07:14 PM
|
#12 (permalink)
|
|
No Longer Here
Join Date: 09-27-03
Location: State College, PA
Posts: 9,354
Latest Blog: None
|
Why would you use photoshop to code your pages anyway? Create the images in photoshop and code the site yourself.
Or am I missing what you are saying?
|
|
|
09-02-2004, 07:25 PM
|
#13 (permalink)
|
|
Inactive
Join Date: 02-11-04
Location: Corpus Christi, TX
Posts: 901
Latest Blog: None
|
haha... how can you code in photoshop? the above image i attached shows that my rollover image is set at 139x32... but when i saved it as a .GIF... the imaged automatically changed to a 125x32... so when I coded it in Dreamweaver... of course i put 139x32...
|
|
|
09-02-2004, 07:49 PM
|
#14 (permalink)
|
|
Inactive
Join Date: 10-13-03
Location: wonderfull Copenhagen, DK
Posts: 1,256
Latest Blog: None
|
had a look at your work, a few things you might want to look at, see image, and at the bottom left there is a few pixel missing in the dark blue
|
|
|
09-02-2004, 08:00 PM
|
#15 (permalink)
|
|
No Longer Here
Join Date: 09-27-03
Location: State College, PA
Posts: 9,354
Latest Blog: None
|
Quote:
|
Originally Posted by Pipeline-Webdesign
haha... how can you code in photoshop?
|
Um, save for web as html.
|
|
|
09-02-2004, 08:06 PM
|
#16 (permalink)
|
|
Inactive
Join Date: 02-11-04
Location: Corpus Christi, TX
Posts: 901
Latest Blog: None
|
Quote:
|
Originally Posted by Ricoool
had a look at your work, a few things you might want to look at, see image, and at the bottom left there is a few pixel missing in the dark blue
|
i fixed it somewhat... the dark blue pixel... for some reason it doesn't show on PSD... but i fixed the other problem
|
|
|
09-03-2004, 03:03 PM
|
#17 (permalink)
|
|
Inactive
Join Date: 03-08-04
Posts: 2,644
Latest Blog: None
|
Hey nice logo 
|
|
|
09-03-2004, 03:15 PM
|
#18 (permalink)
|
|
Inactive
Join Date: 03-08-04
Posts: 2,644
Latest Blog: None
|
The size you made it I presume if you had transparency turned on removes the left, right, top and bottom edges. So what you're seeing isn't the actual size. This becomes apparent after saving for web. To get the actual size goto: image>trim
|
|
|
09-03-2004, 03:18 PM
|
#19 (permalink)
|
|
Inactive
Join Date: 02-11-04
Location: Corpus Christi, TX
Posts: 901
Latest Blog: None
|
yea it is a nice logo... good job!! ;-) and thanks for the pointers... that was really making me mad!
|
|
|
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
|
|
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|