Hi,

I am trying to add a source code snippet in my website. This is how it looks after adding it to the text box.

But I don't want it to look this way. It should look somwhat similar as below:-

In short I need to-

1) add my source code snippet in a separate box which will be a scrollable and will be easier to read.

2) Should have a proper alignment.

3) Should have a faded background as above.

As I am a newbie to this HTML/CSS world, any help regarding this will be appreciated.

Here is the link to my website:

http://www.mobiledevnation.com/group/android-application-development

Thanks,

Sangram

Views: 87

Reply to This

Replies to This Discussion

Our text boxes can't accommodate such coding. Someone may be able to provide some kind of hack to make it work, but I'm doubtful. What is this code for anyway?

I'm not sure there's a great answer to this. You can use the <code> tag to display code, but you'll need to entity encode anything that can interpreted as HTML or it might be stripped out of a forum discussion. Maybe there are some more adept people here on Creators who can speak to sharing code like this. 

i would like to see an example of what it is that you are trying to accomplish so that I may be able to try helping.

RSS

Latest Activity

Cindy replied to Allison Leahy's discussion 'What is your Ning 3.0 URL?' in the group The Sandbox
"I coppied all the stuff you posted and I'll check a bit later when the head feels clearer. I…"
18 minutes ago
Kos replied to Allison Leahy's discussion 'What is your Ning 3.0 URL?' in the group The Sandbox
"Sorry for that.  Sometimes they fall between the cracks during the week b/c so many have full…"
24 minutes ago
Kos replied to Allison Leahy's discussion 'What is your Ning 3.0 URL?' in the group The Sandbox
"Yes sometimes we need to step back and let it all sink in as 3.0 is quite different from the 2.0 we…"
34 minutes ago
Kos replied to Allison Leahy's discussion 'What is your Ning 3.0 URL?' in the group The Sandbox
"Phoron since we've gone off topic here, why don't you begin a forum post of questions and…"
37 minutes ago
Kos replied to Allison Leahy's discussion 'What is your Ning 3.0 URL?' in the group The Sandbox
"Do you mean the background image behind your avatar?   Members can upload at the right…"
41 minutes ago
Kos replied to Donna Mac's discussion '3.0 Video - can someone explain?'
"idk what else Ning (if any) Ning will be releasing with respect to videos but they way it stands a…"
1 hour ago
Crestini Activi ! replied to Rafael's discussion 'Multiple Chat rooms for Ning 3.0'
"Im loving the idea !!! I was thinking about this idea before, but I thought that if I was going to…"
1 hour ago
Suzie Nielsen replied to Donna Mac's discussion '3.0 Video - can someone explain?'
"I think I am getting it! Thanks!"
1 hour ago

© 2013   Created by Ning.

Badges  |  Report an Issue  |  Terms of Service