You are here: Re: alignment issue with DIVS « HTML « IT news, forums, messages
Re: alignment issue with DIVS

Posted by josh on 11/24/86 11:46

Chaprasi wrote:
> Gurus in HTML and CSS, I need your help. I have this HTML which has
> <DIV>'s columns and I have no idea why the 2nd column which has a drop
> down is not aligning proper with the first column which has a text box.
>
> Here is my HTML,
>
> Thanks,
> Chaprasi
>
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
> "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
> <html xmlns="http://www.w3.org/1999/xhtml">
> <head>
> <title>:: DIVS ::</title>
> <style type="text/css">
> div.container
> {
> width: 500px;
> float: left;
> border: blue 1px solid;
> }
>
> div.columns
> {
> float: left;
> width: 150px;
> }
> </style>
> </head>
> <body>
> <div class="container">
> <div class="columns">
> <input id="Text1" name="Text1" type="text"/>
> </div>
> <div class="columns">
> <select id="Select1" name="Select1">
> <option>Item 1</option>
> <option>Item 2</option>
> </select>
> </div>
> <div class="columns">
> <input id="Text2" name="Text2" type="text" />
> </div>
> </div>
> </body>
> </html>

Seems to be aligning fine for me. Maybe I dont know what you mean. You
could post a link to a screenshot or better describe the problem you
are having? (It also is a common courtsey to post a link to a working
page so that the people that you are asking for help from dont have to
do work to help you.)

 

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

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