SiteExperts.com Logo Home | Community | Developer's Paradise
User Groups | Site Tools | Site Information | Search
 Main Menu
 Forums
SiteExperts.com Forums
All Discussions

SiteExperts Feedback
The Lounge
Dynamic HTML
Site Design/ Critiques
HTML and CSS
XML Technologies
The Wireless Internet
Internet Explorer
Microsoft .NET
The Server
Technical Support

Sponsored Links

User Groups : Forums : SiteExperts : HTML and CSS :

Previous DiscussionNext Discussion
 Problem with box model

Hi there,

I have used -moz-box-sizing:border-box; box-sizing:border-box; in websites. The fact is that this box-sizing is not working in safari browser. Any one could pls help me, how to specify box model in safari???

Started By charan_s on Feb 21, 2007 at 2:54:23 AM

1 Response(s) | Reply

Earlier Replies | Replies 1 to 1 of 1 | Later Replies
brian on Feb 21, 2007 at 3:28:34 AM (# 1)

The short and long answer is you can't. This style is very specific to Mozilla/Firefox and I remember Microsoft getting ripped for doing something similar in the past....

The best thing you can do here is put IE into standards compliant mode by adding

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

to the top of your page (or even use the strict one) and you'll find that IE also doesn't display the boxes correctly. Then...fix it and it should work in Safari as well. Safari sucks though so don't count on it - it has more quirks than IE and that's saying something.


Earlier Replies | Replies 1 to 1 of 1 | Later Replies

To respond to a discussion, you must first logon.

If you are not registered, please register yourself to become a member of the SiteExperts.community.

User Name
Password
Copyright 1997-2004 InsideDHTML.com, LLC. All rights reserved.