SitePoint Sponsor

User Tag List

Results 1 to 11 of 11

Thread: Stumped again

  1. #1
    SitePoint Evangelist Barnum's Avatar
    Join Date
    Oct 2008
    Posts
    418
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Stumped again

    Using the following code, and for whatever reason the "found" link starts another paragraph, even though I didn't use
    the </p>. Can someone explain what I did wrong?

    <p>What really irritates the archaeological community is, thanks to the internet, we are suddenly getting noticed. Suddenly being appreciated for what it is we do, and what we have
    <a href="http://www.telegraph.co.uk/culture/culturenews/9400070/50-greatest-national-treasures-revealed.html"> found</a>.

    Mind you, they weren't able to find these treasures because they were waiting for a grant, or government handout, while we found them because

  2. #2
    Life is not a malfunction gold trophysilver trophybronze trophy
    TechnoBear's Avatar
    Join Date
    Jun 2011
    Location
    Argyll, Scotland
    Posts
    6,168
    Mentioned
    264 Post(s)
    Tagged
    5 Thread(s)
    Do you have a link to the page? What you have there looks OK, so it would be helpful to see the whole code to see what's happening.

  3. #3
    SitePoint Evangelist Barnum's Avatar
    Join Date
    Oct 2008
    Posts
    418
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Once again haven't uploaded but here is the entire parapgraph, or what I want to be the entire paragraph.

    <p>What really irritates the archaeological community is, thanks to the internet, we are suddenly getting noticed. Suddenly being appreciated for what it
    is we do, and what we have <a href="http://www.telegraph.co.uk/culture/culturenews/9400070/50-greatest-national-treasures-revealed.html"> found</a>. Mind you, they weren't able to find these treasures because they were waiting for a grant, or government handout, while we found them because we just wanted to have fun, and just maybe make a find that would change our lives. Of course this idea drives them nuts as well, because no one should enjoy themselves, and no one should ever think in terms of getting rich. Well to that I say TOO DAMN BAD! We paid hard earned money for our detectors, we were given permission to search the site, and what we find is none of your business unless we care to make it so. Likewise we also eat and breath exactly like you.</p>

  4. #4
    Life is not a malfunction gold trophysilver trophybronze trophy
    TechnoBear's Avatar
    Join Date
    Jun 2011
    Location
    Argyll, Scotland
    Posts
    6,168
    Mentioned
    264 Post(s)
    Tagged
    5 Thread(s)
    If I copy and paste that into a file, it works fine - no unexpected line breaks. Which browser(s) are you seeing this in?

  5. #5
    SitePoint Evangelist Barnum's Avatar
    Join Date
    Oct 2008
    Posts
    418
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    IE8...

  6. #6
    SitePoint Evangelist Barnum's Avatar
    Join Date
    Oct 2008
    Posts
    418
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    This is how it looks...


    What really irritates the archaeological community is, thanks to the internet, we are suddenly getting noticed. Suddenly being appreciated for what it is we do, and what we have

    found. Mind you, they weren't able to find these treasures because they were waiting for a grant, or government handout, while we found them because we just wanted to have fun, and just maybe make a find that would change our lives. Of course this idea drives them nuts as well, because no one should enjoy themselves, and no one should ever think in terms of getting rich. Well to that I say UP YOURS! We paid hard earned money for our detectors, we were given permission to search the site, and what we find is none of your business unless we care to make it so. Likewise we, in case you haven't noticed, also eat and breath exactly like you.

  7. #7
    SitePoint Evangelist Barnum's Avatar
    Join Date
    Oct 2008
    Posts
    418
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    You are right, it works in Firefox okay, but why would IE cause it show up that way?

  8. #8
    Life is not a malfunction gold trophysilver trophybronze trophy
    TechnoBear's Avatar
    Join Date
    Jun 2011
    Location
    Argyll, Scotland
    Posts
    6,168
    Mentioned
    264 Post(s)
    Tagged
    5 Thread(s)
    I'm guessing here, because I don't have IE8 to test it on at the moment. You have a space before the <a> tag, here:
    Code:
     and what we have_<a href="http://www...
    and another one immediately after it:
    Code:
    ... revealed.html">_found</a>
    Try deleting the second space (before "found") and see if that makes a difference.

  9. #9
    SitePoint Evangelist Barnum's Avatar
    Join Date
    Oct 2008
    Posts
    418
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    BINGO!! Thank you....still don't know why it works in FF but not IE, but thank you again.

  10. #10
    Life is not a malfunction gold trophysilver trophybronze trophy
    TechnoBear's Avatar
    Join Date
    Jun 2011
    Location
    Argyll, Scotland
    Posts
    6,168
    Mentioned
    264 Post(s)
    Tagged
    5 Thread(s)
    Excellent. It's just IE being difficult, as usual.

  11. #11
    It's all Geek to me silver trophybronze trophy
    ralph.m's Avatar
    Join Date
    Mar 2009
    Location
    Melbourne, AU
    Posts
    24,176
    Mentioned
    454 Post(s)
    Tagged
    8 Thread(s)
    You may just need to refresh your browser, as IE may just be assuming it hasn't changed and so is using what it downloaded before. If the refresh button doesn't fix it, then you can clear the cache.

    There's nothing in that code per se that would cause that reaction in IE8. If it still happens when you upload, post a link and we'll have a closer look.


Bookmarks

Posting Permissions

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