December 5, 201114 yr 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