| Posted by Ben C on 01/30/07 22:41 
On 2007-01-30, fuli open <fuliopen@yahoo.com> wrote:> Some of my pages look bad when opened with the Opera browser.  For
 > instance, the top margin of following page becomes too large:
 >
 > www.pinyinology.com
 
 Add
 
 embed { display: none; }
 
 to the styles-- it seems to be leaving a gap for the embed element at
 the top.
 
 What is embed anyway? It doesn't seem to be in HTML 4.01, and tidy tells
 me: "Warning: <embed> is not approved by W3C".
 
 The hidden attribute on embed is presumably what's supposed to translate
 into display:none, but Opera may reasonably be having trouble with that.
 
 It may be you should use object instead of embed.
 
 > In following page, all the subscripts are actually coded as
 > superscripts:
 >
 > http://www.pinyinology.com/music/yueliang.html
 
 That seems to be because you have set sup to vertical-align:text-top. If
 you leave it as its default of vertical-align:super it looks better in
 Opera.
 
 Not quite sure why Opera is putting the apparently text-top aligned tone
 numbers in the subscript position though.
 [Back to original message] |