Web Analytics Made Easy -
StatCounter Resolution, cross-browser, zoom issue? - CodingForum

Announcement

Collapse
No announcement yet.

Resolution, cross-browser, zoom issue?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Resolution, cross-browser, zoom issue?

    On my laptop with mozilla my website looks fine:



    On my friend's laptop it looked silly and I think it's that his browser is set to be zoomed out further or something. Is there a way to lock somebody into a certain zoom level, or is that not the issue with my code/page?

    Here's the HTML, extremely simple:

    Code:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <link href="css/newdefault.css" rel="stylesheet" type="text/css" />
    
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>welcome to professor cuddlecore's labyrinth of web designs</title>
    </head>
    
    <img id="scroll_right" src="/jpgs/SCROLL_RIGHT2.jpg" />
    
    <p id="welcome">Welcome to Professor Cuddlecore's ingeniously unconventional website, which he designed by himself (high five!). If you want to see what else He can do, scroll down and click on something.</p>
    
    <div id="m_w_p_a">
    <a class="music" href="/music/default.php"><img src="/jpgs/music_link.jpg" /></a>
    
    <a class="writing" href="/writing/default.php"><img src="/jpgs/writing_link.jpg" /></a>
    <a class="paintings" href=""><img src="/jpgs/paintings_link.jpg" /></a>
    <a class="about" href=""><img src="/jpgs/about_link.jpg" /></a>
    </div>
    
    </body>
    </html>
    And here's the CSS, some of it may be leftover from something else I was trying out, sorry if so:

    Code:
    @charset "utf-8";
    /* CSS Document */
    
    body {
    	font-family: Arial, Helvetica, sans-serif;
    	margin: auto;
    	background: white;
    	width: 3500px;
    	height: 2000px;
    	border: 6px dashed black;
    }
    
    img {
    	margin: 0 auto;
    	padding: 0;
    	border:none;
    }
    
    p {
    	text-align: center;
    	font-family: Verdana, Geneva, sans-serif;
    	font-size: 13px;
    }
    
    #scroll_right {
    	margin: 0 auto;
    	padding: 0;
    	position: absolute;
    	top: 55px;
    	left: 350px;
    }
    
    #welcome {
    	position: absolute;
    	left: 2700px;
    	top: 200px;
    	font-size: 18px;
    	height: 500px;
    	width: 300px;
    }
    
    #m_w_p_a {
    	background: #fff url(/jpgs/MUSIC_WRITING_PAINTINGS_ABOUT.jpg) no-repeat center;
    	width: 600px;
    	height: 400px;
    	position: absolute;
    	top: 1500px;
    	left:2500px;
    }
    
    
    
    a, a:focus {
    	border: none;
    	outline: none;
    }
    
    a.music {
    	position: absolute;
    	top: 0px;
    	left: 0px;
    }
    
    a.music:hover {
    	margin: 5px;
    }
    
    a.writing {
    	position: absolute;
    	top: 91px;
    	left: 0px;
    }
    
    a.writing:hover {
    	margin: 5px;
    }
    
    a.paintings {
    	position: absolute;
    	top: 192px;
    	left: 0px;
    }
    
    a.paintings:hover {
    	margin: 5px;
    }
    
    a.about {
    	position: absolute;
    	top: 285px;
    	left: 0px;
    }
    
    a.about:hover {
    	margin: 5px;
    
    }

  • #2
    bump bump

    Comment


    • #3
      You are missing a <body> tag just under the </head> tag.

      See if that fixes your problem.
      Evolution - The non-random survival of random variants.
      Physics is actually atoms trying to understand themselves.

      Comment


      • #4
        thanks a lot for that. nothing changed, strangely, after adding the body tag.

        i think it's still a resolution (or something) issue. not sure how to test for that or check.

        Comment


        • #5
          I just check this in FF and IE8. Both look good. I also shrunk the browser windows and they still look the same. What browser is he using?

          Here's a FF gotcha that kills me every so often Go to top menus and click
          VIEW=>ZOOM=>RESET

          IE is same but RESET is now 100%
          Evolution - The non-random survival of random variants.
          Physics is actually atoms trying to understand themselves.

          Comment


          • #6
            he was using FF and his laptop screen was really big. maybe he's just always zoomed out to make things look more epic.

            i'm thinking it's either zoom or resolution. he's in france right now so i can't check his settings for a couple more weeks. if it looks good for you and you're a developer maybe it's just him, his settings.

            *shrug*

            Comment

            Working...
            X
            😀
            🥰
            🤢
            😎
            😡
            👍
            👎