Forums

This topic is locked

Browser compatibility and Layer commands

Posted 28 Mar 2007 21:09:08
1
has voted
28 Mar 2007 21:09:08 Luke Wallace posted:
How do you make your design compatible with all browsers, or do you just worry about that the majority of people use internet explorer, and the mac users use safari. Is safari better webbrowser than Netscape was, and what about Mozilla, i really don't like this browser.

Anyway is it important to make your design compatible with all browsers or does XHTML1.0 strict do that for you.

Dreamweaver puts up a whole lot of non supported comments when you add things to the design.


Also can some one answer me this.

Div versus Span versus layer. I have found Table to be really hard to manipulate or add cells later.



Which is better to use?

And if that you want your layer (be it Div, Span, or layer) to have CSS attributes, then do you need to have commands such as these.

<div id="layer name" Class="layer name"> </div>

or does

<div class="layer name"> </div>

Suffice

Cheers.

Boo hoo

Replies

Replied 29 Mar 2007 11:40:44
29 Mar 2007 11:40:44 simon marlow replied:
You should make sure that your design works in all major browsers, it's not unusual for it to look slightly different in different browsers becuase of issues with css padding etc.

The major browsers that will show up differences to do with css are Firefox, IE6 and now IE7, check your design on these browsers and you are not going to be far wrong.

XHTML strict can be quite restrictive when designing so perosnally I would use XHTML Transitional to start with, this will ensure that the semantics of your site are right, you can check it with W3C.

Using &lt;div id="divname"&gt;&lt;/div&gt;<b></b> will allow you to create a css style called #divname<b></b> to format the div.

hope that helps,

Regards,

sdm

Reply to this topic