Results 1 to 7 of 7
  1. #1
    Senior Member sweetums's Avatar
    Join Date
    Jun 2008
    Location
    Bristol (UK)
    Posts
    142
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question 'How do you stop an Â' symbol appearing before every '£' sign?

    I've encountered a strange problem that I cannot find a solution too, so wondering if anyone knows a solution.

    I've been working on my new website and I finally got it to a stage where I uploaded it to see how well it all works.
    On my services page this 'Â' symbol has appeared before every '£'. If I view my source code is shows up in there as well

    Example:

    PHP Code:
    <div id="poster_design_table_tab">
    <
    table width="472" border="1">
    <
    tr bgcolor="#77B3DC">
    <
    th width="241" class="style9" scope="col"><a name="posters" id="posters"></a>Poster Design</th>
    <
    th width="215" scope="col">&nbsp;</th>
    </
    tr>
    <
    tr bgcolor="#79B2DC">
    <
    td class="style9">Size</td>
     
    <
    td class="style9">Colour Design unless specified</td>
    </
    tr>
    <
    tr>
    <
    td>A3/A4</td>
    <
    td>£85</td>
    </
    tr>
    <
    tr>
    <
    td>A2/B2</td>
    <
    td>£100</td>
    </
    tr>
    </
    div
    However if I view my code in dreamweaver it does not have those 'Â' symbols. So the problem happens when I upload it to my server. I've searched around on Google and found some people with the same problem as me but no one has provided any answers.
    Twitter: liamjay66

    Website: liamjaydesigns.com

  2. #2
    Senior Member
    Join Date
    Mar 2009
    Location
    Hampshire
    Posts
    164
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Check your character encoding within the page, better to use codes for symbols
    Also get rid of the table, it won't do you any favours, you can do the same in an unordered list and page will be quicker

  3. #3
    Senior Member sweetums's Avatar
    Join Date
    Jun 2008
    Location
    Bristol (UK)
    Posts
    142
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Thanks for the advice but the tables are part of the visual look of the page so I don't want to remove them.
    I'm still learning dreamweaver and web coding so I don't quite understand what you mean about character encoding.
    Do you mean I can enter a piece of code into the source code, that will display as a £ sign instead of inserting an actual £ sign while in design view? If so, what would the code for the £ sign be?
    Twitter: liamjay66

    Website: liamjaydesigns.com

  4. #4
    Administrator Boss Hog's Avatar
    Join Date
    Mar 2008
    Posts
    3,443
    Thanks
    65
    Thanked 30 Times in 28 Posts
    Just do a find and replace, find all mentions of £ site wide...

    ...and replace with:

    &pound;

  5. #5
    Senior Member sweetums's Avatar
    Join Date
    Jun 2008
    Location
    Bristol (UK)
    Posts
    142
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Ah that's worked.
    Cheers guys. My saviors once again :)
    Twitter: liamjay66

    Website: liamjaydesigns.com

  6. #6
    Junior Member conanite's Avatar
    Join Date
    Feb 2009
    Posts
    20
    Thanks
    0
    Thanked 0 Times in 0 Posts
    those codes are called "html entities" - you'll need them for euro signs, too, letters with accents, greek letters ... depends on what your site needs. There's a big list at HTML ISO-8859-1 Reference

  7. #7
    Senior Member sweetums's Avatar
    Join Date
    Jun 2008
    Location
    Bristol (UK)
    Posts
    142
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Cheers for the link. That list is going to come in handy so I've bookmarked it.
    Twitter: liamjay66

    Website: liamjaydesigns.com

Similar Threads

  1. Stop-Motion, best software?
    By Huddlestone in forum General Software & Hardware Forum:
    Replies: 1
    Last Post: 02-19-2011, 12:58 AM
  2. why my website is not appearing in biz directory?
    By printingdeals in forum GDF Feedback & Help:
    Replies: 6
    Last Post: 08-12-2009, 12:39 PM
  3. One Stop Business Publications
    By Jarvo in forum Offers Forum:
    Replies: 10
    Last Post: 04-10-2009, 12:50 AM
  4. Replies: 0
    Last Post: 04-02-2009, 10:42 PM
  5. Background image in a table not appearing in browsers
    By sweetums in forum Website Coding & Programming Forum:
    Replies: 4
    Last Post: 03-08-2009, 12:40 PM

Tags for this Thread

Posting Permissions

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