vertical-align
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html> <head> <title></title> <style type='text/css'> p { margin: 10px; font-size: 40px; } span { background: lightblue; } span.valign { font-size: 16px; color: white; background: steelblue; font-weight: bold; }
span#text-top { vertical-align: text-top; }
</style> </head> <body>
<p> <span> asdf <span class='valign' id='text-top'>asdf</span> asdf </span> </p>
</body> </html>
|
|
|
|
|
HTML code for linking to this page:
Related in same category :
-
-
-
-
-
-
-
-
|