TinyPortal

Development => Resources => Topic started by: hdaugus on November 15, 2007, 06:01:54 PM

Title: Theme Frame for Script Block cutting off before end of content
Post by: hdaugus on November 15, 2007, 06:01:54 PM
Hi Guys,

I'm barely past the TP virgin stage and while I can mess around with code a little I basically barely know what I'm doing there either.

I'm trying to create links in a script block.  Actually the links are fine and formatted the way I want them, but for some reason the theme box is cutting off before the end of the content of the box.

I originally used an html block but was having problems getting the line spacing to work right - so I switched to a script block (as was suggested on this forum to deal with the problem) but now the theme box isn't covering the entire content.  For the heck of it I changed back to an html block to see if that would correct the problem and it did not.

Any ideas?  This is probably some basic thing that I don't know - sorry but your help would be greatly appreciated.
Thanks,
Heather
Title: Re: Theme Frame for Script Block cutting off before end of content
Post by: IchBin on November 15, 2007, 06:03:44 PM
More than likely an error in the code. Post the code if you'd like help.
Title: Re: Theme Frame for Script Block cutting off before end of content
Post by: hdaugus on November 15, 2007, 06:10:43 PM
Will do - one question though - I noticed you guys put your code in a gray box when you post the code - how do you create the "code box"?  Or do I just cut and paste the code in to the body of the message?

Sorry for the kindergarten questions.
Heather
Title: Re: Theme Frame for Script Block cutting off before end of content
Post by: IchBin on November 15, 2007, 06:13:26 PM
Use the bbc code button on the reply page. It creates to BBC tags [ code] [/ code] (without the spaces). Put your code inbetween those two tags.
Title: Re: Theme Frame for Script Block cutting off before end of content
Post by: hdaugus on November 15, 2007, 06:19:47 PM
Thanks - here you go...

<div><a href="http://www.antiochla.edu">Antioch University Los Angeles</a></div>
<div><span style="font-weight: bold;">Employee Resources</span></div>
&nbsp; <a href="http://www.employeeevolution.com/about/">Employee Evolution</a></div>
<div><span style="font-weight: bold;"> Employer Resources</span><br />
&nbsp; <a href="http://www.genimperative.com/bookinfo.html">The Generational Imperative</a></div>


Title: Re: Theme Frame for Script Block cutting off before end of content
Post by: IchBin on November 15, 2007, 06:37:28 PM
Look at the opening and closing <div> tags. You are either missing one on line 3 or need to add one, depending on what you need.
Title: Re: Theme Frame for Script Block cutting off before end of content
Post by: Lesmond on November 15, 2007, 06:44:51 PM
Or you could try this..
<div class="smalltext" style="font-family: verdana,arial,sans-serif;" align="center">
<a href="http://www.antiochla.edu">Antioch University Los Angeles</a>
<br><b>Employee Resources</b>
<br><a href="http://www.employeeevolution.com/about/">Employee Evolution</a>
<br><b>Employer Resources</b> <br>
<a href="http://www.genimperative.com/bookinfo.html">The Generational Imperative</a>
</div>
Title: Re: Theme Frame for Script Block cutting off before end of content
Post by: hdaugus on November 15, 2007, 06:49:58 PM
I popped in a div tag into line three and that solved the problem.

I hereby vow to check all my opening and closing tags before posting on this board.  Sorry about that Chief.

IchBin - Sie sind ein Held.

Thank you.
Heather
Title: Re: Theme Frame for Script Block cutting off before end of content
Post by: IchBin on November 15, 2007, 06:52:09 PM
Thank Heather. I don't know what a Held is though. lol
Title: Re: Theme Frame for Script Block cutting off before end of content
Post by: hdaugus on November 15, 2007, 06:56:54 PM
Champion, Hero, generally all around saver of people in distress...