myGully.com

myGully.com (https://mygully.com/index.php)
-   Entwicklung & Programmierung (https://mygully.com/forumdisplay.php?f=72)
-   -   Problem bei css id in html (https://mygully.com/showthread.php?t=3623842)

snak23 03.02.15 14:58

Problem bei css id in html
 
Hallo ich lerne gerade html und css.
In dem Buch ist eine Übung,aber das Ergebnis kommt einfach nicht zu Stande was ich machen soll!
Kann mir da einer helfen?


Zitat:

<html>
<head>
<title>IDs</title>

<style type="text/css">
#absatz1 {
color: red;
font-family: Arial;
}
p#absatz1 {
color: green;
}
</style>
</head>
<body>
<p id="absatz1">
Einen Absatz mit Text.
</p>
</body>
</html>
Laut Buch sollte der satz Grün sein,aber er wird nicht Grün sonder bleibt Schwartz
Was ist falsch???

spartan-b292 03.02.15 15:05

Zitat:

Was ist falsch???
Bei mir funktionierts. Firefox 35.0.1

Außerdem: Verschoben.

snak23 03.02.15 15:11

Ich bekomme nur schwartz Einen Absatz mit Text.:(
bei mir auch aktuell Firefox 35.01???

SluGGer 03.02.15 21:46

geht bei mir auch. ie und ff. evtl caching problem? f5 hämmern bis es grün wird :)


Alle Zeitangaben in WEZ +1. Es ist jetzt 23:37 Uhr.

Powered by vBulletin® (Deutsch)
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.