You are here: Re: Tables and screen resolution « HTML « IT news, forums, messages
Re: Tables and screen resolution

Posted by Matt Clara on 09/29/39 11:44

"Maxi" <maheshchindarkar@gmail.com> wrote in message
news:1144401708.794605.102000@v46g2000cwv.googlegroups.com...
> I have a 30X16 cells table in my html page. Table height and width are
> set to 100%. I have set size of every cell inside the table to 24
> pixel.
>
> When I open the html page in maximize state in either resolution 800 X
> 600 or 1152 X 864 it takes up the entire explorer size.
>
> In screen resolution 800 X 600, if I insert a pictures of 24 X 24 pixel
> in the cells it takes up the entire cell size (ideally it should as the
> cell size is also 24 X 24 pixel) and If I change the screen resolution
> to 1152 X 864 the picture is there but it does not take up the entire
> cell size. Little bit of surrounding area is visible.
>
> I know the reason, when you change the screen resolution, it has more
> pixels to display hence the problem.
>
> What I want to know is, if I use pictures of 50 X 50 pixels into those
> tiny 24 X 24 pixel cells, can id grow and shrink automatically
> detecting the screen resolution?
>
> Note:
> 1. I want each cell size to be 24 X 24 pixels. I Cannot modify this
> requirement.
> 2. I want the table height and width set to 100%. Cannot modify this
> either.
>
> Is there any way out? I hope I have explained my problem properly.
>

Just don't set the table width, leave it blank, and your cells and their
content will determine the width of the table. You can't both have the
table at 100% and not have it fill the screen. If you really need it
something like that, nest your table with cells inside of a single celled
table set to 100% width.

--
Regards,
Matt Clara
www.mattclara.com

 

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

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