Welcome Guest ( Log In | Register )




                Web Hosting

2 Pages V   1 2 >  
Reply to this topicNew Topic
Why A Site Is Viewed Differently In Browsers
danagym
post Jan 11 2005, 10:13 PM
Post #1


Newbie [ Level 2 ]
Group Icon

Group: Members
Posts: 19
Joined: 22-December 04
Member No.: 1,839


hi guys!
I have a real big problem...
I have made my site, and in explorer it is viewd perfectly!
When I loaded it on Mozilla Firefox, the first page looks like in explorer, but others are so ugly! a cell from the table is moving much more to the right!!!
what can I do? Why is so?

does it help visitors, if I write: best view: internet explorer ?
thanks!
Go to the top of the page
 
+Quote Post
Xaine
post Jan 11 2005, 10:20 PM
Post #2


Member [ Level 1 ]
Group Icon

Group: Members
Posts: 38
Joined: 16-December 04
From: In My Own Personal Hell
Member No.: 1,778


The reason for this, as it seems to me I could be wrong, you are useing a peice of code that is not supported properly by other browsers then explorer. I am sure there is on that you can find one to do the same thing but is supported by all of them.
Go to the top of the page
 
+Quote Post
NilsC
post Jan 11 2005, 10:45 PM
Post #3


To Err Is Human, To Forgive Divine
Group Icon

Group: Members
Posts: 558
Joined: 24-December 04
From: http://www.ultimatekayakfishing.
com/
Member No.: 1,871


After you write it then preview your website in Firefox, Mozilla or another compliant browser then use Internet Exploder hacks to show the same view in Explorer.

I try to make my pages look good in Mozilla and Firefox that way you can use the workarounds and make the page look similar in the non compliant browsers.

This code is from a css stylesheet to fix the menu for OE.
CODE
/* Fix IE. Hide from IE Mac \*/
* html #menu ul li{float:left;height:1%;}
* html #menu ul li a{height:1%;}
/* End */


Compliant browsers skip the comment and OE executes the lines and look pretty smile.gif
Go to the top of the page
 
+Quote Post
pbolduc
post Jan 11 2005, 11:03 PM
Post #4


Member - Active Contributor
Group Icon

Group: Members
Posts: 92
Joined: 15-December 04
From: New Mexico
Member No.: 1,759


QUOTE (danagym @ Jan 11 2005, 03:13 PM)
hi guys!
I have a real big problem...
I have made my site, and in explorer it is viewd perfectly!
When I loaded it on Mozilla Firefox, the first page looks like in explorer, but others are so ugly! a cell from the table is moving much more to the right!!!
what can I do? Why is so?

does it help visitors, if I write: best view: internet explorer ?
thanks!
*



It is best to view each page in the various browsers as you build them. Most designers, myself included do not understand the differences in browsers and how they read and view scripts.

You do not have to be a browser expert to build cross browser friendly sites. As you build each page. This way you will be able to circumvent any problems in browser differences before the entire site is completed and thus preventing considerable re-scripting time to make the site compatiable in all, or at least the primary browsers.

I don't think a"This Site is Best Viewed in XYZ Browser" is a good idea as it shows the world you are still in the browser learning curve. If you are building sites for others, you could loose business as a result.

Post the link so we can view it and possibly lend a hand.

pete cool.gif
Go to the top of the page
 
+Quote Post
danagym
post Jan 11 2005, 11:18 PM
Post #5


Newbie [ Level 2 ]
Group Icon

Group: Members
Posts: 19
Joined: 22-December 04
Member No.: 1,839


so this is the link: jantuan.com
to admins: this is not an advertising, just need help with browsers!
Go to the top of the page
 
+Quote Post
ChronicLoser
post Jan 12 2005, 04:07 AM
Post #6


Premium Member
Group Icon

Group: Members
Posts: 240
Joined: 13-November 04
From: Arizona
Member No.: 1,356


i don't see what's the problem. It seems to work well enough in my firefox...unless i'm looking at it wrong lol ^_^
Go to the top of the page
 
+Quote Post
everydaysushi
post Jan 20 2005, 05:30 PM
Post #7


Member [ Level 1 ]
Group Icon

Group: Members
Posts: 32
Joined: 22-December 04
Member No.: 1,849


Nice web design. I'm on a Mac using the Safari browser and the page looks fine on first load. However when I click through, say, one of the packages, the images start misaligning. I think because the right side image is dependent on the text in the middle... So when the middle text changed, it changed size, thus sucking in or pushing out the image on the right that was supposed to line up seamlessly with the header.

