4 replies [Last post]
c1sissy
c1sissy's picture
Offline
Regular
nj
Last seen: 12 years 28 weeks ago
nj
Timezone: GMT-4
Joined: 2003-06-15
Posts: 37
Points: 0

http://c.1asphost.com/c1sissy/div%20test%20pages/divsboxexmple5.htm

http://c.1asphost.com/c1sissy/div%20test%20pages/divsboxexmple5b.htm

The above two links I have been playing with and playing with trying to get them to position as I would like to see them do so. In NN they are just as I would like them to look. Howver in IE, they are too far apart.

Any help or suggestions would be greatly greatly appreciated!

c1sissy

^i^

The only stupid question is... the one that is never asked!!

http//directory.css-styling.com
http//fms-forum.com

Tony
Tony's picture
Offline
Moderator
Brisbane
Last seen: 1 week 3 days ago
Brisbane
Timezone: GMT+10
Joined: 2003-03-12
Posts: 5344
Points: 2965

NN & IE help please

Hi c1sissy,
If you have anything above the doctype it throws the browser into quirks mode.
In your examples you have

Quote:
<?xml version="1.0" encoding="iso-8859-1"?>
above the doctype. Try removing it as it is not really needed in XHTML documents.

Hope that helps

c1sissy
c1sissy's picture
Offline
Regular
nj
Last seen: 12 years 28 weeks ago
nj
Timezone: GMT-4
Joined: 2003-06-15
Posts: 37
Points: 0

NN &amp; IE help please

Quote:
Hi c1sissy,
If you have anything above the doctype it throws the browser into quirks mode.
In your examples you have Quote:
<?xml version="1.0" encoding="iso-8859-1"?>
above the doctype. Try removing it as it is not really needed in XHTML documents.

Hope that helps

_________________

Hi Tony,
what I did was search until my eyes were bulding out of the sockets, lol. Found out that using the @import is a way to get around this. Works like a charm. So I actually have two style sheets. One linked and one @import. This is great and it works.
http://c.1asphost.com/c1sissy/div%20test%20pages/divsboxexmple5c.htm

Also, the prolog. A previous posting in here stated that I should use the prolog. It was in the thread in regards to the scrollbar coloring.

Now I am totally confused as to use or not to use the prolog!

btw, thanks for your help.

c1sissy

^i^

The only stupid question is... the one that is never asked!!

http//directory.css-styling.com
http//fms-forum.com

Tony
Tony's picture
Offline
Moderator
Brisbane
Last seen: 1 week 3 days ago
Brisbane
Timezone: GMT+10
Joined: 2003-03-12
Posts: 5344
Points: 2965

NN &amp; IE help please

Hi c1sissy,
The thread that recommended using the prolog was for a site that wanted to use scrollbar effects. To get scrollbar effect working you need to be in quirks mode because they aren't part of the standards, they are an IE only property.

So using the prolog will still validate as strict xhtml but throw the browser into quirks or back compatable mode.

Leave the prolog out if you are trying to achieve strict or standards compatable mode.

Hope that helps

c1sissy
c1sissy's picture
Offline
Regular
nj
Last seen: 12 years 28 weeks ago
nj
Timezone: GMT-4
Joined: 2003-06-15
Posts: 37
Points: 0

NN &amp; IE help please

Hi Tony,
Thanks again for your time in answering.

It gets just a tad confusing when you should use it for one thing but not for the other Wink

At least I did get it to work with the @import.

Now I'll try the same thing without the @import and the prolog just to see what I get when i do.

c1sissy

^i^

The only stupid question is... the one that is never asked!!

http//directory.css-styling.com
http//fms-forum.com