You are here: Re: Refresh always needed for 100% table width « HTML « IT news, forums, messages
Re: Refresh always needed for 100% table width

Posted by C. David Rossen on 06/27/05 17:44

bts-

Thanks very much. The margin style did the trick.

David


"Beauregard T. Shagnasty" <a.nony.mous@example.invalid> wrote in message
news:ilTve.55863$g5.14403@twister.nyroc.rr.com...
> 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/h
m/>
>
> --
> -bts
> -This space intentionally left blank.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация