Go Back   Velocity Reviews > Newsgroups > HTML
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply

HTML - aligning with css

 
Thread Tools Search this Thread
Old 07-18-2006, 02:46 PM   #1
Default aligning with css


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


haig
  Reply With Quote
Old 07-18-2006, 03:43 PM   #2
haig
 
Posts: n/a
Default Re: aligning with css

haig <> wrote in news:mD5vg.543822$2t2.13097032
@phobos.telenet-ops.be:

> 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?
  Reply With Quote
Old 07-18-2006, 11:39 PM   #3
BootNic
 
Posts: n/a
Default Re: aligning with css

> "haig" <> wrote:
> news:mD5vg.543822$....
>
> 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*



  Reply With Quote
Old 07-21-2006, 06:11 PM   #4
jojo
 
Posts: n/a
Default Re: aligning with css

BootNic schrieb:
>> "haig" <> wrote:
>> news:mD5vg.543822$....
>>
>> 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.


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).
>
> <!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">
>

  Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump