Monique (ex_meek386) wrote in component_help,
Monique
ex_meek386
component_help

  • Mood:

I'm at my wits end

I can't seem to figure out how to make the image at the top of my main screen stretch to fit any size screen resolution.



layerinfo "type" = "theme";
layerinfo "name" = "monique";

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)

(center)(img src="http://www.xpphotoalbum.com/data/500/1253ljbanner5.jpg" width="778" height="250" alt="" border="0")(/center)
(table width="100%" cellspacing="0" cellpadding="0" valign="top")
(tr valign="top" width="100%")
(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);
if ($*comp_state == "right") {
"""
(td width="3")
(img src="http://www.livejournal.com/palimg/component/clear.gif" width="3" height="1" alt="" border="0")
(/td)
""";
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)
(/tr)
(/table)


(/body)
(/html)
""";
}

Subscribe

  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

  • 2 comments