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.

CSS minimum width

Featured Replies

Hello there again,

 

I'm trying my best to further my CSS knowledge, but it really is giving me a sore head!! Getting there though.

 

My latest stumbling block is the min-width property:-

 

I have started a page, and with the width set at 800px, i have a 400px image on the left hand of the page, and a 180px image on right hand side. when i collapse the browser window, i want the images to come together but stopping at 650px.

 

How do i do this?

 

Any help would be appreciated

 

Cheers

 

CSS

#logo

{

background:url(images/logo.jpg) no-repeat;

height:223px;

width:400px;

float: left;

text-align: left;

border: solid 1px black

}

 

#logo span

{display:none;}

 

#logo_right

{

background:url(images/art-board.jpg) no-repeat;

height:223px;

width:180px;

float: right;

border: solid 1px black

}

 

HTML

body{

background-color: black;

margin: 0cm auto;

text-align: center;

}

 

#wrapper

{

background-color:white;

height: 100%;

display: table;

width: 810px;

margin: 0 auto;

}

 

</style>

 

</head>

 

<body>

 

<div id="wrapper">

<div id="logo"><span><h1>SITE<br>LOGO<br>HERE</h1></span>

</div>

 

<div id="logo_right">

</div>

</div>

  • Author

Cheers everyone. I'll look into what you have all said

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.