![]() |
Html in content?
Hi, hopefully I can explain this well enough.
I'd like to use html in the content updates. To cut a long story short, I'd like the image of a character on every page (eg. Character X on the welcome page, text beside him, Character Y on the extra page, text beside him, etc.). However, whilst the layout works fine on a testing html document, I can't actually get the script to accept the img src tag on the different pages. Is there a way to do this? So far, I've only been able to do it on the adopt page. If I haven't explained it well enough, let me know. Thanks for any help. |
RE: Html in content?
img src is what I have alot of trouble with as well. Try this:
Code:
<img src='image url here' alt='alternative text here' border='border width here'> |
RE: Html in content?
Nope, didn't work :( In fact, now that I double check, I can't get the article section to accept any html tags at all.
|
RE: Html in content?
You have to use the BBCode tags, it doesn't accept HTML tags.
Code:
[img]your.image.address[/img] |
RE: Html in content?
Thank you for that. Is there any way to align an image to the left at all? Sorry, I don't use BBCodes that much.
|
RE: Html in content?
Quote:
Here's a BBCode list, with HTML equivelents: Code:
$text = preg_replace('|\[b\](.+?)\[\/b\]|i', '<strong>$1</strong>', $text); |
RE: Html in content?
Thanks for that, fixed the problem!
|
RE: Html in content?
Oh, this is for article content. If you want HTML, just get rid of the BBCode Parse. That's what I did.
|
All times are GMT -5. The time now is 11:48 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.