TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,973
  • Latest: NonStop
Stats
  • Total Posts: 196,224
  • Total Topics: 21,352
  • Online today: 633
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 1
  • Guests: 171
  • Total: 172
  • @rjen

Coding in an Article in HTML

Started by Joramilea, October 16, 2006, 02:47:02 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Joramilea

I have done my search and came up empty handed...  So I hope someone can help me with is going to end up an easy problem.

I have taken down a site I have and revamping it with SMF and TinyPortal.  It was a link ran site going to other html pages in my site.  I would like for these html pages to become articles.

According to my husband I should be able to copy and paste my code into an article and everything should be fine... well... it's not. And he's out of town for training and can't help me. So I thought I would turn to you folks here for some help.

I am sure it is something simple that I am missing.

here is a link to what the page looks like at first.  It use to display in an Iframe.
here is the code I am trying to put in...

<table align="center" width="100%" cellspacing="0" cellpadding="0" border="0">
<tr>
    <td align="center">One thing you can do to slow down hotlinking or image theft is to watermark your images.</br>
</br>
This is a wonderful idea to do for:</br>
    Adoption pages</br>
    Tutorial images</br>
Images that are not adoptable</td>
</tr>
</table>
</br>
<table align="center" cellspacing="0" cellpadding="0" border="1">
<tr>
<td>
<table align="center" width="263" height="220" cellspacing="0" cellpadding="0" border="1">
<tr>
    <td align="center" background="..dollimages/adoptions/Lady Renee/gabby_ladyr.gif"><img src="testimage1.gif" width="263" height="220" alt="" border="0"></td>
</tr>
</table>
<table align="center" cellspacing="0" cellpadding="0" border="1">
<tr>
<td><strong>Here is a working sample of the code.</strong></br>
try and right click on the image and paste it into a graphics program.</br>
This could also help with hotlinking cause if they hyperlink the image all they will get it is a clear image</br>
*note* the Table Data row <em>HAS</em> to be the exact size or smaller of the background image or it will tile.</br>
my daughter found out this doesn't work so hot in Firefox with a resolution 1024X768 / 15" monitor</br></br>
doll credit <a href="http://p216.ezboard.com/brcarchitecture" target ="blank">Lady Renee</a></td>
</tr>
</table>
</td>
</tr>
</table>
</br>
<center> This could also be done with the image in the Table Row and the transparent in the Table Data row.</br>
In a graphics program I made a transparency the size of the doll I was covering.  But the image really only needs to be 1 X 1 pixels</br>
and all you need to do is ajust the width and heigth of the transparent image in your coding.
</br>
<center><form><p>
      <textarea class="codecontainer" rows="7" name="S1" cols="100" wrap="virtual"><table cellspacing="0" cellpadding="0">
    <tr>
        <td align="center" background="picture.jpg"><img src="transparent.gif" width="500" heigth="318" align="Top"></td>
    </tr>
</table></textarea></p>
    </form></center>


or do I need to put the whole page code in there from <html> to </html> ?

but when I put it into an article it looks like this.. *edit* link removed *edit*


I have seen pages my husband has set up and they look fine.  When I go to edit the article it shows me the code.  But when I try to set up an article with HTML coding it doesn't show me html code to edit.  Just what the article will look like.

In the origional page it shows the code box but doesn't show it in the article.  are there limitations to what I can use as code?  I have several pages that are coded this way in my code tutorial section.  They just teach the basics of web coding. 

and yes the image paths are down. I will need to change the path.

I have alot of html pages to do and was told this was the best way to make my site fully run SMF/TP.

I hope this is possible to because I want to keep my site folder clean, neat and organized and if all my pages are in articles ... wow!  how organized is that!

Thanks in advance! :D

Joramilea

i am just getting moved on all the boards today.   :2funny:

I really didn't know where to put this cause I couldn't any posts related to the subject I was looking for.

Thank you for moving it to the right area so it will be seen by more people who will be able to help me out!  :)

jacortina

If you've got the WYSIWIG editor turned on, you could try turning it off (in Admin -> TinyPortal Settings).

Joramilea

ahh thank you.. one problem solved. Now I can edit in html code.

Still having displaying issues.   :-\

Joramilea

Well due to unforseen events my husband will be coming home today instead of Friday.  So maybe he will be able to help me out getting the articles up right.

Thanks again for pointing out the WYSIWIG setting on my site.  This is the site that I am doing from the start without help from my husband and only asking him for help on issues that i get frustrated over.  This being one of them. :)

This website is proudly hosted on Crocweb Cloud Website Hosting.