My first problem, is that the actual layout won't center on DreamWeaver live view, or on Opera. I've tried changing it to
<body align="center" />
But that will only align my text to center.
And the second, I haven't done this in a LONG time, and have lost my ways with changing all the <img src="... in the .htm file to a .css file with a bunch of divs to be loaded into the file.
IF anyone is able to give me any sort of help, it would be appreciated. My files are below.
<!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">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Original</title>
<link rel="stylesheet" type="text/css" href="./index.css" media="all" />
<!--[if IE]>
<style type="text/css" media="all">.borderitem {border-style: solid;}</style>
<![endif]-->
</head>
<body align="center" />
<div id="main">
<div id="Div">
<img src="images/home.gif" id="index_r2_c3" alt="" />
<div id="Line">
</div>
<img src="images/about.gif" id="index_r2_c5" alt="" />
<div id="Line2">
</div>
<img src="images/events.gif" id="index_r2_c7" alt="" />
<div id="Line3">
</div>
<img src="images/staff.gif" id="index_r2_c9" alt="" />
<div id="Line4">
</div>
<img src="images/rates.gif" id="index_r2_c11" alt="" />
<div id="Line5">
</div>
<img src="images/contact.gif" id="index_r2_c13" alt="" />
<div class="clearFloat"></div>
</div>
<div class="clearFloat"></div>
<div id="Div2">
<div class="Txt_Notice">
<p class="lastNode">Notice:
</p>
</div>
<img src="images/index_r4_c3.gif" id="index_r4_c3" alt="" />
<div class="clearFloat"></div>
</div>
<div class="clearFloat"></div>
<img src="images/index_r6_c1.gif" id="index_r6_c1" alt="" />
<div id="colwrap1">
<img src="images/index_r6_c2.gif" id="index_r6_c2" alt="" />
<div background-color: #99999>
Mr Bond.
</div>
</div>
<img src="images/index_r6_c15.gif" id="index_r6_c15" alt="" />
<div class="clearFloat"></div>
<img src="images/index_r8_c1.gif" id="index_r8_c1" alt="" />
<div class="clearFloat"></div>
<div align="center" />Designed by Nathan Kreider</div>
</div>
</body>
</html>
@charset "utf-8";
body {
background-color: #fff;
font-size: 62.5%;
margin: 0;
padding: 0;
body-align: center;
}
body * {
font-size: 100%;
}
h1, h2, h3, h4, h5, h6 {
font-weight: normal;
}
p {
margin-bottom: 1.1em;
margin-top: 0;
}
#main p.lastNode {
margin-bottom: 0;
}
a:link img, a:visited img {
border: none;
}
div.clearFloat {
clear: both;
font-size: 0;
height: 0;
line-height: 0px;
}
li.clearFloat {
clear: both;
}
ul.symbolList {
display: inline;
float: left;
list-style-type: none;
margin: 0;
padding: 0;
}
.AbsWrap {
position: relative;
width: 100%;
}
.rowWrap {
width: 100%;
}
#main {
margin: 0 auto 0 0;
width: 700px;
}
#Div {
margin-left: 0px;
margin-top: 0px;
display: inline;
float: left;
margin-bottom: 0;
background-color: #999;
border: 1px solid #000;
width: 698px;
padding-top: 0px;
height: 62px;
}
html > body #Div {
height: auto;
min-height: 61px;
}
#index_r2_c3 {
margin-left: 56px;
margin-top: 15px;
display: inline;
float: left;
height: 30px;
margin-bottom: 0;
width: 67px;
}
#Line {
margin-left: 5px;
margin-top: 16px;
display: inline;
float: left;
margin-bottom: 0;
background-color: #fff;
border-left: 1px solid #000;
height: 28px;
width: 1px;
}
html > body #Line {
height: auto;
min-height: 28px;
}
#index_r2_c5 {
margin-left: 3px;
margin-top: 15px;
display: inline;
float: left;
height: 30px;
margin-bottom: 0;
width: 89px;
}
#Line2 {
margin-left: 4px;
margin-top: 17px;
display: inline;
float: left;
margin-bottom: 0;
background-color: #fff;
border-left: 1px solid #000;
height: 28px;
width: 1px;
}
html > body #Line2 {
height: auto;
min-height: 28px;
}
#index_r2_c7 {
margin-left: 5px;
margin-top: 15px;
display: inline;
float: left;
height: 30px;
margin-bottom: 0;
width: 89px;
}
#Line3 {
margin-left: 6px;
margin-top: 17px;
display: inline;
float: left;
margin-bottom: 0;
background-color: #fff;
border-left: 1px solid #000;
height: 28px;
width: 1px;
}
html > body #Line3 {
height: auto;
min-height: 28px;
}
#index_r2_c9 {
margin-left: 11px;
margin-top: 15px;
display: inline;
float: left;
height: 30px;
margin-bottom: 0;
width: 73px;
}
#Line4 {
margin-left: 15px;
margin-top: 16px;
display: inline;
float: left;
margin-bottom: 0;
background-color: #fff;
border-left: 1px solid #000;
height: 28px;
width: 1px;
}
html > body #Line4 {
height: auto;
min-height: 28px;
}
#index_r2_c11 {
margin-left: 6px;
margin-top: 15px;
display: inline;
float: left;
height: 30px;
margin-bottom: 0;
width: 89px;
}
#Line5 {
margin-left: 4px;
margin-top: 15px;
display: inline;
float: left;
margin-bottom: 0;
background-color: #fff;
border-left: 1px solid #000;
height: 28px;
width: 1px;
}
html > body #Line5 {
height: auto;
min-height: 28px;
}
#index_r2_c13 {
margin-left: 10px;
margin-top: 15px;
display: inline;
float: left;
height: 30px;
margin-bottom: 0;
width: 90px;
}
#Div2 {
margin-left: 0px;
margin-top: 10px;
display: inline;
float: left;
margin-bottom: 0;
background-color: #999;
border: 1px solid #000;
width: 698px;
padding-top: 0px;
height: 27px;
}
html > body #Div2 {
height: auto;
min-height: 26px;
}
.Txt_Notice {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 120%;
text-align: center;
color: #000;
line-height: 120%;
padding-bottom: 2px;
padding-top: 1px;
margin-left: 6px;
margin-top: 4px;
display: inline;
float: left;
margin-bottom: 0;
}
#index_r4_c3 {
margin-left: 0px;
margin-top: 4px;
display: inline;
float: left;
height: 19px;
margin-bottom: 0;
width: 571px;
}
#index_r6_c1 {
margin-left: 0px;
margin-top: 12px;
display: inline;
float: left;
height: 314px;
margin-bottom: 0;
width: 14px;
}
#colwrap1 {
float: left;
margin-left: 0px;
margin-top: 0px;
width: 672px;
}
#index_r6_c2 {
margin-left: 0px;
margin-top: 12px;
display: inline;
float: left;
height: 11px;
margin-bottom: 0;
width: 672px;
}
#index_r7_c2 {
margin-left: 0px;
margin-top: 0px;
display: inline;
float: left;
height: 303px;
margin-bottom: 0;
width: 672px;
}
#index_r6_c15 {
margin-left: 0px;
margin-top: 12px;
display: inline;
float: left;
height: 314px;
margin-bottom: 0;
width: 14px;
}
#index_r8_c1 {
margin-left: 0px;
margin-top: 0px;
display: inline;
float: left;
height: 13px;
margin-bottom: 0;
width: 700px;
}
And, the picture. (not allowed to upload as it's a .png, for some reason).
http://desmond.image...png&res=landing

New Topic/Question
Reply


MultiQuote






|