[RESOLVED] Some HTML help please.
Results 1 to 11 of 11

Thread: [RESOLVED] Some HTML help please.

  1. #1
    Join Date
    May 2005
    Location
    Manchester, England
    Posts
    887

    Resolved [RESOLVED] Some HTML help please.

    hi,
    hopefully this should be a nice easy to solve question. i have some HTML code for a website but when it is displayed the text part is highlighted in blue and underlined, like a hyperlink would be. how can i get it to just be text?
    code;
    <font color=0000CC>Now this is a classic! and was not easy to get a hold of</font><br>

    <embed allowScriptAccess="never" allowNetworking="internal"
    src="http://farm.addictinggames.com/D78AQSAKQLQWI9/1298.swf" type="application/x-shockwave-flash" height=300 width=400></embed><br><a target="_blank"
    Windows 7, Asus P5Q-E iP45 , Core 2 Duo E8400, 4GB Ballistix DDR2 800MHz, GeForce 9600.

  2. #2
    Join Date
    Nov 1999
    Location
    California, USA
    Posts
    501
    Are you trying to figure out how to change existing link colors and get rid of the underline? You can do that with css. If you're trying to solve a html coding problem with the site, you didn't post enough code. How about a link to the site and a better idea of the problem?


    "If you look at the sun without shielding your eyes, you'll go blind.
    If you look at the moon without covering your eyes, you'll become a poet."
    --Serge Bouchard

  3. #3
    JPnyc is offline Virtual PC Specialist!!!
    Join Date
    Jan 2005
    Posts
    7,877
    There's nothing in there that would underline it, but the color you're setting it to IS blue.
    There is nothing to fear, but life itself.

  4. #4
    Join Date
    Apr 2000
    Location
    Sheboygan, WI
    Posts
    53,391
    http://farm.addictinggames.com/D78AQSAKQLQWI9/1298.swf

    A website where you crash a helicopter.

  5. #5
    JPnyc is offline Virtual PC Specialist!!!
    Join Date
    Jan 2005
    Posts
    7,877
    John, which text is actually underlined? Is it "Now this is a classic! and was not easy to get a hold of" ?
    There is nothing to fear, but life itself.

  6. #6
    Join Date
    May 2005
    Location
    Manchester, England
    Posts
    887
    ok, sry about that, i'll give you some more information. i was trying to include that heli game into my myspace. in case you don't know you can add stuff to myspace in HTML form. but i could not find a website that would give me the game code. so i kind of pieced together my own using some code i had from another game. game works fine but the problem is the text i wanted above it appears as if it were a hyperlink (pic attached).
    after some further investigation i realise that some of the other code above it must be causing the problem. as if i enter the code by its self then everything is fine. so here is the entire code i have in the box;

    <font color=0000CC>Ok competition time!<br>
    Scoreboard;</font><br>
    <font color=CC3300><i>Steven; 30,717</i></font><br>
    <font color=0000CC><i>John; 30,375</i></font><br>
    <font color=CC3300><i>James; 28,680</i><br>
    can you do any better?</font><br>
    <div><embed allowScriptAccess="never" allowNetworking="internal" src="http://www.arcadecabin.com/tempswf/curveball" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="350" height="300"></embed></div><a<br>

    <font color=0000CC>Now this is a classic! and was not easy to get a hold of<br>
    This is why i got a 'E' at AS'Level IT!<br>
    Score to beat 1216</font><br>
    <embed allowScriptAccess="never" allowNetworking="internal"
    src="http://farm.addictinggames.com/D78AQSAKQLQWI9/1298.swf" type="application/x-shockwave-flash" height=300 width=400></embed><br><a target="_blank"

    The first half is the code for a game and some text. That appears fine. The second bit is the code for the heli game but it's text "Now this is a classic! and was not easy to get a hold of
    This is why i got a 'E' at AS'Level IT!
    Score to beat 1216"
    appears as a hyperlink.
    Attached Images Attached Images
    Windows 7, Asus P5Q-E iP45 , Core 2 Duo E8400, 4GB Ballistix DDR2 800MHz, GeForce 9600.

  7. #7
    JPnyc is offline Virtual PC Specialist!!!
    Join Date
    Jan 2005
    Posts
    7,877
    Well that code is incorrect, which is probably where the problem lies. I mean it's not valid code. You have an opening anchor tag here <a<br> which needs to be removed. That might well solve the issue. That doesn't belong there at all.
    There is nothing to fear, but life itself.

  8. #8
    Join Date
    Apr 2000
    Location
    Sheboygan, WI
    Posts
    53,391
    This:
    src="http://farm.addictinggames.com/D78AQSAKQLQWI9/1298.swf" type="application/x-shockwave-flash" height=300 width=400></embed><br><a target="_blank"

    If I remember right, should read like this:
    <a target="_blank" src="http://farm.addictinggames.com/D78AQSAKQLQWI9/1298.swf" type="application/x-shockwave-flash" height=300 width=400></embed><br>

  9. #9
    Join Date
    May 2005
    Location
    Manchester, England
    Posts
    887
    ah ha! with a bit of messing around using your suggestions i managed to get it working. i changed a few things but I’m quite sure it was the removing of the <a<br> that did the trick. as i said before i have not worked with HTML before and the code i was using was copied and edited from something else. it originally had some hyperlinks and ad's with it so i removed them myself. That’s why there are strange bit's of code left over messing things up. so thanks for the help
    Windows 7, Asus P5Q-E iP45 , Core 2 Duo E8400, 4GB Ballistix DDR2 800MHz, GeForce 9600.

  10. #10
    JPnyc is offline Virtual PC Specialist!!!
    Join Date
    Jan 2005
    Posts
    7,877
    Well I meant just removing the <a part the <br> can stay, that's a legit tag. But the <a was an incomplete tag, so it was making everything after it seem as a link.
    There is nothing to fear, but life itself.

  11. #11
    Join Date
    May 2005
    Location
    Manchester, England
    Posts
    887
    oh ok. well cheers anyway. and i don't need the <br> anyway as far as i know it's just a line break.
    Windows 7, Asus P5Q-E iP45 , Core 2 Duo E8400, 4GB Ballistix DDR2 800MHz, GeForce 9600.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •