HTML does not recognize CSS

-1

I have a problem that is driving me crazy ...

I'm setting up an email with a LINKED CSS, and the html is recognizing only some of the css codes. In the dreamweaver I see it right! but as soon as I upload it to the FTP it breaks.

It's uploaded here:

link

Does anyone know what it can be?

greetings

    
asked by Rasmatik 11.07.2018 в 21:44
source

3 answers

0

Replace this:

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

Because of this:

// Ruta Absoluta
<link href="http://donidrault.com.ar/nucleo/AOTCABA/css.css" rel="stylesheet" type="text/css">

You could also use online styles and dispense with the style sheets (Recommended for emailing)

<div style="background-image:url(http://donidrault.com.ar/nucleo/AOTCABA/img/logo_superior.png); height: 300px; background: no-repeat; width: 100%;">
    
answered by 11.07.2018 в 22:11
0

I tell you that this can happen through two things:

1: Problems with the browser cache

2: I read that you are doing an email, you will see, when sending an email you can not link with CSS, you have to put those styles directly in the HTML

Here's why:

link

    
answered by 12.07.2018 в 00:07
0

I do not know if you have changed things since you asked, but now looking at the source code I noticed that you give styles to elements with id #top and #logo , but there is no element with any of those id. If only some of the styles do not apply, that may be the error.

    
answered by 12.07.2018 в 14:54