SitePoint Sponsor

User Tag List

Results 1 to 8 of 8
  1. #1
    SitePoint Guru
    Join Date
    Sep 2004
    Location
    Provo, UT
    Posts
    865
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Layout doesn't look so good in IE 9

    Why can't these modern browsers use some basic standards on how html code is rendered? The following site looks great in Safari, but poor in IE 9.

    http://www.oil-testimonials.com/newVersion/

    What have I done wrong? Why are the fonts in the menu on the left different than the fonts for the content on the right? They should be the same. They look the same in Safari.

    And how about the following URL? It's putting text that should be up in the top paragraph along the side in a narrow column.

    http://www.oil-testimonials.com/newV...herapy.php?t=9

    Ugh, please help!

    Thanks!
    Convert your dollars into silver coins. www.convert2silver.com

  2. #2
    . shoooo... silver trophy logic_earth's Avatar
    Join Date
    Oct 2005
    Location
    CA
    Posts
    9,013
    Mentioned
    8 Post(s)
    Tagged
    0 Thread(s)
    It is because you have invalid markup. It is throwing IE into quirks mode. You have no DOCTYPE along with errors upon errors.
    http://validator.w3.org/check?verbos...fnewVersion%2f
    Logic without the fatal effects.
    All code snippets are licensed under WTFPL.


  3. #3
    SitePoint Guru
    Join Date
    Sep 2004
    Location
    Provo, UT
    Posts
    865
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Thank you for pointing this out. I had a java script that was appearing before my DOCTYPE. All is well now.
    Convert your dollars into silver coins. www.convert2silver.com

  4. #4
    . shoooo... silver trophy logic_earth's Avatar
    Join Date
    Oct 2005
    Location
    CA
    Posts
    9,013
    Mentioned
    8 Post(s)
    Tagged
    0 Thread(s)
    Also, remove the stupid right-click script.
    Logic without the fatal effects.
    All code snippets are licensed under WTFPL.


  5. #5
    SitePoint Guru
    Join Date
    Sep 2004
    Location
    Provo, UT
    Posts
    865
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Why? I use this script to prevent people from copying content from my website unless they have upgraded their membership.
    Convert your dollars into silver coins. www.convert2silver.com

  6. #6
    The CSS Clinic is open silver trophybronze trophy
    Paul O'B's Avatar
    Join Date
    Jan 2003
    Location
    Hampshire UK
    Posts
    40,555
    Mentioned
    183 Post(s)
    Tagged
    6 Thread(s)
    Quote Originally Posted by busboy View Post
    Why? I use this script to prevent people from copying content from my website unless they have upgraded their membership.
    You can't really hide anything on a webpage as the user just has to click view source and they have your content. All the right click script is really useful for is to annoy users.

  7. #7
    Life is not a malfunction gold trophysilver trophybronze trophy
    TechnoBear's Avatar
    Join Date
    Jun 2011
    Location
    Argyll, Scotland
    Posts
    6,448
    Mentioned
    274 Post(s)
    Tagged
    5 Thread(s)
    Quote Originally Posted by busboy View Post
    Why? I use this script to prevent people from copying content from my website unless they have upgraded their membership.
    It doesn't work if they have JavaScript disabled - and if they don't, as Paul says, it will just annoy them. A compromise might be something like this site uses - it pops up a message, but doesn't disable right-click functions.
    Don't serve your porridge and then go out for a walk.

  8. #8
    . shoooo... silver trophy logic_earth's Avatar
    Join Date
    Oct 2005
    Location
    CA
    Posts
    9,013
    Mentioned
    8 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by busboy View Post
    Why? I use this script to prevent people from copying content from my website unless they have upgraded their membership.
    Select (Drag-mouse while holding left-click) + CTRL C. Your no right-click scripts does nothing. All it does is annoy users. You don't want them to copy then don't put it online!
    Logic without the fatal effects.
    All code snippets are licensed under WTFPL.



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
  •