Welkom, Gast. Je bent niet ingelogd.

CSS Wannabee tabel

Suma
heeft gelijk
Geplaatst op: 24 Jan 2008, 15:59
PimpCoins: 0
💸+
Bewerken Quote

Hewj,

Ik probeer steeds een wannabee tabel te maken met divjes:
(Voorbeeld):

Maar het lukt me niet echt >_<

Dit is mijn css tot nu toe:

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
<style type="text/css">
<!--
div#top {
    width: 490px;
    height: 27px;
    background: rgb(223,32,16);
    border: 1px solid rgb(103,224,242);
}
div#l_b {
    width: 235px;
    height: 164px;
    background: rgb(223,32,16);
    border: 1px solid rgb(103,224,242);
}
div#l_m {
    width: 235px;
    height: 120px;
    background: rgb(223,32,16);
    border: 1px solid rgb(103,224,242);
}
div#l_o {
    width: 235px;
    height: 63px;
    background: rgb(223,32,16);
    border: 1px solid rgb(103,224,242);
}
div#r_b {
    width: 235px;
    height: 164px;
    background: rgb(223,32,16);
    border: 1px solid rgb(103,224,242);
}
div#r_m {
    width: 235px;
    height: 97px;
    background: rgb(223,32,16);
    border: 1px solid rgb(103,224,242);
}
div#r_o {
    width: 235px;
    height: 97px;
    background: rgb(223,32,16);
    border: 1px solid rgb(103,224,242);
}
div#bottom {
    width: 490px;
    height: 27px;
    background: rgb(223,32,16);
    border: 1px solid rgb(103,224,242);
}
-->
</style>

Kan iemand mij helpen?

Christan
Pwn erd
Geplaatst op: 24 Jan 2008, 16:05
PimpCoins: 0
💸+
Bewerken Quote

Gewoon 2 divs laten floaten (links en rechts) en in die div dan die vakken maken.

Jaapje
Geplaatst op: 24 Jan 2008, 16:12
PimpCoins: 0
💸+
Bewerken Quote

Of een container div aanmaken. Deze div centreer je dan, en in deze div zet je mbv float left/right andere div's.

Waarom gebruik je btw rgb ipx hex? Hex is toch veel makkelijker?

e.:
wat is je html code?

[Laatst bewerkt door Jaapje op donderdag 24 januari 2008, om 16:12]
Suma
heeft gelijk
Geplaatst op: 24 Jan 2008, 16:54
PimpCoins: 0
💸+
Bewerken Quote

Met floats gaat de onderste div over die andere heen .. dat moet ik niet hebben..

📫

Nieuw privébericht

🔥

Registreren


Login