?
Solved

border not showing after complete slide

Posted on 2014-04-13
5
Medium Priority
?
135 Views
Last Modified: 2014-04-19
Ive been working on a simple slidedown issue where if I have a div inside a div and use slideDown then the border only shows during the animation:-

For example:-
http://jsfiddle.net/5vjsA/

I know the issue is with the following line:-
#testContainer * { float: left; }

However I more problems with removing this line as then the height of the div doesnt update with ajax requests later.

Anyone hae any ideas how I can keep the float:left, but keep the border?

Thanks in advance
0
Comment
Question by:tonelm54
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
5 Comments
 
LVL 22

Expert Comment

by:Mrunal
ID: 39998480
Hi

check this:
http://jsfiddle.net/5vjsA/1/

This is because of you are adding div inside div.
0
 

Author Comment

by:tonelm54
ID: 39998722
Unfortantly the way I need it to work is to automatically resize to the correct size, as the DIVs are created dynamically by ajax requests. When I put another div into the parent it draws borders on both divs.

So for example:-
http://jsfiddle.net/5vjsA/2/

Sorry, I didnt explain myself properly :-(
0
 

Accepted Solution

by:
tonelm54 earned 0 total points
ID: 39998766
so in other words:-
http://jsfiddle.net/5vjsA/3/
0
 
LVL 53

Expert Comment

by:Scott Fell, EE MVE
ID: 39998776
Maybe it is me, but I am confused as to what you want to end up with.   Can you update your  fiddle as a static html without the jquery and show us what you want to end up with.
0
 

Author Closing Comment

by:tonelm54
ID: 40010165
0

Featured Post

CHALLENGE LAB: Troubleshooting Connectivity Issues

Goal: Fix the connectivity issue in the lab's AWS environment so that you can SSH into the provided EC2 instance.  

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction JSON is an acronym for JavaScript Object Notation.  It is a text-string data transport mechanism, capable of representing simple or complex data structures in a consistent and easy-to-read manner.  Similar in concept to XML, but more e…
Building a website can seem like a daunting task to the uninitiated but it really only requires knowledge of two basic languages: HTML and CSS.
In this tutorial viewers will learn how to position items using CSS's three positioning types Create a new HTML document with an internal stylesheet.: Create another div in CSS and name it Absolute : Type "position:absolute;" and "top:10px; left:50p…
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…
Suggested Courses
Course of the Month14 days, 20 hours left to enroll

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question