NYCPHP Meetup

NYPHP.org

[nycphp-talk] CSS problem???

PaulCheung paulcheung at tiscali.co.uk
Mon Jul 28 06:57:27 EDT 2008


Thanks everybody

Great suggestion Erik and I am checking it out.
John when you say - Make sure you have a doctype that put IE into "standards 
mode" I am not sure how to do that.
Could either of you gve me snippets of coding so that I can see what these 
quirks, strict and standard mode locoding looks like.

Paul

----- Original Message ----- 
From: "John Campbell" <jcampbell1 at gmail.com>
To: "NYPHP Talk" <talk at lists.nyphp.org>
Sent: Sunday, July 27, 2008 7:41 PM
Subject: Re: [nycphp-talk] CSS problem???


> Welcome to the world of web development.
>
> Cross browser css development is plagued with problems.  IE 6 is
> consistently the worst offender.
>
> Even something as simple as centering a block is different in IE, and
> the standards compatible browsers.  There are dozens of quirks, and it
> is not something that is easy to learn, but I'll give you a few
> pointers.
>
> 1) Make sure you have a doctype that put IE into "standards mode"
> 2) Get firebug and use the inspector to learn from other people's code.
> 3) Do some reading on "CSS columns", "CSS clear fix", "CSS centering",
> "CSS IE bugs".  There are tons of articles and blogs that contain
> useful pointers.
> 4) Make sure you understand the box model inside and out.
>
> Hope that helps,
> -John Campbell
>
>
> On Sun, Jul 27, 2008 at 2:23 PM, PaulCheung <paulcheung at tiscali.co.uk> 
> wrote:
>> Hi
>>
>> I am at the stage where I need to put style to the site and am using CSS.
>> with Firefox, Opera, Internet Explorer and Safari to test for browser
>> compatibility. What I find puzzling is there seems to be differences in 
>> the
>> styles of output, Using the same the exact same coding the only varible 
>> in
>> the testing are the browsers themselves.
>>
>> Paul.
>> _______________________________________________
>> New York PHP Community Talk Mailing List
>> http://lists.nyphp.org/mailman/listinfo/talk
>>
>> NYPHPCon 2006 Presentations Online
>> http://www.nyphpcon.com
>>
>> Show Your Participation in New York PHP
>> http://www.nyphp.org/show_participation.php
>>
> _______________________________________________
> New York PHP Community Talk Mailing List
> http://lists.nyphp.org/mailman/listinfo/talk
>
> NYPHPCon 2006 Presentations Online
> http://www.nyphpcon.com
>
> Show Your Participation in New York PHP
> http://www.nyphp.org/show_participation.php 




More information about the talk mailing list