|
Posted by mbstevens on 05/27/06 16:47
Sally Thompson wrote:
> On Sat, 27 May 2006 10:42:18 +0100, Peter Williams wrote
> (in article <_9Vdg.11766$S7.8688@news-server.bigpond.net.au>):
>
>
>>Hi All,
>>
>> The webpage here:
>>
>>http://pewtas.googlepages.com/delphi
>>
>> has a problem which appears when the page is viewed with Firefox
>>browser (latest version for Windows). Note that the file appears okay
>>when viewed using IE6.
>>
>> The problem is that the table is cropped vertically in the last (3rd)
>>column.
>>
>> Can someone please debug the page and suggest a correction to fix this
>>bug?!? I will be very grateful :-)))
>
>
> If you change
> #container {
> width: 718px; ... }
> to
> #container {
> width: 100%; ... }
>
> you will allow space for your third column (or make it 98% if you prefer).
That loo<p> </p> ks like the solution to me.
I would also mention that if the op is going to use a hundred or so
lines of CSS, he shouldn't be mixing in code like this --
<center> <table border="10" cellpadding="2" cellspacing="2" width="70%">
<tbody><tr bgcolor="#ffff99"> <td>
-- nor like this --
<p> </p>
<p align="left"><b> </b></p>
-- all deprecated markup and spacer kludges that CSS is designed, in
part, to get out of your markup.
Don't declare a doc type unless you can validate to it.
The op shouldn't make the claim of Xhtml strict in the doctype
unless the code actually validates to that doc type. See here:
http://validator.w3.org/check?verbose=1&uri=http%3A%2F%2Fpewtas.googlepages.com%2Fdelphi
And the validator refuses to even look at the CSS until the XML is
validated.
Since the op is using firefox, I suggest that he download and install
the web developer extension for that browser. It will be a
big help.
--
mbstevens
http://www.mbstevens.com
[Back to original message]
|