---
title: "Position fungerar ej i forefox."
type: "forum-thread"
url: "https://www.webforum.nu/amne/html-css/136343-position-fungerar-ej-i-forefox"
topic: "HTML & CSS"
topic_url: "https://www.webforum.nu/amne/html-css"
author: "ConnyFox"
published: "2005-10-25T05:09:15.000Z"
updated: "2005-10-25T07:03:29.000Z"
replies: 2
views: 222
page: 1
pages: 1
language: "sv-SE"
site: "webForum — webforum.nu"
rights: "Upphovsrätten till varje inlägg tillhör dess författare."
attribution: "Citera som: webForum, https://www.webforum.nu/amne/html-css/136343-position-fungerar-ej-i-forefox"
---

# Position fungerar ej i forefox.

## #1 — ConnyFox, 2005-10-25T05:09Z

Någon som kan se varför följande css ej fungerar i firefox?

```
<style type="text/css"><!--
.1 {width: 30px; Height: 20px; position: absolute; left: 500px; top: 200px;}
.4 {width: 10px; Height: 10px; position: absolute; left: 150px; top: 150px;}
.9 {width: 50px; Height: 20px; position: absolute; left: 300px; top: 50px;}
.8 {width: 30px; Height: 20px; position: absolute; left: 400px; top: 00px;}
.10 {width: 20px; Height: 20px; position: absolute; left: 600px; top: 150px;}
.11 {width: 40px; Height: 30px; position: absolute; left: 200px; top: 100px;}
.12 {width: 70px; Height: 10px; position: absolute; left: 400px; top: 100px;}
--></style>
```

sedan använder jag t.ex \<img src="apa.gif" class="1"\>\<img src="apa.gif" class="4"\>

men bilderna hamnar direkt efter varandra.

Permalänk: https://www.webforum.nu/p/136343

## #2 — ConnyFox, 2005-10-25T05:28Z

den gillade visst inte att man numrerade sådär.. funkar om jag döper dom till a1, a4 osv.

Permalänk: https://www.webforum.nu/p/1694619

## #3 — Troxy, 2005-10-25T07:03Z

> In CSS2, identifiers  (including element names, classes, and IDs in selectors) can contain only the characters \[A-Za-z0-9\] and ISO 10646 characters 161 and higher, plus the hyphen (-); **they cannot start with a hyphen or a digit.**

<http://www.w3.org/TR/REC-CSS2/syndata.html#q4>

Permalänk: https://www.webforum.nu/p/1694643

---

Tråden på webben: https://www.webforum.nu/amne/html-css/136343-position-fungerar-ej-i-forefox
