Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > Problems with width: 100% in IE

Reply
Thread Tools

Problems with width: 100% in IE

 
 
Konrad Hammerer
Guest
Posts: n/a
 
      03-23-2008
Hi!

Can somebody tell me why Firefox and IE behave different with the
following html code:

http://www.apdata.de/test.html

I need it the way Firefox is rendering it. How can I get IE to render it
the same way (only 1 scrollbar (DIV) with 94% width)?

Thanks,
Konrad
 
Reply With Quote
 
 
 
 
Els
Guest
Posts: n/a
 
      03-23-2008
Konrad Hammerer wrote:

> Can somebody tell me why Firefox and IE behave different with the
> following html code:
>
> http://www.apdata.de/test.html
>
> I need it the way Firefox is rendering it. How can I get IE to render it
> the same way (only 1 scrollbar (DIV) with 94% width)?


What happens if you replace

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

with

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

?


--
Els http://locusmeus.com/
 
Reply With Quote
 
 
 
 
Konrad Hammerer
Guest
Posts: n/a
 
      03-24-2008
> What happens if you replace
>
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
>
> with
>
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
> "http://www.w3.org/TR/html4/strict.dtd">
>


Nothing, still the same problem!

Best,
Konrad


>
>

 
Reply With Quote
 
Neredbojias
Guest
Posts: n/a
 
      03-24-2008
On 23 Mar 2008, Konrad Hammerer <(E-Mail Removed)> wrote:

>> What happens if you replace
>>
>> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
>>
>> with
>>
>> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
>> "http://www.w3.org/TR/html4/strict.dtd">
>>

>
> Nothing, still the same problem!


From here and for the problem as you specify, do:

<table style="table-layout:fixed;width: 100%;">

--
Neredbojias
http://www.neredbojias.com/
Great sights and sounds
 
Reply With Quote
 
Konrad Hammerer
Guest
Posts: n/a
 
      03-24-2008
> From here and for the problem as you specify, do:
>
> <table style="table-layout:fixed;width: 100%;">


It's working...

Thank you very much!

Best,
Konrad
 
Reply With Quote
 
Neredbojias
Guest
Posts: n/a
 
      03-24-2008
On 24 Mar 2008, Konrad Hammerer <(E-Mail Removed)> wrote:

>> From here and for the problem as you specify, do:
>>
>> <table style="table-layout:fixed;width: 100%;">

>
> It's working...
>
> Thank you very much!


Bene. You can thank me by uploading an image to my image uploads page:

http://www.neredbojias.com/_u2/qusri.php

--
Neredbojias
http://www.neredbojias.com/
Great sights and sounds
 
Reply With Quote
 
Neredbojias
Guest
Posts: n/a
 
      03-24-2008
On 24 Mar 2008, Konrad Hammerer <(E-Mail Removed)> wrote:

>> From here and for the problem as you specify, do:
>>
>> <table style="table-layout:fixed;width: 100%;">

>
> It's working...
>
> Thank you very much!


If that was you with the upload, muchas gracias! I like the pic, too.

--
Neredbojias
http://www.neredbojias.com/
Great sights and sounds
 
Reply With Quote
 
Els
Guest
Posts: n/a
 
      03-25-2008
Neredbojias wrote:

> If that was you with the upload, muchas gracias! I like the pic, too.


Eh.. it was me. It's in Rotterdam

--
Els http://locusmeus.com/
 
Reply With Quote
 
Neredbojias
Guest
Posts: n/a
 
      03-25-2008
On 25 Mar 2008, Els <(E-Mail Removed)> wrote:

> Neredbojias wrote:
>
>> If that was you with the upload, muchas gracias! I like the pic, too.

>
> Eh.. it was me. It's in Rotterdam


Oh, thanks so much, Els. I even looked up Erasmus Bridge (-from the
filename) in Wikipedia. It was quite interesting.

--
Neredbojias
http://www.neredbojias.com/
Great sights and sounds
 
Reply With Quote
 
 
 
Reply

Thread Tools

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Tetration (print 100^100^100^100^100^100^100^100^100^100^100^100^100^100) jononanon@googlemail.com C Programming 5 04-25-2012 08:49 PM
100% TABLE + 100% ROW + 100% DIV..? fred Javascript 3 03-17-2005 04:25 AM
How can I change the sign of an Integer value like 100 to -100 ? Andreas Klemt ASP .Net 2 07-28-2003 12:29 PM



Advertisments