Skip to content

Вопрос не по теме Ipb

Не могу понять.

С css таблица как работает,

576792db352c.jpg

 

но когда выгружаю сайт на компьютер стили css пропадают.

Что я не так делаю?

5fae3ae42944.jpg

 

Может быть я в Html не правильно, что-то прописал?, ибо в chrome открываеться нормально а в остальных браузерах обычный белый фон. Почему?

 

<html xmlns="http://www.w3.org/1999/xhtml">

<head>

<meta http-equiv="content-type" content="text/html; charset=utf-8" />

<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">

<title>Harrix.org - Таблицы CSS</title>

<link rel="stylesheet" href="style.css" type="text/css" />

</head>

Featured Replies

  • Author

Короче беда. Дело в CSS а не в html.

 

.features-table

{

width: 70%;

margin: 0 auto;

border-collapse: separate;

border-spacing: 0;

text-shadow: 0 1px 0 #fff;

color: #2a2a2a;

background-image: -moz-linear-gradient(top, #fff, #eaeaea, #fff);

background-image: -webkit-gradient(linear,center bottom,center top,from(#fff),color-stop(0.5, #eaeaea),to(#CCFFFF));

margin-top:20px;

margin-bottom:20px;

 

Выделиная строка работает только вот в таких браузерах:

4692900.jpg

 

Просто провал.

Что мешает использовать картинку и "background-repeat: no-repeat; background-size: cover;"?

  • Author

А работать будет во всех баузерах?

background работает во всех современных браузеров.

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.