I'm having to use [] instead of <> because the filter's stripping attributes even inside of code and pre tags!

The attribute is a statement at the end of a tag modifying but not fundamentally changing the tag's function. There's probably more attributes than there are tags, and the same attributes function in many tags. So for instance the 'align' attribute also can modify the p tag (paragraph -- another good one to add), such as

Yeah, you are right. I was about run out the door and didn't think about that. Was trying to get it in before I left so others could use it. I'll have to experiment with it. The forum is very strict on how to allow HTML, which I guess is to help an accident to where you enable something and then someone puts a refer tag in the html that directs everyone to a porn site or something, LOL.

I added the "P" tag to the list, should be able to mess around with the text now. Also tried an experiment with a picture, the align seemed to make it through just fine?

Last edited by knightmb on Feb 28, 2007 3:00 pm, edited 1 time in total.

If you place the image tag before the text, you can align the image to it. I just noticed that the filter seems OK with attributes so long as the right side is enclosed by quotes like the quotes around "right" below, it doesn't normally have to be.
[img src="http://upload.wikimedia.org/wikipedia/e ... _large.jpg" align="right"]

<img src="http://upload.wikimedia.org/wikipedia/e ... _large.jpg" align="right"> This a bicycle, a very nice bicycle. This a bicycle, a very nice bicycle. This a bicycle, a very nice bicycle. This a bicycle, a very nice bicycle. This a bicycle, a very nice bicycle.This a bicycle, a very nice bicycle. This a bicycle, a very nice bicycle. This a bicycle, a very nice bicycle. This a bicycle, a very nice bicycle. <br><br>This a bicycle, a very nice bicycle. This a bicycle, a very nice bicycle. This a bicycle, a very nice bicycle. This a bicycle, a very nice bicycle. This a bicycle, a very nice bicycle. This a bicycle, a very nice bicycle. This a bicycle, a very nice bicycle. This a bicycle, a very nice bicycle.

xyster wrote:If you place the image tag before the text, you can align the image to it. I just noticed that the filter seems OK with attributes so long as the right side is enclosed by quotes like the quotes around "right" below, it doesn't normally have to be.
[img src="http://upload.wikimedia.org/wikipedia/e ... _large.jpg" align="right"]

<img src="http://upload.wikimedia.org/wikipedia/e ... _large.jpg" align="right"> This a bicycle, a very nice bicycle. This a bicycle, a very nice bicycle. This a bicycle, a very nice bicycle. This a bicycle, a very nice bicycle. This a bicycle, a very nice bicycle.This a bicycle, a very nice bicycle. This a bicycle, a very nice bicycle. This a bicycle, a very nice bicycle. This a bicycle, a very nice bicycle. <br><br>This a bicycle, a very nice bicycle. This a bicycle, a very nice bicycle. This a bicycle, a very nice bicycle. This a bicycle, a very nice bicycle. This a bicycle, a very nice bicycle. This a bicycle, a very nice bicycle. This a bicycle, a very nice bicycle. This a bicycle, a very nice bicycle.

Now if you enclose the whole thing in a [p align="justify"] tag, you can justify the text while keeping it aligned to the image on the right. Some browsers will not show the text justified because they don't recognize the 'justify' command.
<p align="center"><font size="7" face="Serif"><i><b>A Great Bike!</b></i></font></p>
<p align="justify"><font size="3" face="Sans-Serif" color="blue"><img src="http://upload.wikimedia.org/wikipedia/e ... _large.jpg" align="right"> This a bicycle, a very nice bicycle. This a bicycle, a very nice bicycle. This a bicycle, a very nice bicycle. This a bicycle, a very nice bicycle. This a bicycle, a very nice bicycle.This a bicycle, a very nice bicycle. This a bicycle, a very nice bicycle. This a bicycle, a very nice bicycle. This a bicycle, a very nice bicycle. <br><br>This a bicycle, a very nice bicycle. This a bicycle, a very nice bicycle. This a bicycle, a very nice bicycle. This a bicycle, a very nice bicycle. This a bicycle, a very nice bicycle. This a bicycle, a very nice bicycle. This a bicycle, a very nice bicycle. This a bicycle, a very nice bicycle.</font></p>

Last edited by xyster on Feb 28, 2007 3:17 pm, edited 1 time in total.

For some reason the "face" attribute of the "font" tag doesn't seem to be working. But it's not getting stripped either. I'm assuming the forum software overrides this and enforces it's own font type (i.e. serif, sans-serif, Times, Helvetica, etc)?

Now click the image of the bike and through the use of the "a" tag (anchor) with the "target" attribute, it'll pop open in a new window or tab for you. Unlike with javascript popups and popunders, there's no way to make harmful recurrent popups using this technique -- you know, the one's you can never close without spawning another window.
<p align="center">
<font size="7" color="red"><b><i>Great Bike!</b></i></font></p>

<p align="justify"><font size="3" face="Sans-Serif" color="blue"><a href="http://upload.wikimedia.org/wikipedia/e ... _large.jpg" target="_blank"><img src="http://upload.wikimedia.org/wikipedia/e ... _large.jpg" align="right"> </a>
This a bicycle, a very nice bicycle. This a bicycle, a very nice bicycle. This a bicycle, a very nice bicycle. This a bicycle, a very nice bicycle. This a bicycle, a very nice bicycle.This a bicycle, a very nice bicycle. This a bicycle, a very nice bicycle. This a bicycle, a very nice bicycle. This a bicycle, a very nice bicycle. <br><br>This a bicycle, a very nice bicycle. This a bicycle, a very nice bicycle. This a bicycle, a very nice bicycle. This a bicycle, a very nice bicycle. This a bicycle, a very nice bicycle. This a bicycle, a very nice bicycle. This a bicycle, a very nice bicycle. This a bicycle, a very nice bicycle.</font></p>

Last edited by xyster on Feb 28, 2007 3:22 pm, edited 1 time in total.

The <font> tag is deprecated in the latest versions of HTML (HTML 4 and XHTML).

The World Wide Web Consortium (W3C) has removed the <font> tag from its recommendations. In future versions of HTML, style sheets (CSS) will be used to define the layout and display properties of HTML elements.

Hmmm...besides the "face" attribute at least it still works, and will probably work with browsers for some years. Style sheets are very nice and precise more like professional print layout, and I'm quite familiar with them too, but they're more difficult to master and implement commands quickly in a forum setting like this.

xyster wrote:Hmmm...besides the "face" attribute at least it still works, and will probably work with browsers for some years. Style sheets are very nice and precise more like professional print layout, and I'm quite familiar with them too, but they're more difficult to master and implement commands quickly in a forum setting like this.

I think technically I could enable the tags to produce the elements and then you could customize a font but it's a lot of work just to change it around, like you said in a forum setting.

Yeah I had html stuff disabled by default in my prefs, setting them back on before posting a post where I wanted them to be on didn't work, it only worked in preview. Turns out you gotta set html to on by default in your profile for html tags to work.

You have to know, not fear, that someday you are going to die. Until you know that and embrace that, you are useless. - Tyler Durden, Fight club. Ditch the fake identity you've created for yourself, walk your own way in a society of mindless drones to become real, you are not your social status.