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

Recent

Welcome to TinyPortal. Please login or sign up.

Members
Stats
  • Total Posts: 196,004
  • Total Topics: 21,330
  • Online today: 73
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 51
  • Total: 51

Script Block vs. Script Box

Started by jmayne, March 20, 2008, 02:27:25 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Ken.

In a situation like this my own personal approach is to play around a little with the code provided and try to see what is not needed or seems out of place.

So I tried your code and the first thing that jumped out was the font size tags... there was no reason for them to be there so I removed those and then your code worked OK.

JPDeni is the code expert of course so we all listen to her, but with a little trial and error folks like you and me can sometimes sort it out on our own.  ;)


" If everything seems under control, you're not going fast enough." - Mario Andretti
Yesterday When I was Young.

jmayne

You were absolutely right.  I originally pasted it into an HTML + BBC.  When that didn't work, I copied that and put it into a scriptbox and that didn't work either (because it changed).  Very good diagnosis.  Kind of creepy - it's almost as if you watched what I did  :o.

Zetan

lol, nope.. but it's something that happens with WYSIWYG type editors. They often add in their own formatting.. Theres a difference between HTML and BBC (Bulletin Board Code). BBC is formatted to allow general users some amount of customistation/formatting to posts.

The BBC is wrapped in [tags]
Whereas much of html is wrapped in <tags>

It's mainly a security thing.. It's not a good idea to let just anybody insert html into posts, which gets inserted into the database.

G6Cad

This seems to be fixed so i mark this as solved :)

This website is proudly hosted on Crocweb Cloud Website Hosting.