[CSS] Selector blokeert div

Gestart doorDylan1 reacties34 weergaven

2 berichten · pagina 1 van 1

Dylan

Lid · Topicstarter

Berichten
14.025
Reputatie
1
Punten
0,01
Lid sinds
Laatst gezien
Hoi,

Ik heb dit probleem eerder gehad, alleen heb ik alles geprobeerd met display:block, display:inline-block etc, het lukt niet..:
Afbeelding

Het oranje gedeelte moet weg zodat de userlist daar kan, helaas heb ik geen demo van de pagina omdat het via NodeJS werkt, wel heb ik de css:

Codeblok (voorbeeld.php):

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64

html, body {
font-family:Myriad Pro, sans-serif;
font-size:18px;
color:#000;
margin:0px;
padding:0px;
background: url(./images/background.png);
}

#container {
width:982px;
height:530px;
margin:70px auto;
}

#userList {
margin:0px;
width:228px;
height:355px;
float:right;
border:1px solid #cccccc;
}

.users li {
list-style-type:none;
background-color: #f2f2f2;
width:100%;
height:50px;
border-bottom: 1px solid #cccccc;
line-height:50px;
padding-left:7px;
}

.users li:hover {
background-color: #cccccc;
cursor:pointer;
}

ul {
padding:0px;
}

.scroll-pane {
width: 100%;
height: 355px;
overflow: auto;
}

#chatBox {
width:730px;
height:305px;
border:1px solid #cccccc;
background-color: #f2f2f2;
margin:25px 25px 25px 0px;
}

.head {
width:730px;
height:27px;
}

select[name=rooms] {
float:left;
}

Iemand nog een idee hoe je dit kan oplossen?
0
Berichten
93.699
Reputatie
0
Punten
1,27
Lid sinds
Laatst gezien
float: left op de blokken
0

Jouw reactie

Deel je idee, stel een vraag of help een ander verder.

Editor laden…

Praat mee met de One2xs-community.

Inloggen om te reageren