Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Why does this look different in Safari?

Posted on 2014-09-11
1
Medium Priority
?
174 Views
Last Modified: 2014-09-20
Head out to http://hihatwebdesign.com/vbs/student_list.php

In IE, the background color is seamless, but in Safari, there's a very definite break (see screenshot).

How can I accommodate this in my stylesheet or is there something I need to be doing that's not happening which would give me the seamless background color after the top gradient?
Screen-Shot-2014-09-11-at-4.58.45-PM.png
0
Comment
Question by:brucegust
1 Comment
 
LVL 38

Accepted Solution

by:
Tom Beck earned 2000 total points
ID: 40318489
Try this:

Remove the backgrounds from #wrapper, #right_cloud, and #left_cloud divs.

Then use this for the html and body:

html, body {
    background: url("images/right_cloud.jpg") no-repeat fixed left top;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    height: 100%;
    margin: 0;
}

The idea is to spread the cloud background to always fill the browser window.

I looked at this site in Safari, Chrome and Firefox on a Mac and all showed the hard line between the cloud background and the solid color.

On a side note, you should familiarize yourself with the COPPA guidelines. Essentially, any identifiable information of minors should be secured behind a password.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article describes how to create custom column layout styles for Bootstrap. The article uses 5 columns to illustrate the concept, but the principle can be extended to any number of columns.
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
In this Micro Tutorial viewers will learn how to create a CSS image sprite (In a later tutorial, viewers will learn how to use CSS and HTML to create a navigation menu using this sprite) Open a new Photoshop document with a width of (Icon width)x(N…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).
Suggested Courses

886 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question