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.

padding/spacing

Featured Replies

Would you like the sidebar to be completely to the left - touching the edge of the browser at all times? Because if you don't do a responsive website, it will be different for each screen (or devices) in how they see the sidebars position. If you're into having the sidebar stuck to the left side at all times you could go with:

position: absolute; left: 0px;

 

But for that to work you need to put the sidebar outside of the inner div and into the content_box which doesn't have a limited width. Then put position: relative; into the css for content_box.

If you'd like it in any other way, try and explain and I will see if I can help.

Edited by myjosephine

At the moment your <div class="sidebar"></div> is inside your <div class="inner">. If yo moved it out like this -

<div id="content_box">
    <div class="sidebar"></div>
    <div class="inner">
        <div class="content"></div>
    </div><!-- close the .inner div -->
</div><!-- close the #content_box div -->

It would pull it outside the restricted width of the class inner div.

 

However; you really need to look at using HTML5 tags such as <section><article><aside> etc for semantic reasons instead of the 'meaningless' <div> for everything.

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.