• About Us
  • Search
  • Compatibility
  • Forums
  • Archive
  • Channels
  • Home
  • Search
  • Member List
  • Calendar
  • Help

Current time: 10-13-2008, 02:40 AM Hello There, Guest! (Login — Register)


Warp2Search - Your Daily Tech News Service / Hardware & Software / General Software / IE Vs !IE

Post Reply  Post Thread 
Threaded Mode | Linear Mode
IE Vs !IE
Author Message
XIII
Senior Member
****


Posts: 461
Group: Registered
Joined: Mar 2003
Status: Offline
Reputation: 0
Post: #1
IE Vs !IE

Hi everyone i have a problem with browser (other then IE). I have created a web page for my school project, but i found that the page only likes IE, Mozilla, and opera don't like to run it. for example (minor problem) ,

<a href="any.html" onmouseover="style.color='red'" onmouseout="style.color='820183' "><--<font size=7>B</font>ack <font size=7>t</font>o <font size=7>p</font>revious <font size=7>p</font>age......</a>

copy it and save it as .html.

It works in IE but mozilla display it wrongly, tell me if yours works fine. The worse thing is that i have problem in calculation page in mozilla, IE works fine, Please help me to locate the problem. Is it because of the browser or my bad programming practices. Thanks in advance.

03-05-2004 09:10 AM
Find all posts by this user Quote this message in a reply
Dark Biene
Super Moderator
******


Posts: 1,649
Group: Super Moderators
Joined: Feb 2004
Status: Offline
Reputation: 0
Post: #2
 

mhhh.... i tried but i don´t know if it´s good
the only thing that was displayed was : Back to previous Page with big
fonts at beginning of the word and everything was underlined

i use FireFox 0.8

but the bigger fonts are underlined but not in one row with the smaller fonts

on IE everything was underlined in one row and the beginning fonts are bigger

but locate the prob u should wait
i never did something like that , sorry


Intel Q6600 @3,6Ghz@FSB400 - Watercooled
8800GTX - Watercooled
Gigabyte X38 DQ6 - Watercooled
2x2GB OCZ Platinum 800 @1066Mhz@5-5-5-15
2x320GB Seagate RAID0 @ TX2300 - Watercooled
Audigy 2 ZS @ Creative 5400 5.1
03-05-2004 12:48 PM
Visit this user's website Find all posts by this user Quote this message in a reply
XIII
Senior Member
****


Posts: 461
Group: Registered
Joined: Mar 2003
Status: Offline
Reputation: 0
Post: #3
 

That is what i want to say, is someone here expert in Javascript?

Last time i didn't like IE that much, but for now, i think IE is a Max Compability browser, and the mozilla is a good in feature and speed.

Anyway is any javascript expert here?

03-05-2004 03:36 PM
Find all posts by this user Quote this message in a reply
PhrostByte
Junior Member
**


Posts: 46
Group: Registered
Joined: Mar 2003
Status: Offline
Reputation: 0
Post: #4
 

1) use stylesheets to change link color, not j

Code:
<style>
a{color:820183}
a:hover{color:ff0000}
</style>

or, if you only want it for that one link:

Code:
<style>
.mylink{color:820183}
.mylink:hover{color:ff0000}
</style>
...
<a href="any.html" class="mylink">blah</a>


2) don't use <font> inside <a>, it's bad.

3) use double-quotes around attributes in tags.


http://www.int64.org - When 4GiB of RAM just isn't enough.

This post was last modified: 03-06-2004 07:06 AM by PhrostByte.

03-06-2004 06:07 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Hancoque
Member
***


Posts: 86
Group: Registered
Joined: Dec 2003
Status: Offline
Reputation: 0
Post: #5
 

I recommend to avoid deprecated elements like <font> completely. Use stylesheets instead.

Example:
<span style="font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; color: #FF0000">example text</span>

Using this list of fonts for a Verdana-like font display ensures maximum compatibility across different computer platforms. For instance Linux has no font Verdana. It would default to a serif font similar to Times New Roman if you don't note down the other fonts, too, thus changing the look of the page. Using px as measuring unit ensures that the font size will be the same on every system regardless of the used DPI setting (which varies across different computer platforms).

03-06-2004 06:26 AM
Find all posts by this user Quote this message in a reply
XIII
Senior Member
****


Posts: 461
Group: Registered
Joined: Mar 2003
Status: Offline
Reputation: 0
Post: #6
 

Yeah, CSS is a great techniques, i admit it, but the project that i am doing is javascript, that is why i need to used all javascript if posible for high marks.

Anyway thanks for the opinion, I think i have calculation problem solved already. LOL

03-06-2004 01:05 PM
Find all posts by this user Quote this message in a reply
Hancoque
Member
***


Posts: 86
Group: Registered
Joined: Dec 2003
Status: Offline
Reputation: 0
Post: #7
 

But I wouldn't use JS for such somewhat silly functions, because it's simpler implemented with stylesheets or even normal HTML. If you want JS mouseover effects for links, use a graphic link. Then it would totally make sense to use JS in this situation, and also looks much better. It's also much more code, so much better grades. Smile

03-06-2004 02:19 PM
Find all posts by this user Quote this message in a reply
« Next Oldest | Next Newest »
Post Reply  Post Thread 

View a Printable Version
Send this Thread to a Friend
Subscribe to this Thread | Add Thread to Favorites

Forum Jump:

Contact Us | Warp2Search.Net | Return to Top | Return to Content | RSS Syndication

Powered By MyBB
Copyright © 2002-2008 MyBB Group