Forum
Salve!
Ho modificato il colore dello sfondo e del testo di una card con css, però le modifiche vengono visualizzate solo se apro il file con MicrosoftEdge, mentre con tutti gli altri browser (chrome, opera, firefox) si vede in bianco e nero. Qualcuno ha idea del perché?? 😯
Se posti il codice completo forse possiamo farcene una idea
Codice:
<html>
<head>
<title>MyTropicalIslands</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
src="https://code.jquery.com/jquery-2.1.3.min.js">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js" integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl" crossorigin="anonymous">
<style type="text/css">
#image {
float: left;
margin-right: 10px;
}
#C1 {
background: C1FFD5;
color: 00201F;
}
</style>
</head>
<body>id="collapseThree" class="collapse" aria-labelledby="headingThree" data-parent="#accordionExample">
class="card-body">
class="card-group" id="f4">
class="row">
id=C1 div class="card col-md-4">
class="card-body">
class="card-title" id="f3">Off the beaten track
class="card-text">
Maybe we are spoiled. We are running this website out of tropical Singapore,
which means year-round warm temperatures at home anyway, but also countless
fantastic South-east Asian travel destinations just a weekend trip away.
Whether we want to jet off to Bali or Phuket, to Bangkok or Hong Kong,
it is often a matter of conveniently flying off on a budget airline after work on a Friday
and returning late on a Sunday.
The only downside to this is that we are not the only one doing this!
You can fly to Krabi or Nha Trang, but then in many places you will still spend your weekend
packed like sardines on a beach, next to your neighbours back home. Long story short,
sometimes you want to head off to a place with palm trees and white sand beaches but
at the same time get away from the crowds as well. If that's what you are after,
we have some suggestions for you (that are not just located in Asia, of course).
For even more inspiration just use our Destination Search.
</div>
class="card col-md-4">
class="card-img-top" src="beach6.jpg" alt="Fernando de Noronha" width="100%">
class="card-body">
class="card-title" id="f3">Fernando de Noronha, Brazil
class="card-text">The first destination is an island well off the coast of Brazil
in South America called Fernando de Noronha. This is a renowned eco travel destination
that might just be one of the most pretty spots to visit in Brazil. But as it is pretty
out of the way, the (domestic and foreign) crowds don't seem to have quite discovered it.
So go here, enjoy some hiking into the rocky jungle covered interior, or enjoy the water
and go swimming, surfing or diving. Take note that accomodation here is basic at best,
but then that's the whole point isn't it?
</div>16 anni agoCiao, hai dimenticato il carattere # (cancelletto), obbligatorio, prima dei codici colore.
codice:background: #C1FFD5;
color: #00201F;PS: occhio quando apri le discussioni, scegli la sezione del forum più opportuna in base all'argomento che supponi di trattare. Per il CSS esiste una sezione specifica. Forse il moderatore di sezione sposterà lì la discussione ma fai attenzione in futuro. Grazie.
PPS: occhio ai titoli usati per le proprie discussioni. Titoli generici (come in questo caso "problemi con css") solitamente portano alla chiusura della discussione senza preavviso. Vedi il regolamento di sezione tra le discussioni in evidenza. Forse il moderatore di sezione correggerà per stavolta ma fai attenzione in futuro. Grazie.
PPPS: occhio quando posti del codice sul forum, va inserito tra gli appositi tag [CODE] e [/CODE]. Vedi sempre il regolamento di sezione. Forse il moderatore di sezione (se non si è ancora rotto) correggerà per stavolta ma fai attenzione in futuro. Grazie.
Apri un sito e guadagna con Altervista - Disclaimer - Segnala abuso - Privacy Policy - Personalizza tracciamento pubblicitario
Working