You are here: Re: fieldset height inside a <td> « HTML « IT news, forums, messages
Re: fieldset height inside a <td>

Posted by Adrienne Boswell on 02/13/07 15:11

Gazing into my crystal ball I observed "Nate12o6" <Baxter337@msn.com>
writing in news:1171377247.687858.312570@m58g2000cwm.googlegroups.com:

> Hey guys, i am having trouble with getting the heights corrected on my
> fieldset. Right now i have 2 table cells side by side. And inside of
> each there is a field set. The fieldset to the right is longer then
> the one to the left. So the one to the left centers itself virticaly
> to the cell. Is there any way i can eather raise it all the way to
> the top or make the height 100% of the cell? I have tried height=100%
> and a few other things with no luck. Here is my code:
>
>
><table width="100%">
> <tr>
> <td width="25%" cellpadding="20">
> <fieldset style="float:top;">
> <legend>Clients</legend>
> Customer john
> </fieldset>
> </td>
>

First, it would be a lot better to provide a URL - easier for us to see
the actual markup than what you may have pasted incorrectly.

Second, you have some strange markup. Fieldset must be contained in a
form element - it cannot be by itself.

(Aside - I wish people would stop abusing tables -- it's sooo much
easier to use the right element(s) for the job.)

--
Adrienne Boswell at Home
Arbpen Web Site Design Services
http://www.cavalcade-of-coding.info
Please respond to the group so others can share

 

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

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