reddragon8
07-26-2006, 08:05 PM
i've been trying to do this layout this entire day.. :( and its still not really working.
here's my css:
body {
background-color : #F2F2F2;
font-family : verdana;
color : #666666;
margin : 0;
width:98%;
text-align : center;
font-size : 11px;
}
img {
border : 0;
}
.clearBoth {
clear : both;
}
.titel {
text-transform : uppercase;
padding-left : 5px;
padding-right : 5px;
line-height : 10px;
}
#menus {
vertical-align : bottom;
float : left;
padding-left : 120px;
margin-top : 80px;
}
#box {
background-image : url(http://thelittleoriental.com/testing/Image4_2x1.png);
background-color : #ffffff;
color : #666666;
width : 727px;
padding-bottom : 8px;
margin: 0px auto;
}
#main {
float : left;
width : 380px;
padding : 40px;
}
* html #main {
float : left;
width : 380px;
margin-left : 40px;
}
.storyTitle {
margin : 8px 0 10px;
border-bottom : 1px solid #C3C3C3;
padding : 2px;
font-size : 14px;
text-align : right;
font-weight : 700;
font-family : 'Trebuchet MS', Arial, Helvetica, sans-serif;
}
.storyContent, #menu, .nono, .storyContentblog {
font-size : 11px;
line-height : 15px;
font-family : 'Trebuchet MS', Tahoma, Arial, Helvetica, sans-serif;
}
.storyContent a:hover, .storyContent a:active, .storyContent2 a:hover, .storyContent2 a:active, .storyContentblog a:hover, .storyContentblog a:active {
font-weight : 380;
color : #999999;
line-height : 15px;
background-color : #fefefe;
border-bottom : 1px solid #ff98cc;
}
.storyContent img {
display : block;
padding : 4px;
margin-right : 5px;
background-color : #ffffff;
border-bottom : 2px solid #e7dbc8;
border-right : 2px solid #e7dbc8;
}
#right {
float : left;
margin-left : 85px;
width : 135px;
min-height : 400px;
}
* html #right {
width : 199px;
}
#text {
width : 470px;
padding : 6px;
border : 1px solid #c3c3c3;
}
.bleh {
background-image : url(b_g.PNG);
background-color : #FFFFFF;
text-align : justify;
padding : 10px 8px 6px;
font-size : 11px;
font-family : Tahoma, Arial, Helvetica, sans-serif;
color : #999999;
line-height : 14px;
}
h1 {
background-color : #d8d8d8;
font-family : century gothic;
font-weight : 800;
font-size : 18px;
font-decoration : bold;
color : #ffffff;
margin : 0;
padding : 0 0 0 8px;
border-top : 1px solid #808080;
border-bottom : 1px solid #808080;
text-align : left;
letter-spacing : 0;
}
#header {
background-color : #ffffff;
height : 150px;
width : 727px;
}
#footer {
background-image : url(http://thelittleoriental.com/testing/Image4_3x1.png);
background-repeat: no-repeat;
width : 727px;
height : 60px;
clear : both;
}
textarea {
background-color : #f0e7da;
font-family : Arial, Helvetica, sans-serif;
color : #999999;
padding : 4px;
margin : 4px 0 4px 4px;
font-size : 11px;
line-height : 11px;
border : 1px solid #d5c2a5;
}
li {
margin : 2px;
}
a:link, a:visited {
font-weight : 500;
color : #aa8a6a;
text-decoration : underline;
}
a:active, a:hover {
font-weight : 500;
color : #999999;
}
.image {
display : block;
background-color : #ffffff;
padding : 3px;
border-top : 1px solid #ff98cc;
}
ul.outside {
list-style-type : circle;
}
http://www.thelittleoriental.com/test.html
Its how i want it in mozilla firefox, but its messed up in IE. Also, i put non repeat on the background at the bottom, but it still repeats part of it, so i don't know what else to do. please please help me someone. thank you for your time!
here's my css:
body {
background-color : #F2F2F2;
font-family : verdana;
color : #666666;
margin : 0;
width:98%;
text-align : center;
font-size : 11px;
}
img {
border : 0;
}
.clearBoth {
clear : both;
}
.titel {
text-transform : uppercase;
padding-left : 5px;
padding-right : 5px;
line-height : 10px;
}
#menus {
vertical-align : bottom;
float : left;
padding-left : 120px;
margin-top : 80px;
}
#box {
background-image : url(http://thelittleoriental.com/testing/Image4_2x1.png);
background-color : #ffffff;
color : #666666;
width : 727px;
padding-bottom : 8px;
margin: 0px auto;
}
#main {
float : left;
width : 380px;
padding : 40px;
}
* html #main {
float : left;
width : 380px;
margin-left : 40px;
}
.storyTitle {
margin : 8px 0 10px;
border-bottom : 1px solid #C3C3C3;
padding : 2px;
font-size : 14px;
text-align : right;
font-weight : 700;
font-family : 'Trebuchet MS', Arial, Helvetica, sans-serif;
}
.storyContent, #menu, .nono, .storyContentblog {
font-size : 11px;
line-height : 15px;
font-family : 'Trebuchet MS', Tahoma, Arial, Helvetica, sans-serif;
}
.storyContent a:hover, .storyContent a:active, .storyContent2 a:hover, .storyContent2 a:active, .storyContentblog a:hover, .storyContentblog a:active {
font-weight : 380;
color : #999999;
line-height : 15px;
background-color : #fefefe;
border-bottom : 1px solid #ff98cc;
}
.storyContent img {
display : block;
padding : 4px;
margin-right : 5px;
background-color : #ffffff;
border-bottom : 2px solid #e7dbc8;
border-right : 2px solid #e7dbc8;
}
#right {
float : left;
margin-left : 85px;
width : 135px;
min-height : 400px;
}
* html #right {
width : 199px;
}
#text {
width : 470px;
padding : 6px;
border : 1px solid #c3c3c3;
}
.bleh {
background-image : url(b_g.PNG);
background-color : #FFFFFF;
text-align : justify;
padding : 10px 8px 6px;
font-size : 11px;
font-family : Tahoma, Arial, Helvetica, sans-serif;
color : #999999;
line-height : 14px;
}
h1 {
background-color : #d8d8d8;
font-family : century gothic;
font-weight : 800;
font-size : 18px;
font-decoration : bold;
color : #ffffff;
margin : 0;
padding : 0 0 0 8px;
border-top : 1px solid #808080;
border-bottom : 1px solid #808080;
text-align : left;
letter-spacing : 0;
}
#header {
background-color : #ffffff;
height : 150px;
width : 727px;
}
#footer {
background-image : url(http://thelittleoriental.com/testing/Image4_3x1.png);
background-repeat: no-repeat;
width : 727px;
height : 60px;
clear : both;
}
textarea {
background-color : #f0e7da;
font-family : Arial, Helvetica, sans-serif;
color : #999999;
padding : 4px;
margin : 4px 0 4px 4px;
font-size : 11px;
line-height : 11px;
border : 1px solid #d5c2a5;
}
li {
margin : 2px;
}
a:link, a:visited {
font-weight : 500;
color : #aa8a6a;
text-decoration : underline;
}
a:active, a:hover {
font-weight : 500;
color : #999999;
}
.image {
display : block;
background-color : #ffffff;
padding : 3px;
border-top : 1px solid #ff98cc;
}
ul.outside {
list-style-type : circle;
}
http://www.thelittleoriental.com/test.html
Its how i want it in mozilla firefox, but its messed up in IE. Also, i put non repeat on the background at the bottom, but it still repeats part of it, so i don't know what else to do. please please help me someone. thank you for your time!