Re: [WSG] IE6/7 behaviour

2008-06-24 Thread Rob Enslin
Hi @James and @Gunlaug,

Points noted on the page declaration issues. Thanks.

Rob

2008/6/24 James Pickering <[EMAIL PROTECTED]>:

>
>  "Gunlaug Sørtun" <[EMAIL PROTECTED]> wrote:
> > The combination of declarations you have now is a somewhat new one - to
> > me at least. An XML declaration has no place above an HTML DTD in an
> > HTML document, and the DTD is incomplete and triggers "quirks mode" in
> > all browsers...
> >
> > 
>
> Indeed, the XML declaration has no place here, and XHTML Markup is being
> used with an HTML 4.01 Transitional (?) Doctype.
>
> James
> --
> http://jp29.org/
> Semantic Web Page Authoring
> Validated: HTML/XHTML/XHTML+RDFa ~ CSS ~ RDF/XML - DC Metadata/RSS Feed
>
>
>
>
> ***
> List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
> Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
> Help: [EMAIL PROTECTED]
> ***
>
>


-- 
Rob Enslin
Blog: http://enslin.co.uk
Twitter: http://twitter.com/robenslin


***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***


Re: [WSG] IE6/7 behaviour

2008-06-24 Thread James Pickering
 
 "Gunlaug Sørtun" <[EMAIL PROTECTED]> wrote: 
> The combination of declarations you have now is a somewhat new one - to
> me at least. An XML declaration has no place above an HTML DTD in an
> HTML document, and the DTD is incomplete and triggers "quirks mode" in
> all browsers...
> 
> 

Indeed, the XML declaration has no place here, and XHTML Markup is being used 
with an HTML 4.01 Transitional (?) Doctype. 

James
--
http://jp29.org/
Semantic Web Page Authoring
Validated: HTML/XHTML/XHTML+RDFa ~ CSS ~ RDF/XML - DC Metadata/RSS Feed




***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***



Re: [WSG] IE6/7 behaviour

2008-06-24 Thread Gunlaug Sørtun

Rob Enslin wrote:
Although not a standards-based question (I think) I wonder if anyone 
has the 'fix' for it?



The page: http://www.servicemanagement.co.uk/new.htm


Maybe better to trigger "standard mode" in browsers first, and add fixes
later.

The combination of declarations you have now is a somewhat new one - to
me at least. An XML declaration has no place above an HTML DTD in an
HTML document, and the DTD is incomplete and triggers "quirks mode" in
all browsers...



If you really want "quirks mode" rendering, you may as well delete both
these lines...




regards
Georg
--
http://www.gunlaug.no


***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***



Re: [WSG] IE6/7 behaviour

2008-06-24 Thread Matijs
I assume by IE in this case you mean IE6, not that it's younger brother
doesn't have its share of problems ;) In IE7 centering a column like this
should work.

But what Gonzalo said should work. He just beat me to it :)

If you're interested in trying a different way, have a look at this:

http://www.bluerobot.com/web/css/center2.html

Gr.

Matijs

On Tue, Jun 24, 2008 at 4:41 PM, Rob Enslin <[EMAIL PROTECTED]> wrote:

> Hi all, if this is off topic I apologise in advance.
>
> I have a slight issue with IE (surprise surprise) on a page I'm *working*
> on. In FF and Safari (PC and Mac) my page is centred (#wrap). In IE it's
> not. Although not a standards-based question (I think) I wonder if anyone
> has the 'fix' for it?
>
> Code CSS snippet:
>
> body {
> margin: 0;
> padding: 0;
> }
>
> #wrap {
> width: 832px;
> margin: 0 auto;
> }
>
> The page: http://www.servicemanagement.co.uk/new.htm
>
> Many thanks in advance,
>
> Rob
>
>
> --
> Rob Enslin
> Blog: http://enslin.co.uk
> Twitter: http://twitter.com/robenslin
> ***
> List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
> Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
> Help: [EMAIL PROTECTED]
> ***


***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***

Re: [WSG] IE6/7 behaviour

2008-06-24 Thread Jon Tan


On 24 Jun 2008, at 15:41, Rob Enslin wrote:

Code CSS snippet:

body {
margin: 0;
padding: 0;


text-align: center;



}

#wrap {
width: 832px;
margin: 0 auto;
}



…that should do it.

All the best,

Jon
-
http://jontangerine.com/



***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***


Re: [WSG] IE6/7 behaviour

2008-06-24 Thread Rob Enslin
Hi @Gonzalo - fantastic! Thank you.

Rob

[Moleskin note book where are you?]

2008/6/24 Gonzalo González Mora <[EMAIL PROTECTED]>:

> On Tue, Jun 24, 2008 at 11:41 AM, Rob Enslin <[EMAIL PROTECTED]> wrote:
>
>> Hi all, if this is off topic I apologise in advance.
>>
>> I have a slight issue with IE (surprise surprise) on a page I'm *working*
>> on. In FF and Safari (PC and Mac) my page is centred (#wrap). In IE it's
>> not. Although not a standards-based question (I think) I wonder if anyone
>> has the 'fix' for it?
>>
>> Code CSS snippet:
>>
>> body {
>> margin: 0;
>> padding: 0;
>> }
>>
>> #wrap {
>> width: 832px;
>> margin: 0 auto;
>> }
>>
>> The page: http://www.servicemanagement.co.uk/new.htm
>>
>> Many thanks in advance,
>>
>> Rob
>>
>>
>> --
>> Rob Enslin
>> Blog: http://enslin.co.uk
>> Twitter: http://twitter.com/robenslin
>> ***
>> List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
>> Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
>> Help: [EMAIL PROTECTED]
>> ***
>
>
> Hi Rob,
> Try adding text-align:center; to the body and text-align:left; to the
> #wrap.
>
> Gonzalo
>
>
> ***
> List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
> Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
> Help: [EMAIL PROTECTED]
> ***
>



