I am trying to align an image (logo) with text in two lines - the website title and a brief description.
Here is my attempt using HTML:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr-FR" lang="fr-FR">
<head>
<link type="text/css" rel="stylesheet" href="style.css" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
</head>
<body>
<div id="site">
<div id="header">
<a title="Return to home" href="#"><img width="40" height="40" title="my logo" alt="my logo" src="images/logo.png"/></a>
<div class="title">
<h1>My Website</h1>
<div>my subtitle with some g's and p's</div>
</div>
<div class="switchlanguage right">
<a href="#" title="english site"><strong>english</strong></a>
</div>
<div class="clear"></div>
</div>
<div id="content">
<p>homepage</p>
</div>
</div>
</body>
</html>
To style this, I'm using the following CSS:
/**********
* RESET *
**********/
(remaining CSS code here)
In IE7, I encountered an issue where 'p' and 'g' letters were cropped.
What is the best way to successfully align an image and text in two lines?