aligning with css

H

haig

Hi

I've been struggeling with some aligning with css. Ofcourse
it would be relatively easy if al browser were "the same".
Now take a look at this site if you like
http://users.pandora.be/wptst
As you can see it's just for testing. Is this the good way to
align some title, text, and navbar or are there beter? The
navbar and intro are behaving strange if I resize the browser.
Just some tips to do some good aligning are also welcome. How
do you guys work around the fact that IE interpretes some
things really weird?

Thanks
 
H

haig

Hi

I've been struggeling with some aligning with css. Ofcourse
it would be relatively easy if al browser were "the same".
Now take a look at this site if you like
http://users.pandora.be/wptst
As you can see it's just for testing. Is this the good way to
align some title, text, and navbar or are there beter? The
navbar and intro are behaving strange if I resize the browser.
Just some tips to do some good aligning are also welcome. How
do you guys work around the fact that IE interpretes some
things really weird?

Thanks

What about floats, is that a good solution?
 
B

BootNic

haig said:
Hi

I've been struggeling with some aligning with css. Ofcourse
it would be relatively easy if al browser were "the same".
Now take a look at this site if you like
http://users.pandora.be/wptst
As you can see it's just for testing. Is this the good way to
align some title, text, and navbar or are there beter? The
navbar and intro are behaving strange if I resize the browser.
Just some tips to do some good aligning are also welcome. How
do you guys work around the fact that IE interpretes some
things really weird?

If you were to take IE out of quirks mode, your test.html would view in IE
similar to Opera and Mozilla.

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">

not

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

From your example I see no reason not to use

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">

--
BootNic Tuesday, July 18, 2006 6:38 PM

The only thing wrong with immortality is that it tends to go on
forever.
*Herb Caen*
 
J

jojo

BootNic said:
If you were to take IE out of quirks mode, your test.html would view in
IE similar to Opera and Mozilla.

In IE 6. The older versions still view it falsely. /They/ do not have
any QUIRKS-mode which can be switched off, it's default to view it
wrong. The QUIRKS-mode was invented because IE 6 *can* view it right, so
all pages which offered workarounds for IE were interpreted *wrong* (or
at least not the way IE was supposed to interpret and view them).
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,767
Messages
2,569,572
Members
45,045
Latest member
DRCM

Latest Threads

Top