Web Design Forums

Welcome! Please register or log in: Forgot your password? Why register?
You are here: Web Design Forums » Web Design Help » HTML and CSS Help » Browser compatitibility RSS

Browser compatitibility

This thread was started by Unknown98 and has been viewed 292 times, and contains 4 replies, with the last reply made by Wired.
Post Reply
1
2 points at 100%
Posted June 27 '09 at 01:37 PM
      Posts: 33
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.
.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%;}
<!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.
Last edited June 30 '09 at 09:25 PM by Wired ("fixed bbcode"). Reply

Advertisement Register for free to hide these ads and participate in discussions!

2
328 points at 98% Repute
Posted June 28 '09 at 12:19 AM
      Posts: 721
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.
Steve,
Man I hate being dumb!
Aero Web Design
Last edited June 28 '09 at 12:23 AM by aeroweb99. Reply

3
2 points at 100%
Posted June 28 '09 at 08:21 PM
      Posts: 33
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.

4
2 points at 100%
Posted June 30 '09 at 09:19 PM
      Posts: 33
Er, what?

5
345 points at 100% Donor Moderator Repute WDFplus Member
Wired, Admin and WDF Alien Overlord Home page   Private message  
Posted June 30 '09 at 09:25 PM
      Posts: 6,275
next time if you're going to copy / paste from another forum, remove the crap their forum added to your code
Admin at houseofhelp.com
WDF Resources: The Rules
Founder/Creator/Admin of ZE SECRET PROJECT!

Was another WDF member's post helpful? Click the positive rating button () above the post.

Post Reply

Similar Threads
Thread Thread Starter Forum Replies Last Post
fit image to browser window noomski HTML and CSS Help 2 January 21 '06 02:26 PM
Designing for maximum browser compatibility ... Flutter General Design Discussion 8 October 12 '05 06:23 PM
MySQL Query Browser Wired MySQL and MaxDB 0 February 20 '05 02:42 AM
browser check specific / center pop up window onestepaway Javascript, AJAX, and JSON 1 May 27 '04 03:35 PM