|
Posted by Beauregard T. Shagnasty on 06/27/05 16:40
C. David Rossen wrote:
[top-posting fixed]
> "Beauregard T. Shagnasty" <a.nony.mous@example.invalid> wrote in
> message news:m1Lve.40311$fp6.9270@twister.nyroc.rr.com...
>
>> C. David Rossen wrote:
>>
>>> I have had this problem on many websites I have built and just
>>> cannot figure out why it is doing this.
>>>
>>> On a page whose main table is 100% in width, the table does not
>>> extend all the way on the right. ...
>>
>> How about a URL or two where this occurs so we can see it?
> Here you go...
>
> www.cdrmarketing.com/hm
First, I see no DOCTYPE, so browsers are in quirks mode. Add a Strict
doctype and see what happens.
http://www.w3.org/QA/2002/04/valid-dtd-list.html
Use HTML 4.01 Strict:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
Some browsers interpret margin and padding differently, so drop the
invalid <body topmargin="0" leftmargin="0"> and use CSS to set all
margin and padding to zero.
body { margin: 0, padding: 0 }
The rest is nested tables :-( and I don't want to try and
troubleshoot that. After you add the doctype, revisit here:
<http://validator.w3.org/check?verbose=1&uri=http%3A//www.cdrmarketing.com/hm/>
--
-bts
-This space intentionally left blank.
Navigation:
[Reply to this message]
|