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 Differences in Different Operating System

Featured Replies

Hi,

 

I'm putting up a simple coming soon page, I'm using some reset.css I found, font from Google Web Font and some simple styling, I came up with this:

 


<!DOCTYPE html>

<html lang="en">
<head>
<meta charset="utf-8" />
<title>Coming Soon | Defaults.ME</title>
<style type="text/css">
	@import "http://fonts.googleapis.com/css?family=Ubuntu+Condensed";
	@import "reset-compiled.css";
	@import "style.css?v0.1";
</style>
</head>
<body>
<div id="wrapper">
	<h1>DEFAULTS.ME</h1>
	<h4 style="margin-left: 20px;">COMING NOT SO SOON</h4>
</div>
</body>
</html>

 

and the style

 

body { background: #fdfdfd; }

div#wrapper { 
width: 100%;
position: absolute;
top: 50%;
margin-top: -100px;
text-align: center;
}

h1 { 
font-family: 'Ubuntu Condensed', sans-serif; 
font-size: 100px; 
font-weight: bold; 
text-shadow: 1px 1px 1px #ccc; 
}

h4 {
font-family: 'Ubuntu Condensed', sans-serif; 
font-size: 20px;
letter-spacing: 20px;
text-shadow: 1px 1px 1px #ccc; 
}

 

It shows up with a big title on the center, and a smaller coming soon bottom of the title, in Mac OS X's Chrome 15, it shows up just nice, the title and the coming soon text is line up properly, but when I view the page in Chrome 15 in Windows XP, Vista, the coming soon text it's displaying a bit to the left.

 

I think I came across operating system layout problem before, is there any rules/approach to follow to avoid differences in operating system?

 

Thanks!

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.