| Text-bottom in Opera
|
Rain_Lover

msg:4435640 | 6:17 pm on Mar 31, 2012 (gmt 0) | Hi, The following doesn't work in Opera:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <title></title> <style type="text/css"> p {font:10pt Arial; background:green; height:16px;} img {width:16px; height:16px; vertical-align:text-bottom;} </style> </head> <body> <p>An <img src="https://ssl.gstatic.com/images/icons/gplus-16.png" alt=""> image with a text-bottom alignment.</p> </body> </html> Is it a bug or am I missing something? Thanks!
|
lucy24

msg:4435691 | 9:09 pm on Mar 31, 2012 (gmt 0) | Boilerplate answer ;) Exactly what does Opera do that is different from other browsers? What (in English) do you want to see? Matter of fact, I don't think you can use "vertical-align" the way you're using it. I think it has to be something inside a div or a td. So the other browsers are just making something up. Can we assume for the sake of discussion that the "background:green" is just there to make things show up better in testing?
|
|
|