Pegasus-css
07-09-2008, 10:43 PM
What I Want. (This was made in Photoshop before some wise *** says i already got what i want) :thumbsup:
http://img295.imageshack.us/img295/7019/example5zx3.th.png (http://img295.imageshack.us/my.php?image=example5zx3.png)
The problem has been partially fixed now, everything is aligning correctly except everything is to the left of the browser and all my attempts to center everything like above has been met with failure.
All i need to do now is get the Site below to match the Site i've displayed above in the Thumbnail. (Those black boxes are all suppose to be there). The Site Below is my template for the other pages i will be making, so everything thats on the site below i need to have centered in the browswer like above and remain in their positions.
I hope that makes sense.
http://www.uriako.co.uk
Above is the site on my website. Thats where im at at the moment the above site also matches both Code Snippets below.
Any help would be greatly appriecated.
WEBPAGE CODE
<!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>
<title>website1</title>
<link rel="stylesheet" type="text/css" href="sitename.css" />
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<style type="text/css">
body {
background-image: url(bg_gradient.png);
background-repeat: repeat-y;
background-position: center;
background-color:#000000;
}
#Table_01 {
position:absolute;
left:0px;
top:0px;
width:729px;
height:584px;
}
#index-01_ {
position:absolute;
left:0px;
top:0px;
width:729px;
height:69px;
}
#website1-02_ {
position:absolute;
left:0px;
top:69px;
width:729px;
height:20px;
background-color:#000000;
}
#index-03_ {
position:absolute;
left:0px;
top:89px;
width:317px;
height:253px;
}
#index-04_ {
position:absolute;
left:317px;
top:89px;
width:412px;
height:253px;
}
#index-05_ {
position:absolute;
left:0px;
top:342px;
width:729px;
height:187px;
}
#website1-06_ {
position:absolute;
left:0px;
top:529px;
width:729px;
height:15px;
background-color:#000000;
}
#index-07_ {
position:absolute;
left:0px;
top:544px;
width:729px;
height:40px;
}
</style>
</head>
<div id="Table_01">
<div id="index-01_">
<img id="index_01" src="images/index_01.png" width="729" height="69" alt="" />
</div>
<div id="website1-02_"></div>
<div id="index-03_">
<img id="index_03" src="images/index_03.png" width="317" height="253" alt="" />
</div>
<div id="index-04_">
<img id="index_04" src="images/index_04.png" width="412" height="253" alt="" />
</div>
<div id="index-05_">
<img id="index_05" src="images/index_05.png" width="729" height="187" alt="" />
</div>
<div id="website1-06_">
</div>
<div id="index-07_">
<img id="index_07" src="images/index_07.png" width="729" height="40" alt="" />
</div>
</div>
<div id="header-text01_"></div>
<div id="header-text02_"></div>
<div id="sub-header-text03_"></div>
<div id="text-area01_"></div>
</body>
</html>
Style Sheet Code
/* Global Styles */
body,td,th {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 10px;
color: #FFFFFF;
}
body {
background-image: url(bg_gradient.png);
background-repeat: repeat-y;
background-position: center;
background-color:#000000;
}
a {
font-size: 10px;
color: #6CB6FF;
}
a:visited {
color: #0066CC;
}
a:hover {
color: #00FFFF;
}
a:active {
color: #2492FF;
}
h1 {
font-size: 12px;
color: #990000;
}
h2 {
font-size: 14px;
color: #990000;
}
h3 {
font-size: 16px;
color: #990000;
}
h4 {
font-size: 18px;
color: #990000;
}
h5 {
font-size: 24px;
color: #990000;
}
h6 {
font-size: 36px;
color: #990000;
}
#text-area01_ {
position:absolute;
left:330px;
top:103px;
width:382px;
height:224px;
z-index:1;
background-color:#000000;
border:2px solid;
border-color:#990000;
}
#header-text01_ {
position:absolute;
left:366px;
top:34px;
width:328px;
height:33px;
z-index:1;
}
#header-text02_ {
position:absolute;
left:8px;
top:103px;
width:298px;
height:29px;
z-index:1;
background-color:#000000;
border:2px solid;
border-color:#990000;
}
#sub-header-text03_ {
position:absolute;
left:150px;
top:141px;
width:156px;
height:23px;
z-index:1;
background-color:#000000;
border:2px solid;
border-color:#990000;
}
http://img295.imageshack.us/img295/7019/example5zx3.th.png (http://img295.imageshack.us/my.php?image=example5zx3.png)
The problem has been partially fixed now, everything is aligning correctly except everything is to the left of the browser and all my attempts to center everything like above has been met with failure.
All i need to do now is get the Site below to match the Site i've displayed above in the Thumbnail. (Those black boxes are all suppose to be there). The Site Below is my template for the other pages i will be making, so everything thats on the site below i need to have centered in the browswer like above and remain in their positions.
I hope that makes sense.
http://www.uriako.co.uk
Above is the site on my website. Thats where im at at the moment the above site also matches both Code Snippets below.
Any help would be greatly appriecated.
WEBPAGE CODE
<!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>
<title>website1</title>
<link rel="stylesheet" type="text/css" href="sitename.css" />
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<style type="text/css">
body {
background-image: url(bg_gradient.png);
background-repeat: repeat-y;
background-position: center;
background-color:#000000;
}
#Table_01 {
position:absolute;
left:0px;
top:0px;
width:729px;
height:584px;
}
#index-01_ {
position:absolute;
left:0px;
top:0px;
width:729px;
height:69px;
}
#website1-02_ {
position:absolute;
left:0px;
top:69px;
width:729px;
height:20px;
background-color:#000000;
}
#index-03_ {
position:absolute;
left:0px;
top:89px;
width:317px;
height:253px;
}
#index-04_ {
position:absolute;
left:317px;
top:89px;
width:412px;
height:253px;
}
#index-05_ {
position:absolute;
left:0px;
top:342px;
width:729px;
height:187px;
}
#website1-06_ {
position:absolute;
left:0px;
top:529px;
width:729px;
height:15px;
background-color:#000000;
}
#index-07_ {
position:absolute;
left:0px;
top:544px;
width:729px;
height:40px;
}
</style>
</head>
<div id="Table_01">
<div id="index-01_">
<img id="index_01" src="images/index_01.png" width="729" height="69" alt="" />
</div>
<div id="website1-02_"></div>
<div id="index-03_">
<img id="index_03" src="images/index_03.png" width="317" height="253" alt="" />
</div>
<div id="index-04_">
<img id="index_04" src="images/index_04.png" width="412" height="253" alt="" />
</div>
<div id="index-05_">
<img id="index_05" src="images/index_05.png" width="729" height="187" alt="" />
</div>
<div id="website1-06_">
</div>
<div id="index-07_">
<img id="index_07" src="images/index_07.png" width="729" height="40" alt="" />
</div>
</div>
<div id="header-text01_"></div>
<div id="header-text02_"></div>
<div id="sub-header-text03_"></div>
<div id="text-area01_"></div>
</body>
</html>
Style Sheet Code
/* Global Styles */
body,td,th {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 10px;
color: #FFFFFF;
}
body {
background-image: url(bg_gradient.png);
background-repeat: repeat-y;
background-position: center;
background-color:#000000;
}
a {
font-size: 10px;
color: #6CB6FF;
}
a:visited {
color: #0066CC;
}
a:hover {
color: #00FFFF;
}
a:active {
color: #2492FF;
}
h1 {
font-size: 12px;
color: #990000;
}
h2 {
font-size: 14px;
color: #990000;
}
h3 {
font-size: 16px;
color: #990000;
}
h4 {
font-size: 18px;
color: #990000;
}
h5 {
font-size: 24px;
color: #990000;
}
h6 {
font-size: 36px;
color: #990000;
}
#text-area01_ {
position:absolute;
left:330px;
top:103px;
width:382px;
height:224px;
z-index:1;
background-color:#000000;
border:2px solid;
border-color:#990000;
}
#header-text01_ {
position:absolute;
left:366px;
top:34px;
width:328px;
height:33px;
z-index:1;
}
#header-text02_ {
position:absolute;
left:8px;
top:103px;
width:298px;
height:29px;
z-index:1;
background-color:#000000;
border:2px solid;
border-color:#990000;
}
#sub-header-text03_ {
position:absolute;
left:150px;
top:141px;
width:156px;
height:23px;
z-index:1;
background-color:#000000;
border:2px solid;
border-color:#990000;
}