php-general Digest 16 May 2010 11:40:09 -0000 Issue 6747
Topics (messages 305261 through 305263):
Re: PHP Site with CSS and Internet Explorer
305261 by: Paulo Carvalho
305262 by: Mithun Shitole
Displaying errors
305263 by: Malka Cymbalista
Administrivia:
To subscribe to the digest, e-mail:
php-general-digest-subscr...@lists.php.net
To unsubscribe from the digest, e-mail:
php-general-digest-unsubscr...@lists.php.net
To post to the list, e-mail:
php-gene...@lists.php.net
----------------------------------------------------------------------
--- Begin Message ---
On 15/05/2010 18:19, Jim Lucas wrote:
Juan Rodriguez Monti wrote:
I guys,
I'm having some problems with the following.
I have a PHP Site working perfectly with HTML and CSS. The CSS runs
flawlessly in Firefox and Google Chrome. However, I'm having some
problems with Internet Explorer.
I'm not able to show it centered ( the .css is to show centered
content ) in any version of Internet Explorer. The CSS's Code is
available here[0].
Might be this is an Off-Topic question, however is closely related to
my PHP development.
If you know some hack or modification that I should do to make this
site compatible with IE, I would appreciate it a lot.
Thanks,
Juan
[0] http://pastebin.com/eLhz2CzM
Using your #container { ... } example. the only change I would make
is like this
body
{
text-align: center;
}
#container
{
margin: 0 auto;
width: 600px;
background:#fff;
text-align: left;
}
If you use this:
text-align:center; required for ie 5/6
Margin:0 auto;// center the container margin : 0 = top/bottom
auto=left/right
you will get a centered layout.
Paulo Carvalho
--- End Message ---
--- Begin Message ---
On Sat, May 15, 2010 at 7:00 PM, Juan Rodriguez Monti <
j...@rodriguezmonti.com.ar> wrote:
> I guys,
> I'm having some problems with the following.
>
> I have a PHP Site working perfectly with HTML and CSS. The CSS runs
> flawlessly in Firefox and Google Chrome. However, I'm having some
> problems with Internet Explorer.
>
> I'm not able to show it centered ( the .css is to show centered
> content ) in any version of Internet Explorer. The CSS's Code is
> available here[0].
>
> Might be this is an Off-Topic question, however is closely related to
> my PHP development.
>
> If you know some hack or modification that I should do to make this
> site compatible with IE, I would appreciate it a lot.
>
> Thanks,
> Juan
>
> [0] http://pastebin.com/eLhz2CzM
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
Do you use strict dtd?
I faced similar problems, and realized that using strict dtd is way out for
many annoying things that IE does in quirks mode.
--
Mithun
--- End Message ---
--- Begin Message ---
Hi all, we are running Apache 2.2.6 and PHP 5.2.6 on a Linux machine. If
someone gets an error when displaying a php web page, he does not get any error
message on the screen. The arror is written into the apache error log file,
but most users don't have access to the apache error logand i would like the
user to see the error on the screen.
Is there anything I can do?
thanks for any help.
Malka Cymbalista
Webmaster, Weizmann Institute of Science
malki.cymbali...@weizmann.ac.il
08-934-3036
--- End Message ---