Google Community Chat
 
Design for IE or FireFox

You're visiting Google Community as a guest.
In order to post, you'll need to register and log in.


(If you were registered and logged in, these advertisements wouldn't be here)
Post new topic   Reply to topic    Google Community Forum Index // Web Design, Coding & Programming Forum
   
Author Message
ella
Junior Googler
Junior Googler


Joined: 31 May 2005

651.90 GC$

Items

PostPosted: Thu Jun 09, 2005 10:03 pm    Post subject: Design for IE or FireFox Reply with quote
I just recently realized the same site can look so different depend on browsing with IE or FireFox. Take my profile on MySpace for example :www.myspace.com/ellac

you see the defference? What can I do about it? How do I make a site that looks fine on both IE and FireFox?
Please tell me what you think.
Back to top
View user's profile Send private message
Uncared
Noogle
Noogle


Joined: 13 Jun 2005

387.05 GC$

Items

PostPosted: Mon Jun 13, 2005 5:45 pm    Post subject: Reply with quote
what i did was made 2 sites, one for Netscape Browsers(Firefox) and one for IE on the splash page it had Enter Netscape Site and IE, i know theres easiers ways but meh
Back to top
View user's profile Send private message
wissam
Googler
Googler


Joined: 01 Jul 2005
Location: tripoli/libya
2404.95 GC$

Items

PostPosted: Sat Jul 02, 2005 8:05 am    Post subject: Reply with quote
I have an Idea make two php pages , make a file called menu.txt and put all of your links there with the format "?page=home" For example and use dynamic includes to include the menu in two pages and use the this code in the content place:
<?php
$page = $_GET["page"];
$ext = "html";
If(!$page || $page == "" || file_exists("$page.$ext") == false)
{
echo("Can not find any file to include");
}
else {
include("$page.$ext");
}
?>
this will also print a message if the file to include does not exist.
Put all of your contents on html files :
for example "?page=avatars" will include the file avatars.html feel free to modify the code and change it to fit your needs.
now you don't have to make to sites just make to pages and the same menu file will need to be updated and the same contents .
hope that I helped you.
_________________
Back to top
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger
darrenstraight
Site Admin & Platinum Member
Site Admin & Platinum Member


Joined: 25 Jul 2004
Location: England
173385.09 GC$

Items

PostPosted: Sat Jul 02, 2005 2:33 pm    Post subject: Reply with quote
Hey nice site!

Anyway one way would be to make sure it's W3 Valid, though this does not always mean that it will work in both browsers as I have found out!
_________________
My Blog | Microsoft Discussion
Back to top
View user's profile Send private message Visit poster's website
mahangee
Noogle
Noogle


Joined: 02 Jul 2005

898.20 GC$

Items

PostPosted: Sat Jul 02, 2005 3:54 pm    Post subject: Reply with quote
I try and make my sites as friendly to as many browser on different platforms as possible. The easiest way to do this in my opinion is to use DIV's and CSS2.

However if you need different pages for IE and for FF couldn't you just have at the start page something which regonise's the users browser. Then display's the right content depending on the browser. This would only require 1 page and wouldn't be to hard to set up in PHP using $_SERVER['HTTP_USER_AGENT']; and IF statements.
Back to top
View user's profile Send private message
Sponsored Links
Posted: 5 Dec 2008 10:53 am    Post subject: Advertisements
Back to top
Post new topic   Reply to topic    Google Community Forum Index // Web Design, Coding & Programming Forum All times are GMT - 8 Hours
Page 1 of 1


 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Host your free forums with Invision Plus.net forum web hosting with your own subdomain.

alexisBlue v1.2 // Theme Created By: Andrew Charron // Icons in Part By: Travis Carden

© 2005-2006 Google Community

Powered by phpBB

Privacy Policy | Contact Us

Powered by Google Search blog

This website is not affiliated in any way with Google, Inc.
Google™ is a registered trademark of Google, Inc.