Ning Developer Docs

I see that has been discussed somewhat before, but my question is the ability to add a background graphic to a single text box. I have seen that there is a hack for adding a background graphic to all text boxes (through a modification to the .xg_module) but I would like to add a graphic to a single box (much like the home page of the Ning Developer Network has the text box with the yellow background).

Views: 4

Replies to This Discussion

Wizard;

Thanks for the info. Do you know if there is a way to do this with a .notification class and not have to get the source code. I really don't want to do this...so the only way I can do this is to add a css hack within the Appearance tab. Is there a way to do this...add the css .notification code without asking for the source code?
Wizard;

I like what you have done here...but the problem is that I don't know how to do this with a css hack. I really don't want to get the source code...just would like to enter some sort of css within the Appearance tab.
An easy way is to go to your Appearance tab and click the Advanced option. Near the top add a new class such as:

td.bg1{background-image:url(URLof YourImage);}

Now make a Text Box and put the whole thing in a table, make the width "100%" and adjust the height to whatever you want, add the new classname to the TD tag as in the example:

<table border="0" cellspacing="0" cellpadding="0" width="100%" height="500">
<tr><td class="bg1">

ADD YOUR CONTENT HERE

</td></tr></table>

Voila :)

RSS

© 2026   Created by Ning Developer Admin.   Powered by

Badges  |  Report an Issue  |  Terms of Service