JavaScript setting max-height not working setting height 100 not working,setting div height not working,

I am not able to set maximum height on the slider I am using, every height I set doesn't seem to be working. I have also tried setting the width on echo img row on the php part but it is not working. How do I set max height? I want height not to be morethan 500px;

The slider height in javascript file is set to 500px;

<div style="margin:30px auto;max-width:499px;max-height:500px">
<div id="amazingslider-1" style="display:block;position:relative;margin:16px auto ">
<ul class="amazingslider-slides" style="display:none;">

<?php
$result = $stmt->get_result();
while ($row = $result->fetch_assoc()) {
$path = 'uploaded_files/';
echo "<li>"."<img src='".$path."".$row['image_one']."' style='width:500px;height:500px;'/></li>";
}   
$mydb->close ();
?>
    </ul>
    <ul class="amazingslider-thumbnails" style="display:none;">
        <li><img src="images/1-tn.jpg" /></li>

    </ul>
</div>
</div>
Answer:1

I have a lot of problems in my code because it is not synchronous. Here is an example of problem that i have in a chrome extension. This is my function function getTranslation(a_data, callback) { ...

I have a lot of problems in my code because it is not synchronous. Here is an example of problem that i have in a chrome extension. This is my function function getTranslation(a_data, callback) { ...

  1. javascript synchronous functions
  2. js synchronous functions
  3. javascript synchronous callback
  4. javascript synchronous calls
  5. javascript synchronous method
  6. javascript synchronous method call
  7. js synchronous callback
  8. js synchronous method
  9. javascript callback synchronous or asynchronous
  10. node js synchronous functions
  11. javascript synchronous and asynchronous functions
  12. javascript make functions synchronous
  13. javascript synchronous vs asynchronous functions

I want to reload a template and the connected Controller without using $routeProvider, because my Path-structure doesn't fit with .when(...). I want to use $location.path() to read the URL and set the ...

I want to reload a template and the connected Controller without using $routeProvider, because my Path-structure doesn't fit with .when(...). I want to use $location.path() to read the URL and set the ...

  1. angular reload template
  2. angular 6 reload template
  3. angular directive reload template
  4. angular 2 reload template
  5. angular force reload template
  6. angular 2 reload component template
  7. angular 2 force template reload
  8. angularjs reload template

Currently having a problem in a app. My app is designed to open an RFID reader on a Raspberry PI. It proceeds to read the incoming RFID tags. The code is as follows; // Socket.io server details var ...

Currently having a problem in a app. My app is designed to open an RFID reader on a Raspberry PI. It proceeds to read the incoming RFID tags. The code is as follows; // Socket.io server details var ...

I am calling the Javascript window.open() function to load another url in a pop up window. When the users closes the popup window, I want the MyThanks() function to be called. How I can do this? My ...

I am calling the Javascript window.open() function to load another url in a pop up window. When the users closes the popup window, I want the MyThanks() function to be called. How I can do this? My ...

  1. call function when state changes react
  2. call function when input value changes
  3. call function when enter key is pressed
  4. call function when modal is closed
  5. call function when variable changes angular
  6. call function when element is visible
  7. call function when redux state changes
  8. call function when radio button selected
  9. call function when button is clicked javascript
  10. call function when checkbox is checked in javascript
  11. call function when props change react
  12. call function when checkbox is checked in jquery
  13. call function when page loads javascript
  14. call function when document is ready
  15. call function when submit form
  16. call function when div loads
  17. call function when page loads jquery
  18. call function when props change vue
  19. call function when dom is ready
  20. call function when observable changes