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

Allison Leahy replied to Jen's discussion 'Menu on Mobile Device Difficult'
"Absolutely! Thanks for bringing it to my attention, and for your patience as always."
10 minutes ago
Allison Leahy replied to Dw Alternatio's discussion 'Any way to change to a 3.0 network?'
"Hey Dw, So glad to hear you're interested in checking out the redesign! Make sure that after…"
11 minutes ago

NC for Hire
Jen replied to Jen's discussion 'Menu on Mobile Device Difficult'
"Thanks Allison. I have spent hours trying to fix this. That's great news!"
48 minutes ago
Allison Leahy replied to Jen's discussion 'Menu on Mobile Device Difficult'
"Just got the word that the release had no impact the mobile menu and a feature improvement has…"
1 hour ago
Allison Leahy replied to Jen's discussion 'Menu on Mobile Device Difficult'
"Interesting quirk. Thanks for the note."
1 hour ago
susana replied to Allison Leahy's discussion 'What is your Ning 3.0 URL?' in the group The Sandbox
1 hour ago
Kos replied to Jen's discussion 'Menu on Mobile Device Difficult'
"Allison I neglected to mention (in my instance) the problem is when holding phone vertically. …"
1 hour ago
Allison Leahy replied to Jen's discussion 'Menu on Mobile Device Difficult'
"Thanks for the reports; I'll check into this. Sounds like it could have been caused by the…"
1 hour ago

© 2013   Created by Ning.

Badges  |  Report an Issue  |  Terms of Service