Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

CSS Forum


You are currently viewing our CSS Forum as a guest. Please register to participate.
Login



Reply
Why are my images STRETCHING?
Old 11-28-2007, 11:34 PM Why are my images STRETCHING?
Novice Talker

Posts: 8
Name: Robo
Trades: 0
I'm having a problem with my site with people who view using internet explorer. It doesn't happen all the time, but i'd say 50% it does and i can't find anything about it. On firefox it almost always loads perfect.

ok so sometimes images on my site load very stretched (mostly vertically). usually if i navigate to another page and then come back they will load correctly. What is wrong? Is there something wrong with my code? I figured it was a CSS issue but I'm not sure (sorry if this is in the wrong forum). I am not a web developer so I pretty much winged this site and I'm happy with everything except for this tiny issue.

The site is www.reserveaspotinheaven.com If the images load fine try it in IE and chances are they wont. Any help is appreciated, thanks.
rasin77 is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 11-29-2007, 12:17 AM Re: Why are my images STRETCHING?
Nathand's Avatar
Extreme Talker

Posts: 233
Location: USA
Trades: 0
Is that website supposed to be a joke?
Nathand is offline
Reply With Quote
View Public Profile
 
Old 11-29-2007, 12:32 AM Re: Why are my images STRETCHING?
Novice Talker

Posts: 8
Name: Robo
Trades: 0
I'm only looking for comments about my problem I'm trying to learn this webdev better and I can't figure this out.

Last edited by rasin77; 11-29-2007 at 12:33 AM..
rasin77 is offline
Reply With Quote
View Public Profile
 
Old 11-29-2007, 04:57 AM Re: Why are my images STRETCHING?
Novice Talker

Posts: 8
Name: Robo
Trades: 0
Nobody has a clue? I went through the w3.org validation tool and corrected most of the errors but there are still a few. The CSS file got checked and didn't come up with any errors, what should i do???
rasin77 is offline
Reply With Quote
View Public Profile
 
Old 11-29-2007, 02:45 PM Re: Why are my images STRETCHING?
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
I don't see how you passed validation, you're missing the opening <body> tag !
The problem is you have not PROPERLY defined a width and height for your images in the HTML on the <img> tag. Consequently, you're forcing the browser to GUESS and, well, IE just gets it WRONG. You NEED the dimensions, leaving them off is just sloppy coding.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Old 11-29-2007, 02:48 PM Re: Why are my images STRETCHING?
Novice Talker

Posts: 8
Name: Robo
Trades: 0
Thanks for the suggestions. I realized i was missing the opening body tag, I didn't even notice it wasn't there. Again, I AM NOT a webdesigner so i am learning all this as I go. I figured it would load the images as they were so I will make sure to put in dimensions and the missing tags and see where that leads me. I'll let you know if that works.
rasin77 is offline
Reply With Quote
View Public Profile
 
Old 11-29-2007, 08:48 PM Re: Why are my images STRETCHING?
Novice Talker

Posts: 8
Name: Robo
Trades: 0
Ok well I think I figured it out. I appreciate the help about my image tags but I have to inform you that it was wrong. When i looked at the code, it seemed the ONLY images that were stretching funny were the ones with the size attributes, so I added them to all my images like you said, but no change. I then just went ahead and deleted all height and width specifications and WALLAH, no more stretched images. Your suggestions did lead me to solve the problem though, not sure why this happened but it's good to know if someone else has the same problem then this could be why.

www.reserveaspotinheaven.com
rasin77 is offline
Reply With Quote
View Public Profile
 
Old 11-30-2007, 04:32 PM Re: Why are my images STRETCHING?
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
It is very sloppy coding to leave the dimensions off an image in your HTML. Sounds to me like you had the dimensions wrong. W/o the dimensions you're making the browser work harder and probably slowing down your load time too.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Why are my images STRETCHING?
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 1.21833 seconds with 12 queries