Web Design Forums

HTML and CSS Help

Having problems with these web design scripting? Ask here.

Browser compatitibility



Site of the Month Nominations
ENTER YOUR SITE NOW!

Reply
 
LinkBack Thread Tools
Old June 27 '09, 01:37 PM (#1)
Unknown98 is offline
WDF Member
 
Unknown98's Avatar
 
Join Date: May 2008
Location: Houston
Posts: 38
Unknown98 is an unknown quantity at this point
Browser compatitibility

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.

Last edited by Wired; June 30 '09 at 09:25 PM. Reason: fixed bbcode
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old June 28 '09, 12:19 AM (#2)
aeroweb99 is offline
<div id="learn"></div>
 
aeroweb99's Avatar
 
Join Date: February 2008
Location: Port Huron, Michigan
Posts: 986
aeroweb99 is just really niceaeroweb99 is just really niceaeroweb99 is just really niceaeroweb99 is just really niceaeroweb99 is just really nice
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.

Last edited by aeroweb99; June 28 '09 at 12:23 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old June 28 '09, 08:21 PM (#3)
Unknown98 is offline
WDF Member
 
Unknown98's Avatar
 
Join Date: May 2008
Location: Houston
Posts: 38
Unknown98 is an unknown quantity at this point
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old June 30 '09, 09:19 PM (#4)
Unknown98 is offline
WDF Member
 
Unknown98's Avatar
 
Join Date: May 2008
Location: Houston
Posts: 38
Unknown98 is an unknown quantity at this point
Er, what?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old June 30 '09, 09:25 PM (#5)
Wired is online now
WDF Alien Overlord
 
Wired's Avatar
 
Join Date: April 2003
Posts: 6,421
Wired is just really niceWired is just really niceWired is just really niceWired is just really nice
Send a message via AIM to Wired
next time if you're going to copy / paste from another forum, remove the crap their forum added to your code
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

  Web Design Forums » Programming Help » HTML and CSS Help

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


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

 
User Infomation
Your Avatar

Site Of The Month

Ticket Cake
Ticket Cake

Ticket Cake is a drupal based event ticketing platform. It features that ability to browse events and share them.

Nominate Your Site Now!

Advertisement
WolfCMS.org

Latest Articles
- by RickM
- by bfsog

Advertisement

Partner Links



All times are GMT -4. The time now is 02:46 AM.


WebDesignForums.net is Copyright © 2010 RikeMedia.

SEO by vBSEO

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163