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.

Layout issue

Featured Replies

I'm wanting the red boxes to be placed under the white box. Anyone know whats wrong?

 

body {	
	font-family: Arial, sans-serif;
	margin:0 auto;
	overflow-x:hidden;
	overflow-y:hidden;

}

.wrapper {
	background: #000066;
    width: 380px;
    height: 429px;
    margin: 0 auto;
    background-color: #00238C;
	
}

.box1{
	width: 345px;
	height: 265px;
	margin: 0 16px 16px 16px;
	background-color: #000000;
}


.clear{ clear:both;}
	#box1inner{
	width:323px; 
	height:186px; 
	margin: 12px;
	position: absolute;
	background-color:#FFFFFF;	
}
#appwidgeit {
	height:37px;
	width: 120px;

}

#left {
    float: left;
    height: 33px;
    margin-left: 10px;
    width: 30px;
    background: #f70000; 
}


#middle {
    float: left;
    height: 33px;
    margin-left: 10px;
    width: 30px;
    background: #f70000; 
}
#right {
    float: left;
    height: 33px;
    margin-left: 10px;
    width: 30px;
    background: #f70000; 
}

<body>
    <div class="wrapper">	
    	<div class="box1">
        <div id="box1inner">

      			</div>
                      <div class="clear"></div>

      <div id="appwidgeit">
     <div id="left">
            </a> 
           </div>
          <div id="middle">
        </a>

          </div>
           <div id="right">
        </a>

  </div><!-- appwidgeit -->
  </div>
  

    </div>



 

 

 

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.