Welcome to WebmasterWorld Guest from

Forum Moderators: not2easy

Message Too Old, No Replies

Text-bottom in Opera

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

Junior Member

5+ Year Member Top Contributors Of The Month

joined:Mar 1, 2010
posts: 196
votes: 0


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">
<style type="text/css">
p {font:10pt Arial; background:green; height:16px;}
img {width:16px; height:16px; vertical-align:text-bottom;}
<p>An <img src="https://ssl.gstatic.com/images/icons/gplus-16.png" alt=""> image with a text-bottom alignment.</p>

Is it a bug or am I missing something?
9:09 pm on Mar 31, 2012 (gmt 0)

Senior Member from US 

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

joined:Apr 9, 2011
votes: 491

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?