PDA

View Full Version : What's wrong here?


KingCreole
08-06-2007, 02:10 PM
CSS really taxes me. My head isn't made for coding, I'm sorry to say. But pegging along. The page in progress is shaping up, but I know that the CSS rules are a mess. If somebody would like to take a look at the code and make suggestions on how to clean things up and make them tidy, I'd greatly appreciate it.

Here's the page: http://mattelmore.org/test_newsite.htm

And here's the code:


<!-- InstanceEndEditable -->
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<style type="text/css">
td img {display: block;}body {
background-color: #013567;
}
.MattElmoreLinks {
font-family: Georgia, "Times New Roman", Times, serif;
font-size: 24px;
font-weight: bold;
text-decoration: none;
line-height: 200%;
color: #FFCC20;
text-decoration: none;
}
a:link {
text-decoration: none;
}
.logo_text {
font-size: 36px;
font-family: Georgia, "Times New Roman", Times, serif;
}
.style3 {font-size: 10px}
.page_title {
text-indent: 100px;
}
.MainScreenContents {
line-height: 100%;
}
</style>
<!--Fireworks 8 Dreamweaver 8 target. Created Sun Aug 05 13:34:30 GMT+0200 2007-->
<style type="text/css">
<!--
td.special {
border:12px solid black;
line-height: 100%;
}
.page_title {
font-size: 16px;
font-weight: bold;
font-style: italic;
font-family: Arial, Helvetica, sans-serif;
}
.MainScreenTitle {
color: #FF9900;
font-weight: bold;
font-size: 18px;
font-family: Georgia, "Times New Roman", Times, serif;
vertical-align: 50px;
text-indent: 50px;
}
.special .MainScreenContents {
margin-bottom: 50px; margin-left: 50px; margin-right: 50px }

.MainScreenContents {
font-size: 18px;
color: #FF9900;
}
.special .MainScreenContents {
line-height: 100%;
}
a:link {text-decoration: none; color: #FFCC20;}
a:visited {
text-decoration: none; color: #FFCC20;
}
a:hover {
color: #FF3300;
}
a:active {
text-decoration: none;
color: #FFCC20;
}
.MainContentsMargins {
left: 100px;
right: 100px;
bottom: 100px;
}
MainScreenLineHeight {
line-height: 100%;
}
.MainScreenContents1 { font-size: 18px;
color: #FF9900;
}
.special .MainScreenContents {
line-height: 100%;
}

-->
</style>

domedia
08-07-2007, 12:38 PM
Which doctype are you using?