Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 5 of 5
  1. #1
    Member Unknown98's Avatar
    Join Date
    May 2008
    Location
    Houston
    Posts
    46
    Member #
    16866
    Ok - here's my site I just started today: www.mercfire.kh3.us/governist
    It's fine in IE8, but in FF it's messed up. What code below do I need to change to allow for universal browser support? Firefox and IE are my main concerns right now, Safari & chrome are pluses.
    Code:
    .wrapper{
      width:95%;
      border:1px solid #404040;
      margin-left: auto;
      margin-right: auto;}
    .header{
      width:100%;
      text-align:center;}
    .logo{
      width:100%;
      text-align:left;}
    .news{
      margin:1%;
      width:35%;
      border:1px solid #000;
      text-align:left;
      padding:5px;
      float:right;}
    .menu{
      width:100%;}
    HTML Code:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
    "[URL="http://www.w3.org/TR/html4/strict.dtd"]http://www.w3.org/TR/html4/strict.dtd[/URL]">
    <html>
     <head>
      <title>Governist</title>
      <meta name="copyright" content="2009, Governist.  All rights reserved.">
      <meta name="keywords" content="Governist, free, game, business, simulation, online, country, countries, politics" />
     <meta name="description" content="Play Governist, a revoultionary new online game." /> 
     
     
      <link rel="stylesheet" href="css/default.css" type="text/css" media="screen" />
     
     </head>
    <body>
    <div class="wrapper">
     <div class="header">
        <div class="logo">
        <img src="images/logo.png" />
      <div class="news">
        <? include("includes/text/news.txt"); ?>
        </div>
        </div>
     
      </div>
     <div class="menu">
       <? include("menu.html"); ?>
      </div>
    </div>
    </body>
    </html>
    Combatibality and security are my two bad points.

  2.  

  3. #2
    Senior Member aeroweb99's Avatar
    Join Date
    Feb 2008
    Location
    Port Huron, Michigan
    Posts
    1,037
    Member #
    16468
    Liked
    1 times
    I moved your news div before the logo image and it fixed it.


    <div class="wrapper">
    <div class="header">
    <div class="logo">

    <div class="news">
    Current news - Governist is in devolopment! w00t!
    We will win over the gaming world... Holiverh is awesome! W00t! </div>


    <img src="images/logo.png" width="200" height="100" />

    </div>

    </div></div>

    By the way, you should get that css for the menu in a stylesheet and out of the markup.

  4. #3
    Member Unknown98's Avatar
    Join Date
    May 2008
    Location
    Houston
    Posts
    46
    Member #
    16866
    Thanks, I will update that code when I can.

    And I got the menu from www.izzymenu.com, so I just uploaded the files they gave me to download.

  5. #4
    Member Unknown98's Avatar
    Join Date
    May 2008
    Location
    Houston
    Posts
    46
    Member #
    16866
    Er, what?

  6. #5
    WDF Staff Wired's Avatar
    Join Date
    Apr 2003
    Posts
    7,656
    Member #
    1234
    Liked
    137 times
    next time if you're going to copy / paste from another forum, remove the crap their forum added to your code
    The Rules
    Was another WDF member's post helpful? Click the like button below the post.

    Admin at houseofhelp.com


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 12:34 PM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com