Albur Lily (albur) wrote in component_help,
Albur Lily
albur
component_help

Hi, I need some help on

 

I've been trying to adjust my portrait information, and although the code in retrospect works, there seems to be a few glitches I can't figure out. There is a blue border around my user pic which looks ugly, and my username won't show up properly.

The code I am using is below:

<code>
function print_profile(Page p) {<br />
<br />
print_comp_header("Susan, White Lily");<br />
"""<br />
&lt;table cellspacing="0" cellpadding="0" border="0"&gt;<br />
&lt;tr&gt;<br />
&lt;td width="50%" align="center"&gt;<br />
&lt;div class="shortLine"&gt;&lt;img src="http://www.livejournal.com/palimg/component/clear.gif" width="1" height="1" alt="" border="0" /&gt;&lt;/div&gt;<br />
&lt;div class="shortLine"&gt;&lt;img src="http://www.livejournal.com/palimg/component/clear.gif" width="1" height="1" alt="" border="0" /&gt;&lt;/div&gt;<br />
&lt;/td&gt;<br />
&lt;td align="center"&gt;&lt;a href="http://www.livejournal.com/allpics.bml?user=albur"&gt;$p.journal.default_pic &lt;/a&gt;&lt;/td&gt;<br />
&lt;td width="50%" align="center"&gt;<br />
&lt;div class="shortLine"&gt;&lt;img src="http://www.livejournal.com/palimg/component/clear.gif" width="1" height="1" alt="" border="0" /&gt;&lt;/div&gt;<br />
&lt;div class="shortLine"&gt;&lt;img src="http://www.livejournal.com/palimg/component/clear.gif" width="1" height="1" alt="" border="0" /&gt;&lt;/div&gt;<br />
&lt;/td&gt;<br />
&lt;/tr&gt;<br />
&lt;tr&gt;<br />
&lt;td colspan="3" class="compContent"&gt;<br />
&lt;div&gt;&lt;b&gt;User:&lt;/b&gt; &lt;span class='ljuser' style='white-space:nowrap;'&gt;&lt;a href='http://www.livejournal.com/userinfo.bml?user=USERNAME'&gt;&lt;img src='http://stat.livejournal.com/img/userinfo.gif' alt='userinfo' width='17' height='17' style='vertical-align:bottom;border:0;' /&gt;&lt;/a&gt;&lt;a href='http://www.livejournal.com/users/USERNAME/'&gt;&lt;b&gt;USERNAME&lt;/b&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;<br />
&lt;div&gt;&lt;b&gt;Name:&lt;/b&gt; Susan E.S. Chapman&lt;/div&gt;<br />
&lt;div&gt;&lt;b&gt;Age:&lt;/b&gt; 19&lt;/div&gt;<br />
&lt;div&gt;&lt;b&gt;Location:&lt;/b&gt; North Wales, UK&lt;/div&gt;<br />
<br />
&lt;/td&gt;<br />
&lt;/tr&gt; <br />
&lt;/table&gt;<br />
""";<br />
print_comp_footer();<br />
}<br />

</code>

Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

  • 1 comment