Toon posts:

[HTML/CSS] Ernaast niet eronder

Pagina: 1
Acties:

Verwijderd

Topicstarter
Ik zit met een noob probleempje ;(
http://www.freex-tech.com/sub/hbe/
de text "test" zou naast het logo moeten komen

de css code is :
code:
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
body {
  /* Color */
  background-color: #D1D0C7;
  /* Margin || Padding */
  margin: 0px;
  margin-top: 10px;
  margin-left: 10px;
  margin-right: 10px;
  /* Text */
  font-family: verdana, sans-serif;
  font-size: 12px;
  /* Other */
  cursor: default;
}
.buitenkant {
  /* Width */
  width: 100%;
  /* Color */
  background-color: #FFFFFF;
  /* Border */
  border-width: 1px;
  border-style: solid;
  /* Text */
  font-family: verdana, sans-serif;
  font-size: 12px;
  /* Other */
  cursor: default;
}
.header {
  /* Width */
  width: 100%;
}
.header_logo {
  /* Width */
  width: 15%;
  /* Color */
  background-color: #FFFFFF;
  /* Border */
  border-bottom-width: 1px;
  border-bottom-style: solid;
  /* Text */
  font-family: verdana, sans-serif;
  font-size: 12px;
  /* Other */
  cursor: default;
}
.header_center {
  /* Width */
  width: 100px;
  /* Color */
  background-color: #FFFFFF;
  /* Float */
  float:left;
  /* Other */
  cursor: default;
}

  • disjfa
  • Registratie: April 2001
  • Laatst online: 12-05 15:11

disjfa

be

Cascading Stylesheet:
1
float:left;


http://www.w3schools.com/css/pr_class_float.asp

[ Voor 50% gewijzigd door disjfa op 19-02-2004 17:33 ]

disjfa - disj·fa (meneer)
disjfa.nl


Verwijderd

Topicstarter
is geen oplossing =/ (check url)

  • disjfa
  • Registratie: April 2001
  • Laatst online: 12-05 15:11

disjfa

be

HTML:
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
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
  <head>
    <title>Helpen.BE</title>
    
  </head>
  <style>
  
body {
  background-color: #D1D0C7;
  margin: 0px;
  margin: 10px;
  font-family: verdana, sans-serif;
  font-size: 12px;
  width: 100%;
}
.buitenkant {
  background-color: #FFFFFF;
  font-size: 12px;
  border:1px solid black;
}
.header {
}
.header_logo {
  background-color: #FFFFFF;
  cursor: default;
  float:left;
}
.header_center {
  background-color: #FFFFFF;
  float:left;
  cursor: default;
}
  </style>
  <body>
    <div class="buitenkant">
      <div class="header">
        <div class="header_logo">
          [img]"http://www.freex-tech.com/sub/hbe/logo.jpg"[/img]
        </div>
        <div class="header_center">
          test
        </div>
      </div>
    <br style="clear:both;"
    </div>
  </body>
</html>

ligt eraan waar je hem zet. jij had hem bij de text gezet maar dat betekend dat het plaatje nog de voledige breedte innam. dus je had er ook een bij je plaatje moeten zetten....

/heel erg basic

disjfa - disj·fa (meneer)
disjfa.nl


Verwijderd

Topicstarter
thanks opgelost _/-\o_