Today's Posts Follow Us On Twitter! TFL Members on Twitter  
Forum search: Advanced Search  
Navigation
Marketplace
  Members Login:
Lost password?
  Forum Statistics:
Forum Members: 24,254
Total Threads: 80,792
Total Posts: 566,471
There are 1406 users currently browsing (tf).
 
  Our Partners:
 
  TalkFreelance     Design and Development     HTML/XHTML/DHTML/CSS :

Need help!

Thread title: Need help!
Closed Thread    
    Thread tools Search this thread Display Modes  
07-20-2007, 03:58 PM
#1
Aaron Moody is offline Aaron Moody
Status: I love this place
Join date: Sep 2005
Location: England / Stockton-on-tees
Expertise: Design
Software: Photoshop
 
Posts: 707
iTrader: 3 / 100%
 

Aaron Moody is on a distinguished road

Send a message via MSN to Aaron Moody

  Old  Need help!

I dont know if this is the corect forum but..

Id like to post some codeing on my myspace. but, not have the code actualy be displayed if that makes sence?. I just want the code(text) to be seen, so that people can copy and paste the code to their myspace profiles. However I dont know how to do this, I know it can be done, so thought id ask on here.

thanks x

07-20-2007, 04:01 PM
#2
Imac is offline Imac
Status: Member
Join date: Feb 2007
Location: Earth....
Expertise:
Software:
 
Posts: 328
iTrader: 8 / 100%
 

Imac is on a distinguished road

Send a message via ICQ to Imac Send a message via MSN to Imac

  Old

You need to escape the < and > character entities using &lt; and &gt;. For example, you might have something like this:

<p>
To create a paragraph, surround your paragraph with &lt;p&gt; and &lt;/p&gt;.
</p>

This would then output this when viewed in a browser: Here is a example


<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

<style type="text/css">
#container {
width:600px;
height:200px;
border:1px solid #000;
font-family:verdana,arial,sans-serif;
font-size:14px;
overflow:auto;
}
</style>

</head>
<body>

<div id="container">

<pre>

&lt;!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd"&gt;
&lt;html&gt;
&lt;head&gt;
&lt;title&gt;&lt;/title&gt;
&lt;meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"&gt;

&lt;style type="text/css"&gt;

&lt;/style&gt;

&lt;script type="text/javascript"&gt;

&lt;/script&gt;

&lt;/head&gt;
&lt;body&gt;

&lt;div&gt;&lt;/div&gt;

&lt;/body&gt;
&lt;/html&gt;

</pre>

</div>

</body>
</html>

07-20-2007, 04:10 PM
#3
Aaron Moody is offline Aaron Moody
Status: I love this place
Join date: Sep 2005
Location: England / Stockton-on-tees
Expertise: Design
Software: Photoshop
 
Posts: 707
iTrader: 3 / 100%
 

Aaron Moody is on a distinguished road

Send a message via MSN to Aaron Moody

  Old

I dont understand. and wheres that code gone u last posted

07-20-2007, 04:12 PM
#4
Imac is offline Imac
Status: Member
Join date: Feb 2007
Location: Earth....
Expertise:
Software:
 
Posts: 328
iTrader: 8 / 100%
 

Imac is on a distinguished road

Send a message via ICQ to Imac Send a message via MSN to Imac

  Old

Sorry i edited it for a more basic view on what im trying too say. If you want a piece of code too display change < to &lt; and > to &gt;

&lt;img src="image.jpeg"&gt; should display <img src="image.jpeg>

07-20-2007, 04:14 PM
#5
Aaron Moody is offline Aaron Moody
Status: I love this place
Join date: Sep 2005
Location: England / Stockton-on-tees
Expertise: Design
Software: Photoshop
 
Posts: 707
iTrader: 3 / 100%
 

Aaron Moody is on a distinguished road

Send a message via MSN to Aaron Moody

  Old

Im geting very confused haha I know nothing atall about codeing im afraid :/

Perhaps if I show you what I want displayed in text form, you could provie me with the corect code?

<a href="http://www.msplinks.com/MDFodHRwOi8vd3d3Lm15c3BhY2UuY29tL2Fyb2dhbnRvbmU="> <img src="http://img101.imageshack.us/img101/3497/banneranimateda2xu5.gif" border="0" alt="Banner Designed By, Aaron Moody."/></a><br/><br>

Is what I want people to be able to copy and paste onto their profiles. Thanksa alot for helping me btw.

07-20-2007, 04:25 PM
#6
Imac is offline Imac
Status: Member
Join date: Feb 2007
Location: Earth....
Expertise:
Software:
 
Posts: 328
iTrader: 8 / 100%
 

Imac is on a distinguished road

Send a message via ICQ to Imac Send a message via MSN to Imac

  Old

This should work try this:

Code:
<p class="code"><code>&lt;a href="http://www.msplinks.com/MDFodHRwOi8vd3d3Lm15c3BhY2UuY29tL2Fyb2dhbnRvbmU="&gt; &lt;img src="http://img101.imageshack.us/img101/3497/banneranimateda2xu5.gif" border="0" alt="Banner Designed By, Aaron Moody."/&gt;&lt;/a&gt;</code></p>

07-20-2007, 06:26 PM
#7
Aaron Moody is offline Aaron Moody
Status: I love this place
Join date: Sep 2005
Location: England / Stockton-on-tees
Expertise: Design
Software: Photoshop
 
Posts: 707
iTrader: 3 / 100%
 

Aaron Moody is on a distinguished road

Send a message via MSN to Aaron Moody

  Old

Im afraid it doesnt work either =/

It is displaying he image, but not the actual code :/

I think this is a problem with the code myspace alows. Ive seen other people with what I want though. Il try and find one of them and ask them, thanks for your time, and if U do work it out, please let me know thanks!

Closed Thread    


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

  Posting Rules  
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump:
 
  Contains New Posts Forum Contains New Posts   Contains No New Posts Forum Contains No New Posts   A Closed Forum Forum is Closed