Reply to Re: graphic alignment

Your name:

Reply:


Posted by Beauregard T. Shagnasty on 02/07/07 21:22

Beauregard T. Shagnasty replied to hisself:

> Try the following,

I found a couple of similar-sized .jpg images on my computer, and have
made some changes. Use this instead:


<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>family</title>
<style type="text/css">
body {
background: #fff;
margin: 0;
padding: 0;
}
#banner {
margin: 0
padding: 0;
height: 120px;
width: auto;
}

..bannerleft {
float: left;
margin: 1em 0 0 3em; /* adjust margins to suit */
}
..bannerright {
float: right;
margin: 1em 3em 0 0;
}
..hrule {
top: 112px;
left: 0;
}
hr {
border: thick solid blue;
}
#content {
margin: 2em;
/* style to taste */
}
</style>

</head>
<body>
<div id="banner">
<span class="bannerleft"><img src="logo.jpg" alt="[Logo]" title=""
width="250" height="110" /></span>
<span class="bannerright"><img src="greeting.jpg" alt="Greetings!"
title="" width="300" height="110" /></span>
</div>

<hr>

<div id="content">
<p>Page content here</p>
</div>

</body>
</html>

--
-bts
-Motorcycles defy gravity; cars just suck

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация