Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > Why is this doing that?

Reply
Thread Tools

Why is this doing that?

 
 
Ed Jay
Guest
Posts: n/a
 
      11-11-2005
I have a button and associated text in a container. When one clicks the
button it brings up additional buttons and text in a container to the
right of the first container. I get more than I bargained for...it also
brings up unwanted space below the dual container line. I can't figure out
why, so I can't fix it.

If you go to <http://www.edbj.aes-intl.com/brcaform1.html> and click on
'Patient is symptomatic of breast disease:' you'll observe the errant
behavior.

Basically, the markup and code is:

<Form....>
<div style="float:right">
Patient is symptomatic of breast disease :
<checkbox... onClick="show additional text">
<div id='div1' onClick="show more text below>
</div></div>
</Form>

<br clear=all><br>Show the next text block independent of the above>

The code to show the additional text is javascript.

--
Ed Jay (remove M to respond by email)
 
Reply With Quote
 
 
 
 
JD
Guest
Posts: n/a
 
      11-13-2005
Ed Jay wrote:
> I have a button and associated text in a container. When one clicks the
> button it brings up additional buttons and text in a container to the
> right of the first container. I get more than I bargained for...it also
> brings up unwanted space below the dual container line. I can't figure out
> why, so I can't fix it.
>
> If you go to <http://www.edbj.aes-intl.com/brcaform1.html> and click on
> 'Patient is symptomatic of breast disease:' you'll observe the errant
> behavior.
>
> Basically, the markup and code is:
>
> <Form....>
> <div style="float:right">
> Patient is symptomatic of breast disease :
> <checkbox... onClick="show additional text">
> <div id='div1' onClick="show more text below>
> </div></div>
> </Form>
>
> <br clear=all><br>Show the next text block independent of the above>
>
> The code to show the additional text is javascript.


Just a guess, is it because you're using a different font?
 
Reply With Quote
 
 
 
 
Ed Jay
Guest
Posts: n/a
 
      11-13-2005
JD <> wrote:

>Ed Jay wrote:
>> I have a button and associated text in a container. When one clicks the
>> button it brings up additional buttons and text in a container to the
>> right of the first container. I get more than I bargained for...it also
>> brings up unwanted space below the dual container line. I can't figure out
>> why, so I can't fix it.
>>
>> If you go to <http://www.edbj.aes-intl.com/brcaform1.html> and click on
>> 'Patient is symptomatic of breast disease:' you'll observe the errant
>> behavior.
>>
>> Basically, the markup and code is:
>>
>> <Form....>
>> <div style="float:right">
>> Patient is symptomatic of breast disease :
>> <checkbox... onClick="show additional text">
>> <div id='div1' onClick="show more text below>
>> </div></div>
>> </Form>
>>
>> <br clear=all><br>Show the next text block independent of the above>
>>
>> The code to show the additional text is javascript.

>
>Just a guess, is it because you're using a different font?


No. Thanks anyway. It turned out to be a combination of a <div> nesting
issue and line wrapping.

--
Ed Jay (remove M to respond by email)
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Why is my Button doing an asynchronous postback? Nathan Sokalski ASP .Net 1 07-27-2008 07:35 AM
why why why why why Mr. SweatyFinger ASP .Net 4 12-21-2006 01:15 PM
findcontrol("PlaceHolderPrice") why why why why why why why why why why why Mr. SweatyFinger ASP .Net 2 12-02-2006 03:46 PM
Why is Mozilla doing this ... and how to fix it Joe S. Firefox 7 06-07-2005 04:12 AM
Why don't I get any of the e-mail virusses going around? What am I doing wrong? GraB NZ Computing 31 01-29-2004 10:49 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57