A
A
Alexey Chernov2015-08-31 15:45:18
css
Alexey Chernov, 2015-08-31 15:45:18

Why are images displayed in Safari?

I put the site on Wordpress, created a block for posts with a background in such a way

<div style="background-image: url(<?php echo $image['url']; ?>" alt="<?php echo $image['alt']; ?>);" class="Works">
but the pictures are not showing in safari. What to do with this crap?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Andrew, 2015-08-31
@Menlod

What is written in your class'e Works?
Safari is not very friendly with entries like:
Normally understands only if you "chew":

background-image: url("images/bg-copy3.jpg");
    background-repeat: no-repeat;
    background-position: center top;
    background-attachment: fixed;
    background-width: 100% auto;
    background-color: #F4F4F2;

D
Dmitry Kravchenko, 2015-08-31
@mydearfriend

background-image: url( lost closing brace

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question