Menu
I am having issues getting some paragraphs with image backgrounds to line up next to each other. When I use display:inline they disappear. when I try to use display:inline-block they line up in the display but when I preview them in the browser they are stacked on top of each other. When I use float they are side by side in both design and when I preview, but they are separated by one pixel even though all the margins say 0.
<!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" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled 1</title>
<style type="text/css">
.style1 {
text-align: center;
margin-left: 54px;
margin-bottom: 1px;
}
.style5 {
text-align: center;
margin-left: 54px;
font-family: Arial;
font-size: small;
margin-bottom: 1px;
margin-top: 0px;
}
.style6 {
text-align: center;
margin-left: 0px;
font-family: Arial;
font-size: small;
margin-bottom: 1px;
margin-top: 0px;
margin-right: 0px;
}
.style7 {
margin: 0px;
text-align: center;
font-family: Arial;
font-size: small;
}
.style8 {
margin-bottom: 0px;
}
</style>
</head>
<body style="background-image: url('Background.jpg')">
<center><div style="width: 761px; height: 1010px">
<img alt="" src="Logo.jpg" width="253" height="316" class="style8" /><img alt="" src="Picture01.gif" width="508" height="316"/>
<p class="style7" style="width: 199px; height: 694px; background-image: url('navhome.jpg');float:left"></p>
<p class="style6" style="width: 561px; height: 694px; background-image: url('maintextbackground.jpg');float:left"></p>
</div></center>
<center><p class="style1" style="width: 721px; height: 36px"><font color="666666" face="Arial" size="2">Contact us:
<a href="mailto:[email protected]">[email protected]</a> • 509-335-5539 •
<a href="http://www.arch.wsu.edu">School of Architecture
and Construction Management</a><br />
PO Box 642220 • <a href="http://www.wsu.edu">Washington
State University</a> • Pullman • WA • 99164-1042 • USA</font></p>
<p class="style5" style="width: 721px; height: 36px">If there are any technical
issues, please contact the webmaster at <a href="mailto:[email protected]">
[email protected]</a></p></center>
</body>
</html>
[CODE]xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office"[/CODE]
garbage? - it does not belong there.<!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" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>WSU ASCM Homepage</title>
<style type="text/css">
.style1 {
text-align: center;
margin-left: 0px;
margin-bottom: 1px;
margin-top: 0px;
}
.style6 {
text-align: center;
margin-left: 0px;
font-family: Arial;
font-size: small;
margin-bottom: 1px;
margin-top: 0px;
margin-right: 0px;
}
.style7 {
margin: 0px;
text-align: center;
font-family: Arial;
font-size: small;
}
.style8 {
margin-bottom: 0px;
}
.style9 {
border-width: 0;
}
.style10 {
margin-top: 30px;
text-align: left;
font-family:"Arial Black"
}
.style11 {
font-family: "Arial Black";
color: #C8021D;
margin-top: 27px;
font-size:medium;
margin-bottom: 9px;
}
.style12 {
color: #C8021D;
}
.style13 {
color: #C8021D;
text-decoration: underline;
}
</style>
</head>
<body style="background-image: url('Background.jpg')">
<center><div style="width: 761px; height: 1010px">
<div style="width: 761px; height: 316px; vertical-align:bottom">
<img alt="" src="Logo.jpg" width="253" height="316" class="style8" /><img alt="" src="Picture01.gif" width="508" height="316"/>
</div>
<div class="style7" style="width: 199px; height: 694px; float:left; border:none">
<img src="Navhome.jpg" width="199" height="694" usemap="#index_01_Map" class="style9"/>
<map name="index_01_Map">
<area shape="rect" coords="51, 73, 166, 109"; href="02%20news%20and%20events.htm">
<area shape="rect" coords="52, 129, 166, 164"; href="03%20overview.htm">
<area shape="rect" coords="53, 182, 167, 217"; href="04%20officers%20an%20members">
<area shape="rect" coords="54, 235, 168, 270"; href="05%20how%20to%20join.htm">
<area shape="rect" coords="48, 293, 175, 324"; href="06%20scholarships.htm">
<area shape="rect" coords="49, 343, 165, 381"; href="07%20industry%20sponsors.htm">
<area shape="rect" coords="51, 398, 169, 434"; href="08%20merchandise.htm">
</map>
</div>
<div class="style6" style="width: 561px; height: 694px; background-image: url('maintextbackground.jpg');float:left">
<p class="style11">WELCOME TO THE 2008 - 2009 SCHOOL YEAR!</p>
<p style="width: 555px; height: 272px; background-image:url('Textbackground.jpg')" class="style10">
&nbsp;&nbsp;&nbsp; <br />
&nbsp;&nbsp;&nbsp;&nbsp; <span class="style13">AUG 25, 2008</span><br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp; Welcome to the new school year and the launch of our
new site.<br />
&nbsp;&nbsp; &nbsp; Please be patient while we work out any bugs in the system.&nbsp; &nbsp;We
<br />
&nbsp;&nbsp;&nbsp;&nbsp; are
excited about this new year and all of the opportunities that will <br />
&nbsp;&nbsp;&nbsp;&nbsp; be presented to ASCM
members.<br />
<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp; <span class="style12">Reminders:</span><br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp; <strong>Dues:</strong><br />
&nbsp;&nbsp;&nbsp;&nbsp; ASCM general membership is $35 and MCA membership is an
<br />
&nbsp;&nbsp;&nbsp;&nbsp; additional $5, checks made payable to WSU ASCM and WSU
MCA.</p>
</div>
</div>
<p class="style1" style="width: 648px; height: 56px">Contact us:
<a href="mailto:[email protected]">[email protected]</a> • 509-335-5539 •
<a href="http://www.arch.wsu.edu">School of Architecture
and Construction Management</a><br />
PO Box 642220 • <a href="http://www.wsu.edu">Washington
State University</a> • Pullman • WA • 99164-1042 • USA<br />
</font>If there are any technical
issues, please contact the webmaster at <a href="mailto:[email protected]">
[email protected]</a></p>
</center>
</body>
</html>
0.1.9 — BETA 6.18