Welcome to WebmasterWorld Guest from 54.145.174.178

Forum Moderators: not2easy

Message Too Old, No Replies

Text-bottom in Opera

   
6:17 pm on Mar 31, 2012 (gmt 0)

5+ Year Member Top Contributors Of The Month



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!
9:09 pm on Mar 31, 2012 (gmt 0)

WebmasterWorld Senior Member lucy24 is a WebmasterWorld Top Contributor of All Time Top Contributors Of The Month



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?
 

Featured Threads

Hot Threads This Week

Hot Threads This Month