question dealing with divs, forms, and select/options..
| From: | bruce | Date: | Mon, 30 Aug 2004 19:12:29 +0000 |
| Subject: | question dealing with divs, forms, and select/options.. | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-195186@lists.php.net to get a copy of this message | ||
hi...
this question probably has more to do with html/divs than actual php.. but
since i'm implementing in php, figured i'd ask here as well!!
i have a rather simple test page that i'm trying to set up. i'd like to have
a section with scrollable text, followed by a drop down with a list of
states, which in turn is followed by a list of graphic/gif images...
i'm screwing something up/missing something as the list of .gif images is
not being displayed. if i alter the size of the list, i can get the subset
to be displayed... i'm inclined to believe that what i'm running into is
based on my lack of understanding/familiarity with the div method...
if i replace the graphic image with some 'test' text... the text is
displayed correctly... which has me stumped!
an example of what i'm trying to do:
+----------------------------------------------------+
| |
| |
| +---------------------------+ |
| | | |
| | scrollable text area | |
| | | |
| +---------------------------+ |
| |
| |
| +---------------------+ |
| | | |
| | drop down list | |
| | | |
| +---------------------+ |
| |
| |
| |
| list of .gif images |
| .gif image1 |
| .gif image2 |
| .gif image3 |
| .gif image4 |
| .gif image5 |
| etc... |
| |
+----------------------------------------------------+
an example of the basic html/logic that i'm using in php
<?
<div>
create the scrollable area
</div>
<div>
create the form/select area for the drop down
<form>
<select>
<option></option>
</select>
<submit>
</form>
</div>
for()
{
echo ".gif image"
}
?>
the above is a short approximation of the underlying logic that i'm trying
to implement. i can post/send the actual php that i'm using if anybody's
able to help!!!!
the problem that i appear to be running into indicates that i'm overwriting
the divs that i set up.. but if i alter the height/width settings of one of
a given div, it still doesn't always seem to work properly...
in other words, i try to add text to the 'scrollable' div, and i increase
the 'heaight' attribute, i then run into probles displaying the 'gifs', in
that they do not display!!!
or, i change the 'value' property of the select list to be multiple
characters, and again, i get the 'gifs' not being displayed!!!
this is screaming to me of a collision issue!!!
thanks for any assistance/poiinters/etc... this is rather simple, but it's
driving me up a wall!!!!!
regards
-bruce