ggivati
asked on
incorrct image size using CSS height= and width=auto
I am building a website using CSS to define a common height to images and letting the browser decide on the width automatically.
The reason is that I have alot of pictures and I do not want to set each one in frontpage.
If you enter the any of the porducts for the first time, the height is correct but the width is not.
Press the link on the left to the same pageg - and it all sorts out ok.
Any ideas what I should do ?
The reason is that I have alot of pictures and I do not want to set each one in frontpage.
If you enter the any of the porducts for the first time, the height is correct but the width is not.
Press the link on the left to the same pageg - and it all sorts out ok.
Any ideas what I should do ?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
In the tags. :)
ASKER
The link is "testing.givati.eu".
I am using ie 6.
I am using ie 6.
thanks GreenGhost, didn't see that.
ggivati,
you have not yet implemented the doctype suggestion.
ggivati,
you have not yet implemented the doctype suggestion.
Forced accept.
Computer101
Community Support Moderator
Computer101
Community Support Moderator
ASKER
It seems the problem is in IE 6. I have written a javascript code to fix width and length of the pictures.
curious where you found a link to the page?