Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Div not expanding down

Featured Replies

I have an issue with my contents div (with gallery div inside) when a user resizes the window the photos should float left and expand the div when a user resizes their browser window. I currently have set it as 1000px height for now but it just wouldn't expand if i even remove it. I can seen it only will expand with text but why not with images, along with list?

 

heres is the one with 1000px

 

and one without the 1000px

 

Anyone know what the problem is ?

You could try this in your css:

 

height: auto;

 

Should allow the div to expand to the size needed for whatever the case.

Also put this code above the <br><div class="footer">

 

<div style="clear: both;"></div>

 

So:

Also put this code above the <br><div class="footer">

 

<div style="clear: both;"></div>

 

So:

 

is this better?

 

<br style="clear: both;" />

 

Although there is better ways of doing it.

I am not sure mate as I don't use word.

 

Due to having a div or 2 I thought I would try clearing them to see if it allowed the expansion on the div.

 

Glad it worked and that you are able to continuewith your project.

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.