Web Analytics Made Easy -
StatCounter MAC/PC Issue with CSS - CodingForum

Announcement

Collapse
No announcement yet.

MAC/PC Issue with CSS

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

  • MAC/PC Issue with CSS

    Hello,
    I am building a website on a Mac computer and it looks good as of now, yet when I visualize it on a PC it is completely off to the point in which many items do not appear.

    This is my website on my MAC:


    and this is how it looks like on a PC:


    The website itself is: http://www.shifumi-collections.com/beta/

    and finally the css and html code:

    Code:
    @charset "UTF-8";
    
    html {
    	height: 100%;
    	overflow:hidden;
    }
    	
    body {
    	font: 100%/1.4 Verdana, Arial, Helvetica, sans-serif;
    	margin: 0;
    	padding: 0;
    	background:url(images/baackground.jpg);
    	height: 100%;
    }
    
    /* ~~ Element/tag selectors ~~ */
    ul, ol, dl { /* Due to variations between browsers, it's best practices to zero padding and margin on lists. For consistency, you can either specify the amounts you want here, or on the list items (LI, DT, DD) they contain. Remember that what you do here will cascade to the .nav list unless you write a more specific selector. */
    	padding: 0;
    	margin: 0;
    }
    h1, h2, h3, h4, h5, h6, p {
    	margin-top: 0;	 /* removing the top margin gets around an issue where margins can escape from their containing div. The remaining bottom margin will hold it away from any elements that follow. */
    	padding-right: 15px;
    	padding-left: 15px; /* adding the padding to the sides of the elements within the divs, instead of the divs themselves, gets rid of any box model math. A nested div with side padding can also be used as an alternate method. */
    }
    a img { /* this selector removes the default blue border displayed in some browsers around an image when it is surrounded by a link */
    	border: none;
    }
    /* ~~ Styling for your site's links must remain in this order - including the group of selectors that create the hover effect. ~~ */
    a:link {
    	color: #42413C;
    	text-decoration: underline; /* unless you style your links to look extremely unique, it's best to provide underlines for quick visual identification */
    }
    a:visited {
    	color: #6E6C64;
    	text-decoration: underline;
    }
    a:hover, a:active, a:focus { /* this group of selectors will give a keyboard navigator the same hover experience as the person using a mouse. */
    	text-decoration: none;
    }
    
    /* ~~ this fixed width container surrounds all other elements ~~ */
    
    #border {
    	border-top: solid;
    	border-width:thin;
    	width: 100%;
    
    }
    
    #left {
    	width: 300px;
    	min-height: 100%;
    	margin-left: 100px;
    	float:left;
    	z-index: 4;
    	border-right: solid;
    	border-width:thin;
    }
    
    #right {
    	width: 100%;
    	height: 600px;
    	z-index: 0;
    	margin-left: 301px;
    	margin-top: -600px;
    }
    
    #postit {
    	margin-top: -50px;
    	margin-right: 50px;
    	width: 200px;
    	height: 200px;
    	float:right;
    	z-index: 1;
    }
    
    #links {
    	margin-top: 30px;
    	margin-bottom: 10px;
    	margin-left: 50px;
    	width: 100px;
    	height: 40px;
    }
    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">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <link href="style.css" rel="stylesheet" type="text/css" />
    <title>shifumi collections</title>
    <script src="Scripts/swfobject_modified.js" type="text/javascript"></script>
    </head>
    
    <div id="links">
    
    <table width="100" border="0" cellpadding="2">
      <tr>
        <td><img src="images/french.jpg" width="30" height="20" /></td>
        <td><img src="images/english.jpg" width="30" height="20" /></td>
        <td><a href="https://www.facebook.com/shifumicollections" target="_self" border="0"><img src="images/facebook.jpg" width="30" height="30" /></td>
      </tr>
    </table>
    
    </div>
    
    <div id="postit">
      <img src="images/post1.png" width="180" height="189" />
    </div>
    
    <div id="border"></div>
    
    <div id="left">
    
    	  <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="300" height="600" id="FlashID" title="">
        <param name="movie" value="http://www.shifumi-collections.com/beta/menu.swf" />
        <param name="quality" value="high" />
        <param name="wmode" value="transparent" />
        <param name="swfversion" value="10.0.0.0" />
        <!-- This param tag prompts users with Flash Player 6.0 r65 and higher to download the latest version of Flash Player. Delete it if you don't want users to see the prompt. -->
        <param name="expressinstall" value="Scripts/expressInstall.swf" />
        <!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. -->
        <!--[if !IE]>-->
        <object type="application/x-shockwave-flash" data="http://www.shifumi-collections.com/beta/menu.swf" width="300" height="600">
          <!--<![endif]-->
          <param name="quality" value="high" />
          <param name="wmode" value="transparent" />
          <param name="swfversion" value="10.0.0.0" />
          <param name="expressinstall" value="Scripts/expressInstall.swf" />
          <!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. -->
          <div>
            <h4>Content on this page requires a newer version of Adobe Flash Player.</h4>
            <p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" width="112" height="33" /></a></p>
          </div>
          <!--[if !IE]>-->
        </object>
        <!--<![endif]-->
      </object>
      <script type="text/javascript">
    swfobject.registerObject("FlashID");
        </script>
    
    
    
    <div id="right">
    <iframe name="content" frameborder="0" height="600" width="700" scrolling="no" allowTransparency="true">You need a Frames Capable browser to view this content.</iframe> 
    </div>
    
    <script type="text/javascript">
    swfobject.registerObject("FlashID");
    </script>
    </body>
    </html>

  • #2
    Fix these errors first and then have another look.
    Stop solving problems you don’t yet have!

    Comment


    • #3
      Originally posted by VIPStephan View Post
      Fix these errors first and then have another look.
      .... that did it!

      cheers mate

      Comment

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