mozilla

JavaScript and client side scripting.

Moderator: General Moderators

m3rajk
DevNet Resident
Posts: 1191
Joined: Mon Jun 02, 2003 3:37 pm

Post by m3rajk »

Gen-ik wrote:Yes it would be fantastic if all browsers worked in the same way but the only way that will happen is if one company created it, and with the current laws in place that will never happen. Another option would be for someone to create a group of people to come up with proper standards that ALL browsers had to stick with in order to be released to the public... but that won't happen either.

Take cars for example, they all need to be built to minimum standards but they all look different and handle different.
the first, that's been tried... M$ was told to stop. the second? that's also been tried. i refer to it as the w3c (world wide web consortium)
User avatar
m3mn0n
PHP Evangelist
Posts: 3548
Joined: Tue Aug 13, 2002 3:35 pm
Location: Calgary, Canada

Post by m3mn0n »

Gen-ik wrote:IE, NS, Mozilla, whatever......... if you coded to standards in the first place you wouldn't have had the problem.
Like I said, DW added the opposite slash since it was developed locally. I didn't code outside of standards. I always try to make sure my sites look good in all browsers out there, that's why I have 8 different ones installed on my computer. :)
User avatar
scorphus
Forum Regular
Posts: 589
Joined: Fri May 09, 2003 11:53 pm
Location: Belo Horizonte, Brazil
Contact:

Post by scorphus »

Sami wrote:I always try to make sure my sites look good in all browsers out there, that's why I have 8 different ones installed on my computer. :)
I tend to work that way too! Nice to know I'm not the only one :) ...

By the way, you said you're using the alt attribute in your <img> tags (i.e. alt="User Offline"). It seems that you are using it to get that information to be displayed on a hint by the browser.

Mozilla (and other W3C compilant browsers) will not show the alt attribute unless the image is not accessible. And this is what the alt attribute is about (alt from alternate, a text that could replace the image).

To use this effect you must specify the title attribute. And it works with almost every HTML tag. For example:

Code: Select all

<a href="http://www.php.net" title="powered by PHP">PHP: Hypertext Preprocessor</a>
When the user places the mouse over the link, the browser displays the hint "powered by PHP".

Cheers,
Sco.
Post Reply