When I throw the coding into HTML it does what I want but when I move it into an LJtheme I get this mess. Is there something I'm missing? I admit I'm not the brightest when it comes to LJ coding but I know HTML and how to code tables.
Here's the coding I have for it:
layerinfo "type" = "theme";
layerinfo "name" = "Additional Customizations";
function page_layout(Page p) {
var string title = $p->title();
"""
<html><head>
<link rel="stylesheet" href="$p.stylesheet_url" type="text/css"/>
$p.head_content
"""; $p->print_custom_head(); """
<title>$title</title>
</head><body background="http://www.cold-sunshine.net/cold/bg.gif">
<table border=1 bordercolor=000000 width="740" cellspacing="0" cellpadding="0" valign="top"><tr><td>
<table width="740" cellspacing="0" cellpadding="0" valign="top">
<tr valign="top" align="left" width="740">
<td ><img src="http://www.cold-sunshine.net/cold/top.png" width="740" height="244"></td >
</tr></table></td><td valign="top" colspan="2" rowspan="2">
""";
if ($*comp_state == "right") {
print_my_components($p);
}
"""
</td></tr><tr><td>
<table width="746" cellspacing="0" cellpadding="0" valign="top">
<tr valign="top" width="746">
<td width="3">
<img src="http://www.livejournal.com/palimg/component/clear.gif" width="3" height="1" alt="" border="0">
</td>
""";
if ($*comp_state == "left") {
print_my_components($p);
"""
<td width="3">
<img src="http://www.livejournal.com/palimg/component/clear.gif" width="3" height="1" alt="" border="0">
</td>
""";
}
print_my_entries($p, $title);"""
<td width="3">
<img src="http://www.livejournal.com/palimg/component/clear.gif" width="3" height="1" alt="" border="0">
</td>
</tr>
</table></td></tr></table></body></html>
""";
}