Have you looked into iFrames? I just discovered these the other day and haven't gotten a chance to use them but they SOUND amazing. Lots of possibility and hopefully can help avoid problems like you're having. The frames are self-contained and can be placed INSIDE the window... so you could create your "container" image like you have, and put an iFrame inside with all your body text, etc... links can be placed on the "container" image and and target the iFrame... I think that's basically how you have your site set up now.

So check it out! biggrin.gif
Go to the top of the page
 
+Quote Post
overture
post Jan 21 2005, 05:48 PM
Post #8


Premium Member
Group Icon

Group: Members
Posts: 208
Joined: 6-September 04
From: England
Member No.: 315


ok basically there is no sure fire way for which you can get your site looking the same in all browsers. You have to be very careful of your coding and i suggest you just basically test it in browsers (ie, firefox, mozilla...) before you upload. It may not be a case of having the perfect coding, it is sometimes a mixture of that AND LUCK. When i decided to make a test site using firefox i just tested the layout in each and i kept changing the code until it was fine.

Also if you use Dreamweaver or other wysiwyg editors this again isn't going to solve the problem if you think the code which is generated is perfect (it isn't).

good luck.
Go to the top of the page
 
+Quote Post
NilsC
post Jan 21 2005, 06:32 PM
Post #9


To Err Is Human, To Forgive Divine
Group Icon

Group: Members
Posts: 558
Joined: 24-December 04
From: http://www.ultimatekayakfishing.
com/
Member No.: 1,871


I see this at the bottom of your page:
  • In OE the "Search Gimp" is centered
  • In Mozilla and Firefox it's aligned left.
Original code:
HTML
<p align="center">&nbsp;
<form method="get" target="_blank" action="http://www.gimpsy.com/gimpsy/searcher/cgi_natural.php" name="gimpsy_search"><font name="verdana">
<font face="Verdana" size="1">I want to</font><font size="1">..</font>. <input type="text" name="phrase" size="15"> <input type="submit" name="submit" size="15" value="Find at Gimpsy"></form>

</p>

If you add <div align="center"> before and </center> after the table should be aligned in OE and mozilla.
New Code:
HTML
<div align="center">

<p align="center">&nbsp;
<form method="get" target="_blank" action="http://www.gimpsy.com/gimpsy/searcher/cgi_natural.php" name="gimpsy_search"><font name="verdana">
<font face="Verdana" size="1">I want to</font><font size="1">..</font>. <input type="text" name="phrase" size="15"> <input type="submit" name="submit" size="15" value="Find at Gimpsy"></form>

</p>

</center>


Nils
Go to the top of the page
 
+Quote Post
MajesticTreeFrog
post Jan 21 2005, 08:28 PM
Post #10


Super Member
Group Icon

Group: Members
Posts: 692
Joined: 25-November 04
Member No.: 1,523


QUOTE (overture @ Jan 21 2005, 01:48 PM)
ok basically there is no sure fire way for which you can get your site looking the same in all browsers. You have to be very careful of your coding and i suggest you just basically test it in browsers (ie, firefox, mozilla...) before you upload. It may not be a case of having the perfect coding, it is sometimes a mixture of that AND LUCK. When i decided to make a test site using firefox i just tested the layout in each and i kept changing the code until it was fine.

Also if you use Dreamweaver or other wysiwyg editors this again isn't going to solve the problem if you think the code which is generated is perfect (it isn't).

good luck.
*


If you use dreamweaver, it adds some code to help make things look the same in different browsers. Even if some of the other code it generates isn't always perfect, these snippits are. Basically, it adds some stuff to make IE handle stuff correctly, and then a second hack to let the other browsers do so as well. In any case things like Dreamweaver just make life faster. I like DW MX 2004 because it has lots of nice code snippits.
Go to the top of the page
 
+Quote Post

2 Pages V   1 2 >
Reply to this topicNew Topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

Collapse

> Similar Topics

    Topic Title Replies Topic Starter Views Last Action
No New Posts   0 zainboy 63 25th December 2008 - 08:48 PM
Last post by: zainboy
No New Posts 10 PUNKANGEL 8,601 24th December 2008 - 11:33 AM
Last post by: kpxchunsa
No new   22 Marcella 2,509 24th December 2008 - 03:54 AM
Last post by: chifro
No New Posts   4 laniczech 267 12th December 2008 - 02:06 AM
Last post by: quack
No New Posts   2 TavoxPeru 270 10th December 2008 - 12:21 AM
Last post by: Sellaman
No New Posts