| Author |
CSS and IE on PC site check
|
|
| M.A.Wilson 2005-09-14, 7:15 am |
| Hello all.
I've recently been having a go at a CSS site with no table use. I've checked
it on all browsers on a Mac (which is the type of computer I use)but not PC. A
friend of mine checked the site said it was fine on Firefox but not on the
dreaded IE. IE is deciding to ignore the fact that the borders of the wrapper
DIV are on auto to make the body of the site stay central, so everything is
locked to the left margin. However, for the inital splash page it works fine
for the same instruction. Can anyone see what I'm missing and as I don't have a
PC I feel like I'm driving in the dark a little. Could it be because I have two
seperate CSS source files?
Apparently everything is fine apart from that. So its not a major issue, just
annoying as I like to know why things don't do what I want them to.
The site is http://iammagpie.com/magpie_main.css
If anyone can help that'd be great. Normally I'd sort it myself but lack of PC
means I can't fiddle with something that looks OK on a Mac.
Thanks as always
M.A
| |
| Osgood 2005-09-14, 7:17 pm |
| Humm not sure why the first one works and the second doesnt. It's
nothing to do with your css stylesheet/s. Its to do with the doctype. IF
you remove the first line from the code below the internal pages will
center in PCIE6
This
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
to this
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
Rather strange as both page have the same doctype, one works the other
doesnt. Im sure there is simple explanation if I looked harder.
M.A.Wilson wrote:
> Hello all.
>
> I've recently been having a go at a CSS site with no table use. I've checked
> it on all browsers on a Mac (which is the type of computer I use)but not PC. A
> friend of mine checked the site said it was fine on Firefox but not on the
> dreaded IE. IE is deciding to ignore the fact that the borders of the wrapper
> DIV are on auto to make the body of the site stay central, so everything is
> locked to the left margin. However, for the inital splash page it works fine
> for the same instruction. Can anyone see what I'm missing and as I don't have a
> PC I feel like I'm driving in the dark a little. Could it be because I have two
> seperate CSS source files?
>
> Apparently everything is fine apart from that. So its not a major issue, just
> annoying as I like to know why things don't do what I want them to.
>
> The site is http://iammagpie.com/magpie_main.css
>
> If anyone can help that'd be great. Normally I'd sort it myself but lack of PC
> means I can't fiddle with something that looks OK on a Mac.
>
> Thanks as always
>
> M.A
>
| |
|
| Osgood wrote:
> Humm not sure why the first one works and the second doesnt. It's
> nothing to do with your css stylesheet/s. Its to do with the doctype. IF
> you remove the first line from the code below the internal pages will
> center in PCIE6
>
>
> This
>
>
> <?xml version="1.0" encoding="iso-8859-1"?>
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
> <html xmlns="http://www.w3.org/1999/xhtml">
>
>
> to this
>
>
>
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
> <html xmlns="http://www.w3.org/1999/xhtml">
>
>
> Rather strange as both page have the same doctype, one works the other
> doesnt. Im sure there is simple explanation if I looked harder.
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> M.A.Wilson wrote:
>
>
Doesnt the Doc Type have to be the first line in the document for it to
be valid?
Steve
| |
| .: Nadia :. *TMM* 2005-09-14, 7:18 pm |
|
"Dooza" <steve@arse.dooza.tv> wrote in message
news:4328078D.8000107@arse.dooza.tv...
> Doesnt the Doc Type have to be the first line in the document for it to be
> valid?
Yes it does, but not the XML prolog which is this line - shouldn't be
there - can throw a browser into quirks mode.
<?xml version="1.0" encoding="iso-8859-1"?>
--
Nadia
Team MM Volunteer for Dreamweaver
--------------------------------------------
http://www.csstemplates.com.au
Templates | CSS Templates |
http://www.DreamweaverResources.com
Dropdown Menu Templates | SEO Articles |Tutorials
---------------------------------------------
MM Dreamweaver Tutorials
http://macromedia.com/devnet/mx/dreamweaver/
---------------------------------------------
| |
| M.A.Wilson 2005-09-14, 7:18 pm |
| Thanks for the reply.
Yeah I will look into that.
I'm glad it wasn't just me who found it odd. Oh well. I will sort it.
Thanks
| |
| Murray *TMM* 2005-09-14, 7:30 pm |
| > Yes it does, but not the XML prolog which is this line - shouldn't be
> there - can throw a browser into quirks mode.
Can, and does. But only IE.
--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================
".: Nadia :. *TMM*" <nadia@REMOVETHISdreamweaverresources.com> wrote in
message news:dg9163$j6m$1@forums.macromedia.com...
>
> "Dooza" <steve@arse.dooza.tv> wrote in message
> news:4328078D.8000107@arse.dooza.tv...
>
>
> Yes it does, but not the XML prolog which is this line - shouldn't be
> there - can throw a browser into quirks mode.
>
> <?xml version="1.0" encoding="iso-8859-1"?>
>
> --
> Nadia
> Team MM Volunteer for Dreamweaver
> --------------------------------------------
> http://www.csstemplates.com.au
> Templates | CSS Templates |
> http://www.DreamweaverResources.com
> Dropdown Menu Templates | SEO Articles |Tutorials
> ---------------------------------------------
> MM Dreamweaver Tutorials
> http://macromedia.com/devnet/mx/dreamweaver/
> ---------------------------------------------
>
>
>
|
|
|
|
| Copyright 2003 - 2008 forum4designers.com Software forum Computer Hardware reviews |