-- 
Rob Enslin
Blog: http://enslin.co.uk
Twitter: http://twitter.com/robenslin


***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***


Re: [WSG] IE6/7 behaviour

2008-06-24 Thread Sagnik Dey
Sorry...forgot to complete the code...you have to further align the text
left in the *#wrap *

#wrap {
width: 832px;
margin: 0 auto;
text-align:left;
}

-- 
Cheers to life

Sagnik ::
26four79.com





On Tue, Jun 24, 2008 at 8:38 PM, Sagnik Dey <[EMAIL PROTECTED]> wrote:

>
> Hi Rob,
>
> Use *text-align:center *in body
>
> body {
> margin: 0;
> padding: 0;
> text-align:center;
> }
>
> --
> Cheers to life
>
> Sagnik ::
> 26four79.com
>
>
>
>
> On Tue, Jun 24, 2008 at 8:11 PM, Rob Enslin <[EMAIL PROTECTED]> wrote:
>
>> Hi all, if this is off topic I apologise in advance.
>>
>> I have a slight issue with IE (surprise surprise) on a page I'm *working*
>> on. In FF and Safari (PC and Mac) my page is centred (#wrap). In IE it's
>> not. Although not a standards-based question (I think) I wonder if anyone
>> has the 'fix' for it?
>>
>> Code CSS snippet:
>>
>> body {
>> margin: 0;
>> padding: 0;
>> }
>>
>> #wrap {
>> width: 832px;
>> margin: 0 auto;
>> }
>>
>> The page: http://www.servicemanagement.co.uk/new.htm
>>
>> Many thanks in advance,
>>
>> Rob
>>
>>
>> --
>> Rob Enslin
>> Blog: http://enslin.co.uk
>> Twitter: http://twitter.com/robenslin
>> ***
>> List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
>> Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
>> Help: [EMAIL PROTECTED]
>> ***
>
>
>
>
>
>


-- 
Cheers to life

Sagnik ::
26four79.com


***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***

Re: [WSG] IE6/7 behaviour

2008-06-24 Thread Sagnik Dey
Hi Rob,

Use *text-align:center *in body

body {
margin: 0;
padding: 0;
text-align:center;
}

-- 
Cheers to life

Sagnik ::
26four79.com



On Tue, Jun 24, 2008 at 8:11 PM, Rob Enslin <[EMAIL PROTECTED]> wrote:

> Hi all, if this is off topic I apologise in advance.
>
> I have a slight issue with IE (surprise surprise) on a page I'm *working*
> on. In FF and Safari (PC and Mac) my page is centred (#wrap). In IE it's
> not. Although not a standards-based question (I think) I wonder if anyone
> has the 'fix' for it?
>
> Code CSS snippet:
>
> body {
> margin: 0;
> padding: 0;
> }
>
> #wrap {
> width: 832px;
> margin: 0 auto;
> }
>
> The page: http://www.servicemanagement.co.uk/new.htm
>
> Many thanks in advance,
>
> Rob
>
>
> --
> Rob Enslin
> Blog: http://enslin.co.uk
> Twitter: http://twitter.com/robenslin
> ***
> List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
> Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
> Help: [EMAIL PROTECTED]
> ***


***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***

Re: [WSG] IE6/7 behaviour

2008-06-24 Thread Gonzalo González Mora
On Tue, Jun 24, 2008 at 11:41 AM, Rob Enslin <[EMAIL PROTECTED]> wrote:

> Hi all, if this is off topic I apologise in advance.
>
> I have a slight issue with IE (surprise surprise) on a page I'm *working*
> on. In FF and Safari (PC and Mac) my page is centred (#wrap). In IE it's
> not. Although not a standards-based question (I think) I wonder if anyone
> has the 'fix' for it?
>
> Code CSS snippet:
>
> body {
> margin: 0;
> padding: 0;
> }
>
> #wrap {
> width: 832px;
> margin: 0 auto;
> }
>
> The page: http://www.servicemanagement.co.uk/new.htm
>
> Many thanks in advance,
>
> Rob
>
>
> --
> Rob Enslin
> Blog: http://enslin.co.uk
> Twitter: http://twitter.com/robenslin
> ***
> List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
> Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
> Help: [EMAIL PROTECTED]
> ***


Hi Rob,
Try adding text-align:center; to the body and text-align:left; to the #wrap.

Gonzalo


***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***

[WSG] IE6/7 behaviour

2008-06-24 Thread Rob Enslin
Hi all, if this is off topic I apologise in advance.

I have a slight issue with IE (surprise surprise) on a page I'm *working*
on. In FF and Safari (PC and Mac) my page is centred (#wrap). In IE it's
not. Although not a standards-based question (I think) I wonder if anyone
has the 'fix' for it?

Code CSS snippet:

body {
margin: 0;
padding: 0;
}

#wrap {
width: 832px;
margin: 0 auto;
}

The page: http://www.servicemanagement.co.uk/new.htm

Many thanks in advance,

Rob


-- 
Rob Enslin
Blog: http://enslin.co.uk
Twitter: http://twitter.com/robenslin


***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***