TinyPortal
Development => Support => Topic started by: Sarrene on May 09, 2007, 12:32:49 AM
I had been messing about some of the script boxes, and realised I had a slight problem. It was befuddling me, for a few hours, untill I figured out what I did wrong. I forgot a simple tag.
So for those that are using script boxes, dont forget the end tags.
I had done a search here, and noticed that a few had some of the same or simular problems. Therefor, I thought I would go ahead and post up what I did wrong, and how I fixed it. I hope this can help someone later on.
In the Script box for links, I set them up so they were aligned to the left. (Seperate from my Stats and Profile information. This added a nice seperation from what could be seen as cluttered.)
The script I used was the standard <div>. Yet I forgot to add the tag at the end of EACH script box. There for the blocks I added afterwards were (nested) inside of a table (and inside of another table and so on. More blocks I put in the more nested they became.)
So make sure if you are using any tags (whether php or html) that you use ALL the closing tags. I hope this can help someone from making a silly mistake like I did.
So
<DIV align="left">
<img src="http://my.com/forum/Themes/my/images/TPdivider.gif
">
<a href="http://andronnai.com"> HOME </a>
<br>
<img src="http://my.com/forum/Themes/my/images/TPdivider.gif
">
<a href="my.com/index.php?page=6">Members </a>
<br>
Became:
<DIV align="left">
<img src="http://my.com/forum/Themes/my/images/TPdivider.gif
">
<a href="http://andronnai.com"> HOME </a>
<br>
<img src="http://my.com/forum/Themes/my/images/TPdivider.gif
">
<a href="my.com/index.php?page=6">Members </a>
<br></div>
Peace,
Sarrene'