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.

rossanderson88

Members
  • Joined

  • Last visited

Reputation Activity

  1. Like
    rossanderson88 reacted to lee grant in Best way to do a content box?   
    I'd ditch the iframe idea an do it with ajax and jquery like so ..
     
    http://www.electrictoolbox.com/load-content-jquery-ajax-loading-image/
  2. Like
    rossanderson88 reacted to lee grant in Best way to do a content box?   
    Yep you shouldn't have any problems.
     
    This may be a better read for you http://yensdesign.com/2008/12/how-to-load-content-via-ajax-in-jquery/
  3. Like
    rossanderson88 reacted to MarkJenner in Noob Questions :D.   
    With regards to centering, simply add
     

    margin: 0 auto;
     
    to your wrapper/container/outter division (setting a width aswell).
     
    For the background image, have you considered setting it as the main background and tiling it?
  4. Like
    rossanderson88 reacted to Jebediah_bobo in Noob Questions :D.   
    Hi Mate
     
    Best way to centre is to wrap your site in a containing Div and set a width for that div. Then set the margin css for that div to margin: 0px auto 0px auto; and that will align your site centre.
     
    As for resizing the background image I am not sure. You would likely need some javascript to read the screen size which would then select a different background image to suit. But to be honest this is probably taking it a bit far.
     
    Hope that helps in some way.
     
    Jeb
     
     
  5. Like
    rossanderson88 reacted to KCooper in Noob Questions :D.   
    There should be a "wrapper" (<div id="wrapper">) or "container" DIV around all your content in the HTML. You need to then reference this in the CSS like this:
     
    #wrapper {
    margin: 0 auto;
    width: 960px;
    }
     
    (The '960' value depends on how much width you want to give your content, but 960 is a good standard and what I usually go with)
     
     
    No such thing, everyone starts somewhere

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.