Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > When using collapsing/expanding DIVs in IE6 container does not expand.

Reply
Thread Tools

When using collapsing/expanding DIVs in IE6 container does not expand.

 
 
Chris K.
Guest
Posts: n/a
 
      06-03-2008
Hello,

I have some simple javascript and CSS styles that allow for a DIV to expand
and collapse based on what a person clicks on. The CSS fully validates and
there are no errors.

The problem is that in Internet Explorer 6 when a DIV is expanded the
container of the DIV does not expand so the contents of the DIV are shown
past the edges of the container. The URL for the site is below.

https://wesleyseminary.edu/support/donatestep1.asp

The problem is not with IE7, Opera, Firefox, or even Konquerer.

Only with IE6 (would be a nice touch for earlier versions but not required!)
when any of the events for expaning and collapsing divs (try the top radio
buttons on the form) the bottom of the form is not expanded.

What can I do to make this site work in IE6 like it works on all of the
other browsers?

Thanks for your time.

Regards,
Christopher Koeber

 
Reply With Quote
 
 
 
 
Bergamot
Guest
Posts: n/a
 
      06-03-2008
Chris K. wrote:
>
> The problem is that in Internet Explorer 6 when a DIV is expanded the
> container of the DIV does not expand so the contents of the DIV are shown
> past the edges of the container. The URL for the site is below.
>
> https://wesleyseminary.edu/support/donatestep1.asp


FYI, content spilling out of its container is not limited to IE:
http://www.bergamotus.ws/screenshots/wesleyseminary.png

Don't set a fixed height on text blocks, especially not in px units,
unless you don't care if text spills out.

--
Berg
now killing all posts from google groups
 
Reply With Quote
 
 
 
 
Chris K.
Guest
Posts: n/a
 
      06-03-2008
Thanks so much for your time. What web browser was this? It also seems like
the text size on your browser is set larger that normal. Is that the case?

In either case I will try and convert text sizes to em to see how that will
help.

Regards,
Christopher Koeber
"Bergamot" <(E-Mail Removed)> wrote in message
news:484558d9$0$80727$(E-Mail Removed)4all.s e...
> Chris K. wrote:
>>
>> The problem is that in Internet Explorer 6 when a DIV is expanded the
>> container of the DIV does not expand so the contents of the DIV are
>> shown
>> past the edges of the container. The URL for the site is below.
>>
>> https://wesleyseminary.edu/support/donatestep1.asp

>
> FYI, content spilling out of its container is not limited to IE:
> http://www.bergamotus.ws/screenshots/wesleyseminary.png
>
> Don't set a fixed height on text blocks, especially not in px units,
> unless you don't care if text spills out.
>
> --
> Berg
> now killing all posts from google groups


 
Reply With Quote
 
dorayme
Guest
Posts: n/a
 
      06-03-2008
In article <hSd1k.904150$(E-Mail Removed)>,
"Chris K." wrote:

> Thanks so much for your time. What web browser was this? It also seems like
> the text size on your browser is set larger that normal. Is that the case?
>
> In either case I will try and convert text sizes to em to see how that will
> help.
>


> "Bergamot" <(E-Mail Removed)> wrote in message


> > Don't set a fixed height on text blocks, especially not in px units,
> > unless you don't care if text spills out.
> >


You are missing the point of Bergamot's good advice. He was not talking
about your text size, he was talking about the blocks they are in. You
see, if a block like a paragraph element has a fixed height and is not
left to grow height naturally, where is the text to go when the height
is used up. It does not matter what size the text is except in relevance
to how quickly the height is reached.

Please do not top post.

--
dorayme
 
Reply With Quote
 
Bergamot
Guest
Posts: n/a
 
      06-04-2008
Chris K. wrote:
> "Bergamot" <(E-Mail Removed)> wrote in message
> news:484558d9$0$80727$(E-Mail Removed)4all.s e...
>> Chris K. wrote:
>>>
>>> https://wesleyseminary.edu/support/donatestep1.asp

>>
>> http://www.bergamotus.ws/screenshots/wesleyseminary.png
>> Don't set a fixed height on text blocks, especially not in px units

>
> What web browser was this? It also seems like
> the text size on your browser is set larger that normal. Is that the case?


The browser doesn't matter, nor does the fact I use large type by
default. What does matter is that you cannot control the user's font
size, regardless of how much you wish otherwise.

> In either case I will try and convert text sizes to em to see how that will
> help.


That won't make any difference if you keep the height:110px; on the
container divs. Remove the height restriction and the box will size
itself as needed to fit the content. Set a min-height if you like, but
not a fixed height.

And please don't top-post.
http://web.presby.edu/~nnqadmin/nnq/nquote.html

--
Berg
now killing all posts from google groups
 
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
swapping divs -- when divs NOT positioned absolutely.. maya Javascript 4 11-16-2007 05:11 PM
AJAX problem: slow response using IE6 on Win2000 versus IE6 on XP Pugi! Javascript 0 02-05-2007 10:34 AM
Managing divs within divs.... rich HTML 0 02-02-2006 07:38 PM
STL: container's values setup by another container Maitre Bart C++ 2 02-11-2004 12:11 AM
std::container::iterator vs std::container::pointer Vivi Orunitia C++ 11 02-04-2004 08:09 AM



Advertisments