Customizing SMF > SMF Coding Discussion

How to frame text added above the Subject box?

(1/1)

Vahid‎‎ ‎Damanafshan:
I'm using the code below to add a bit of text above the Subject box. Now, I want to frame the text like this. Can anybody help me accomplish this?

--- Code: ---if (empty($_GET['topic']) && empty($_GET['msg']))
        echo '
<div class="rules">
', $txt['some_rules_here'] ,'
</div>';
--- End code ---

Arantor:
What do you mean by 'frame'?

Vahid‎‎ ‎Damanafshan:
I want to put a box around the text like this picture?

Arantor:

--- Code: ---if (empty($_GET['topic']) && empty($_GET['msg']))
        echo '
<div class="rules errorbox">
', $txt['some_rules_here'] ,'
</div>';
--- End code ---

Vahid‎‎ ‎Damanafshan:
what a beauty!

Navigation

[0] Message Index

Go to full version