PDA

View Full Version : inserting html code



Spirits High
25-12-2008, 10:20 AM
Hi guys,

Am trying to insert my html code to show up my "Dj Mark" accreditation but having problems of where to put it!

I'm doing it in front page which is usually not a problem as I put stuff on there by "normal" non html type. However this needs to go on the Html pasge and i'm a bit flumuxed!

Ideally i'd like it on the home page underneath the navigation bits.

Code is here if this makes things easier

<a href="http://www.needadisco.com/djmark/certs/10212.php" target="_blank" title="Click to confirm membership status at DJmark.org - The Sign of a Quality Mobile Disco"><img src="http://www.needadisco.com/djmark/certs/10212.jpg" border=0></a>


Thanks as ever.....Happy Chriistmas day aswell :D

Jiggles
25-12-2008, 10:40 AM
Try putting it after [code] <tr>
<td></td>
<td height="20">
<div style="height:1px; background-color: #4C4D50; background-image: url('images/submenu_hr.gif'); background-repeat: repeat-x"><span></span></div></td>
</tr>
<tr>
<td style="padding-right: 15px;"><a href="contact.php"><img src="images/submenu_bullet.gif" border="0" alt=""></a></td>
<td style="width: 100%;"><a href="links.html" class="submenu">Links</a></td></tr></table><div style="width:253px; height:0px;"><span></span></div></td><td bgcolor="#636366"><div style="width:1px; height:0px;"><span></span></div></td><td width="100%" class="pageContent" style="padding: 20px;"><table cellpadding="0" cellspacing="0" border="0" summary=""><tr><td class="text-header" style="padding-right: 5px;">Home</td><td><img src="images/txtheader_bullet.gif" border="0" alt=""></td></tr></table><div style="width:0px; height:15px;"><span></span></div><span><h1 style="TEXT-ALIGN: center" align="center"><font style="FONT-FAMILY: verdana" face="verdana"><font face=""><font style="FONT-SIZE: 36pt; FONT-FAMILY: arial" face="arial" color="#ffffff" size="7">

</h1>
[code]

Spirits High
25-12-2008, 11:56 AM
Thanks Callum, but it just put the code in as it was and stretched everything:eek:

I'll keep trying ;)

Jiggles
25-12-2008, 12:00 PM
Ah that will be that its too big for that section of the site

Jiggles
25-12-2008, 12:02 PM
Try


<a href="http://www.needadisco.com/djmark/certs/10212.php" target="_blank" title="Click to confirm membership status at DJmark.org - The Sign of a Quality Mobile Disco"><img src="http://www.needadisco.com/djmark/certs/10212.jpg" width="100" height="125" border=0></a>

Spirits High
25-12-2008, 06:00 PM
Nah, that didn't work either. It just appeared as text on the page:eek:

Looks like a job for Super Marc :D :D

501damian501
25-12-2008, 06:28 PM
Nah, that didn't work either. It just appeared as text on the page:eek:

Looks like a job for Super Marc :D :D

why not just drag the image and put it where you want ?

Spirits High
25-12-2008, 06:39 PM
why not just drag the image and put it where you want ?


all I've got is the code no actual image :eek:

501damian501
25-12-2008, 06:55 PM
Here you go mate...

whenever you get a code paul and need to get the image if you do, just open wordpad paste the html code into it and save the file but at the end of the file name put .html , then find the saved file, click on it and it should open up in windows explorer ect ect, then save the image, easy as that lmao

ahh, now i see its somesort of click to comfirm membership, which in that case, just copy and paste this image to where you want it using your html software, being frontpage or dreamwaver i should of thought, then just hyperlink the image to the site where it says your membership is comfirmed, you understand ?

One Vision
25-12-2008, 07:15 PM
You have to put the code within the code of the page and not the design view i.e. code view and were you want it on the page.
You wont see the pick on your own file but will see it once you save to the server as the image is on their server, your just linking to it.

501damian501
25-12-2008, 07:18 PM
You have to put the code within the code of the page and not the design view i.e. code view and were you want it on the page.
You wont see the pick on your own file but will see it once you save to the server as the image is on their server, your just linking to it.

of course you will see the pictures, maybe you do it a different way to me, but i see everything in the view page!

One Vision
25-12-2008, 07:28 PM
of course you will see the pictures, maybe you do it a different way to me, but i see everything in the view page!

Damian unless you actually have a copy of the image in your image directory or wherever the images are saved to for your web pages you would just see a grey box.
I made that point as he was only adding the code and not an actual image that he has.
Obviously if he had the image to insert then yes he would see within WYSIWYG i.e. design mode were you see the page as it would appear and not code view. :richie:

One Vision
25-12-2008, 07:34 PM
Here you go mate...

whenever you get a code paul and need to get the image if you do, just open wordpad paste the html code into it and save the file but at the end of the file name put .html , then find the saved file, click on it and it should open up in windows explorer ect ect, then save the image, easy as that lmao

