Welcome to Geeklog, Anonymous Sunday, October 13 2024 @ 04:31 am EDT
Geeklog Forums
Highlighting Text in a Story
Status: offline
congleal
Forum User
Full Member
Registered: 11/08/04
Posts: 179
I've tried several different ways to highlight exerpts in a story:
<span style="background-color: rgb(255, 255, 0);">
and from frontpage:
<span style="background-color:#FFFF00;">
neither of which worked. This is regular html, I guess so why doesn't it work? Please Help.
Lee
<span style="background-color: rgb(255, 255, 0);">
and from frontpage:
<span style="background-color:#FFFF00;">
neither of which worked. This is regular html, I guess so why doesn't it work? Please Help.
Lee
10
3
Quote
Status: offline
Dirk
Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Status: offline
ScurvyDawg
Forum User
Full Member
Registered: 11/06/02
Posts: 523
near the bottom of config.php
there are already some in there by default. It is easy to do, you add the tag then the allowed attributes.
there are already some in there by default. It is easy to do, you add the tag then the allowed attributes.
7
5
Quote
Status: Banned
machinari
Forum User
Full Member
Registered: 03/22/04
Posts: 1512
the code for the span tag is already in your allowable html for admins list including the class and id attributes. if you use a class or id and put the style into your CSS, all will be well.
or, the code is like this:
or, the code is like this:
Text Formatted Code
'span' => array('class' => 1, 'id' => 1, 'style' => 1),
3
5
Quote
All times are EDT. The time is now 04:31 am.
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content