Jump to content

img width dont work in opera


web_master

Recommended Posts

Hi,

 

what can I do if img "width" and/or "height" dont work in Opera browser.

 

example: <img src="image/picture.jpg" width="100" />

 

 

Ill try css (height, max-heigh) — nothing :(

 

(for now I dont have a solution to make a thumb picture...)

 

Please help!

 

thnxs

Link to comment
Share on other sites

th only code is:

 

 

<img src=\"".$cs_tagok_foto."\" alt=\"\" height=\"100\" />

 

in IE, FF I get picture height of 100px and proportionally width, only in Opera the picture have a good dimension

 

Here is in Opera

 

width=800http://www.csantaver.eu/temp/opera.jpg[/img]

 

 

and the same in Firefox, IE

 

width=800http://www.csantaver.eu/temp/firefox.jpg[/img]

Link to comment
Share on other sites

The picture is (in PHP):

 

<img src=\"".$cs_tagok_foto."\" alt=\"\" height=\"100\" />

 

The table (TD) where is picture is:

 

<td colspan="2" class="USER_TABLE_PHOTO_TD"><?php print $cs_tagok_foto_html;?></td>

 

the CSS of td is:

 

.USER_TABLE_PHOTO_TD {
height: 128px;
background-image: url(../images/user_slices/user_photo.jpg);
background-repeat: no-repeat;
text-align: center;
vertical-align: middle;
}[/cCODE]


SO, I cant understand where is a problem 

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.