ahh, now i see its somesort of click to comfirm membership, which in that case, just copy and paste this image to where you want it using your html software, being frontpage or dreamwaver i should of thought, then just hyperlink the image to the site where it says your membership is comfirmed, you understand ?

You don't have to go through all that Damian, all you have to do is within the code find the image link, copy and paste it in to your address bar and it will bring the image up i.e. >>http://www.needadisco.com/djmark/certs/10212.jpg<<
http://www.needadisco.com/djmark/certs/10212.jpg

Jiggles
25-12-2008, 07:45 PM
err i have edited the code so that the images is small enough to stop it from messing up the tables.

501damian501
25-12-2008, 07:49 PM
err i have edited the code so that the images is small enough to stop it from messing up the tables.

it still doesnt work so paul said....

tbh i would just have it on my homepage at the bottom!

Jiggles
25-12-2008, 08:16 PM
Worked for me? I downloaded his page. It was fine :confused:

Spirits High
25-12-2008, 10:06 PM
Worked for me? I downloaded his page. It was fine :confused:


Callum, it may be me being an html numpty putting it in the wrong place :D

Pm the code as you did it and I'll try it from there ;)

Jiggles
25-12-2008, 10:09 PM
I got rid of it when i found out it worked :( Ill remake it and see id it was a flook or not :D

nigelwright7557
25-12-2008, 11:27 PM
Nah, that didn't work either. It just appeared as text on the page:eek:

Looks like a job for Super Marc :D :D

You need to insert the code in the source code not the actual viewed page.

Jiggles
25-12-2008, 11:34 PM
All is well now sorted it for him. :D

One Vision
25-12-2008, 11:56 PM
:bang:

One Vision
25-12-2008, 11:58 PM
You have to put the code within the code of the page and not the design view i.e. code view and were you want it on the page.
You wont see the pick on your own file but will see it once you save to the server as the image is on their server, your just linking to it.


Damian unless you actually have a copy of the image in your image directory or wherever the images are saved to for your web pages you would just see a grey box.
I made that point as he was only adding the code and not an actual image that he has.
Obviously if he had the image to insert then yes he would see within WYSIWYG i.e. design mode were you see the page as it would appear and not code view. :richie:


You need to insert the code in the source code not the actual viewed page.
Already mentioned that

nigelwright7557
26-12-2008, 12:01 AM
Already mentioned that

The code is just a reference to a graphic file not the graphic file itself.

So to view the file at test time you need the file in the same directory on your pc as your website.

After you have uploaded the page and the graphic file you can then see them both live online.

In my website software you also have to add the graphic file to the project before yo ucan see it to upload it.

One Vision
26-12-2008, 12:09 AM
The code is just a reference to a graphic file not the graphic file itself.

So to view the file at test time you need the file in the same directory on your pc as your website.

After you have uploaded the page and the graphic file you can then see them both live online.

In my website software you also have to add the graphic file to the project before yo ucan see it to upload it.

I mentioned that as well, in addition with the code in question you don't need to see it within your design view or have it on your system as its linking to the other persons server, so you don't have to upload any image to your server with that code.

Spirits High
26-12-2008, 08:52 AM
I got rid of it when i found out it worked :( Ill remake it and see id it was a flook or not :D


All is well now sorted it for him. :D

Callum et al , thanks for your help on this one......However it's still not playing :eek:

When I replaced the code on frontpage as discussed it just came out as code when uploaded through the server :confused:

Now obviously i'm not an web builder / html guru and I know some of you will be sat there going :bang: :bang: :bang: but I can't get it to happen :(

Penfold42
26-12-2008, 09:08 AM
Stop drinking first....sober up....then try......:sj:

Spirits High
26-12-2008, 09:16 AM
Stop drinking first....sober up....then try......:sj:

Ha Ha funny Guy :D

If only it was that simple :p

Big decsion of today is do I go and watch Chesterfield v Luton or Alfreton v Hucknall?

Jiggles
26-12-2008, 10:47 AM
Let me email the whole page to you :D So you just need to replace it.

Spirits High
26-12-2008, 11:05 AM
Let me email the whole page to you :D So you just need to replace it.


You did! I pasted it in and it all went Pete Tong :eek:

And for some reason you only get the html code coming up on the actual view page :confused:

see linky

http://www.spiritshigh.org.uk/indextest.html

Jiggles
26-12-2008, 11:07 AM
Front page being front page! :mad: Check your email. :D

Spirits High
26-12-2008, 11:45 AM
Front page being front page! :mad: Check your email. :D


Wohoo, job done :D

All that drama for a little purple badge

Cheers everyone that inputed to this :)

Off to football now ;)

Jiggles
26-12-2008, 12:15 PM
Thank god that's all done :D