• Login
  • Register
  • Zoek
This Thread
  • Everywhere
  • This Thread
  • This Forum
  • Articles
  • Pages
  • Forum
  • Filebase Entry
  • More Options

ICTscripters

Dé plek voor IT

Dé plek voor IT

Login

Geavanceerde opties
  1. Home
  2. Forum
    1. Alle berichten
    2. Recente activiteiten
  3. ICT Nieuws
  4. Blog
  5. Marktplaats
    1. Werk
    2. Advertenties
    3. Domeinnamen
    4. Websites
    5. Design & lay-outs
    6. Scripts
    7. Overige
  6. Design
  7. Leden
    1. Actieve bezoekers
    2. Team
    3. Leden zoeken
  8. Downloads
  9. Goedkope domeinnamen
  1. Home
  2. Forum
    1. Alle berichten
    2. Recente activiteiten
  3. ICT Nieuws
  4. Blog
  5. Marktplaats
    1. Werk
    2. Advertenties
    3. Domeinnamen
    4. Websites
    5. Design & lay-outs
    6. Scripts
    7. Overige
  6. Design
  7. Leden
    1. Actieve bezoekers
    2. Team
    3. Leden zoeken
  8. Downloads
  9. Goedkope domeinnamen
  1. Home
  2. Forum
    1. Alle berichten
    2. Recente activiteiten
  3. ICT Nieuws
  4. Blog
  5. Marktplaats
    1. Werk
    2. Advertenties
    3. Domeinnamen
    4. Websites
    5. Design & lay-outs
    6. Scripts
    7. Overige
  6. Design
  7. Leden
    1. Actieve bezoekers
    2. Team
    3. Leden zoeken
  8. Downloads
  9. Goedkope domeinnamen
  1. Dé plek voor IT - ICTscripters
  2. Forum
  3. Scripting & programmeren
  4. (X)HTML + XML + CSS

Forum

  • Beta-testers gezocht voor Crypto-oefenplatform

    Syntax 29 januari 2026 om 16:11
  • Na 15 jaar terug van weggeweest: iCriminals.nl is terug (BETA)!

    Syntax 19 januari 2026 om 09:34
  • Developer Gezocht

    Mikevdk 10 januari 2026 om 18:57
  • Op zoek naar de legends

    Syntax 5 januari 2026 om 13:50
  • [FREE] WeFact Hosting module

    Jeroen.G 13 oktober 2025 om 14:09
  • Help testers nodig voor android app Urgent

    urgentotservices 26 september 2025 om 10:21
  • Versio vervanger

    Jeroen.G 25 augustus 2025 om 15:56
  • Afspraken systeem met planbeperking

    Lijno 1 augustus 2025 om 23:04

Marktplaats

  • 350 Nieuwe Domeinnamen Januari 2026

    shiga 1 februari 2026 om 14:21
  • 321 Nieuwe Domeinnamen December 2025

    shiga 1 januari 2026 om 10:26
  • Meerdere mafia game template te koop

    Syntax 26 december 2025 om 00:07

Divs staan niet naast elkaar

  • Flatliner
  • 22 juli 2009 om 12:36
  • Closed
  • Flatliner
    Professional
    Berichten
    591
    • 22 juli 2009 om 12:36
    • #1

    Beste cpers,

    Ik ben aan het proberen een site in mekaar te prutsen, maar ik krijg de kolom Portfolio en Menu niet naast elkaar.

    Ik heb al geprobeert met float maar hij blijft dan nog steeds op de zelfde plek staan.

    Iemand die me kan helpen?

    Online voorbeeld: http://www.rg.karhost.nl

  • alexruter
    Prostart B.V
    Berichten
    1.272
    • 22 juli 2009 om 12:37
    • #2

    Beste,

    Of je vergeet een div af te sluiten. Of je geeft float left niet mee.

    Zou je even de code kunnen plaatsen a.u.b;)

    Met vriendelijke groet,
    A. Ruter

    Project Starter : 40%

    Voor meer informatie kunt u contact met ons opnemen via: http://<woltlab-metacode-marker data-name="b" data-uuid="9968e8cf-c21e-4616-83a2-1b7dbe424ef3" data-source="W2Jd" /><woltlab-metacode-marker data-name="i" data-uuid="6afb9ec5-726a-4117-99f8-5ce4efc057f1" data-source="W2ld" />mailto:<woltlab-metacode-marker data-uuid="6afb9ec5-726a-4117-99f8-5ce4efc057f1" data-source="Wy9pXQ==" /><woltlab-metacode-marker data-uuid="9968e8cf-c21e-4616-83a2-1b7dbe424ef3" data-source="Wy9iXQ==" />

  • Flatliner
    Professional
    Berichten
    591
    • 22 juli 2009 om 12:48
    • #3

    HTML:

    PHP
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    
    
    <html>
    <head>
    <title>Naam - Slogan</title>
    <link rel="stylesheet" type="text/css" href="style.css">
    
    
    </style>
    </head>
    <body>
    <div id="header">
    <h1>Naam - Naam - Naam</h1>
    <p>Slogan - Slogan - Slogan</p>
    </div>
    
    
    <div id="portfolio">
    <table border="0px" width="300px">
    <tr><td height="20px" bgcolor="C0C0C0"><span style="font-family:Tahoma; font-size: 12px;">Portfolio</span>
    <tr><td style="border:1px solid #008080"><span style="font-family:Tahoma; font-size: 11px;">Layouts<hr style="color: #C0C0C0;"><br />
    Image 1<br />
    Image 2<br />
    <hr style="color=#C0C0C0">Scripts<br />
    <hr style="color=#C0C0C0">
    Script 1<br />
    Script 2</span>
    </td>
    </tr>
    </table>
    <div id="menu">
    <table border="0px" width="200px;">
    <tr><td height="20px" bgcolor="#C0C0C0"><span style="font-family:Tahoma; font-size: 12px;">Menu</span>
    <tr><td style="border:1px solid #008080"><span style="font-family:Tahoma; font-size: 12px;">
    -<a href="#">Home</a><br />
    -<a href="#">Portfolio</a><br />
    -<a href="#">Bestellen</a><br />
    -<a href="#">Over ons</a><br />
    -<a href="#">Contact</a>
    </td>
    </tr>
    </table>
    </div>
    </div>
    
    
    <div id="footer">
    <p>&copy Naam - Naam - Naam - Alle rechten voorbehouden.</p>
    </div>
    
    
    
    
    
    
    </body>
    </html>
    Toon Meer

    CSS:

    PHP
    #header {
    background-color:#008080;
    position: relative;
    width: 600px;
    height: 100px;
    left: 250px;
    border: 1px dotted;
    }
    #header h1 {
    text-align: center;
    font-family:Tahoma;
    font-size: 20px;
    padding-top: 10px;
    color: white;
    }
    #header p {
    font-family:Times;
    font-size: 12px;
    color: white;
    padding-left:300px;
    }
    #portfolio {
    position: relative;
    left: 250px;
    }
    #menu {
    position: relative;
    left: 300px;
    }
    
    
    #footer {
    position: relative;
    width: 600;
    height: 20px;
    left: 250px;
    background-color: #C0C0C0;
    text-align: center;
    font-family: Tahoma;
    font-size: 11px;
    color: black;
    }
    A:link {text-decoration: none; color: #000000;}
    A:visited {text-decoration: none; color: #000000;}
    A:active {text-decoration: none; color: #000000;}
    A:hover {text-decoration: none; color: #008080;}
    Toon Meer

    Float heb ik effe weg gelaten want het werkte niet.

  • alexruter
    Prostart B.V
    Berichten
    1.272
    • 22 juli 2009 om 12:50
    • #4

    Beste,

    Kijk is naar Regel: 22 & 23 daar zie je een <hr geopend worden. Maar niet afgesloten.

    Met vriendelijke groet,
    A. Ruter

    Project Starter : 40%

    Voor meer informatie kunt u contact met ons opnemen via: http://<woltlab-metacode-marker data-name="b" data-uuid="9968e8cf-c21e-4616-83a2-1b7dbe424ef3" data-source="W2Jd" /><woltlab-metacode-marker data-name="i" data-uuid="6afb9ec5-726a-4117-99f8-5ce4efc057f1" data-source="W2ld" />mailto:<woltlab-metacode-marker data-uuid="6afb9ec5-726a-4117-99f8-5ce4efc057f1" data-source="Wy9pXQ==" /><woltlab-metacode-marker data-uuid="9968e8cf-c21e-4616-83a2-1b7dbe424ef3" data-source="Wy9iXQ==" />

  • Smil-E
    M E D I A L A B S . B E
    Berichten
    560
    • 22 juli 2009 om 12:53
    • #5

    doe het zo:

    PHP
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    
    
    <html>
    <head>
    <title>Naam - Slogan</title>
    <link rel="stylesheet" type="text/css" href="style.css">
    
    
    </style>
    </head>
    <body>
    <div id="header">
    <h1>Naam - Naam - Naam</h1>
    <p>Slogan - Slogan - Slogan</p>
    </div>
    <div style="float: left;">
    <div id="portfolio">
    <table border="0px" width="300px">
    <tr><td height="20px" bgcolor="C0C0C0"><span style="font-family:Tahoma; font-size: 12px;">Portfolio</span>
    <tr><td style="border:1px solid #008080"><span style="font-family:Tahoma; font-size: 11px;">Layouts<hr style="color: #C0C0C0;">
    Image 1
    Image 2
    <hr style="color=#C0C0C0">Scripts
    <hr style="color=#C0C0C0">
    Script 1
    Script 2</span>
    </td>
    </tr>
    </table>
    </div>
    <div style="float: left;">
    <div id="menu">
    <table border="0px" width="200px;">
    <tr><td height="20px" bgcolor="#C0C0C0"><span style="font-family:Tahoma; font-size: 12px;">Menu</span>
    <tr><td style="border:1px solid #008080"><span style="font-family:Tahoma; font-size: 12px;">
    -<a href="#">Home</a>
    -<a href="#">Portfolio</a>
    -<a href="#">Bestellen</a>
    -<a href="#">Over ons</a>
    -<a href="#">Contact</a>
    </td>
    </tr>
    </table>
    </div>
    </div>
    </div>
    <div id="footer">
    <p>&copy Naam - Naam - Naam - Alle rechten voorbehouden.</p>
    </div>
    
    
    
    
    
    
    </body>
    </html>
    Toon Meer

    Portfolio Online!
    RuneScapeR
    nog 1583 v/d 1583 ice giants te doen voor level 75 strength! (nu level 70)

  • Flatliner
    Professional
    Berichten
    591
    • 22 juli 2009 om 12:54
    • #6

    de <hr /> tags is toch een tag zonder afsluiting?

    Nieuwe reactie samengevoegd met originele reactie op 22.07.09 13:02:26:
    @TimD

    Deze werkt niet, de footer gaat onder de header staan en menu gaat ook weer ergens anders staan.

    Iemand die de oplossing weet?

  • Virgo
    Student
    Berichten
    68
    • 22 juli 2009 om 14:37
    • #7

    Op regel 18 sluit je een tr en td niet af

  • alexruter
    Prostart B.V
    Berichten
    1.272
    • 22 juli 2009 om 14:45
    • #8

    Beste,

    Probeer dit is:

    PHP
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    
    
    <html>
    <head>
    <title>Naam - Slogan</title>
    <link rel="stylesheet" type="text/css" href="style.css">
    
    
    </style>
    </head>
    <body>
    <div id="header">
    <h1>Naam - Naam - Naam</h1>
    <p>Slogan - Slogan - Slogan</p>
    </div>
    
    
    <div id="portfolio">
    <table border="0px" width="300px">
    <tr><td height="20px" bgcolor="C0C0C0"><span style="font-family:Tahoma; font-size: 12px;">Portfolio</span>
    <tr><td style="border:1px solid #008080"><span style="font-family:Tahoma; font-size: 11px;">Layouts<hr style="color: #C0C0C0;">
    Image 1
    Image 2
    <hr style="color=#C0C0C0">Scripts
    <hr style="color=#C0C0C0">
    Script 1
    Script 2</span>
    </td></td>
    </tr></tr>
    </table>
    <div id="menu">
    <table border="0px" width="200px;">
    <tr><td height="20px" bgcolor="#C0C0C0"><span style="font-family:Tahoma; font-size: 12px;">Menu</span>
    <tr><td style="border:1px solid #008080"><span style="font-family:Tahoma; font-size: 12px;">
    -<a href="#">Home</a>
    -<a href="#">Portfolio</a>
    -<a href="#">Bestellen</a>
    -<a href="#">Over ons</a>
    -<a href="#">Contact</a>
    </td></td>
    </tr></tr>
    </table>
    </div>
    </div>
    
    
    <div id="footer">
    <p>&copy Naam - Naam - Naam - Alle rechten voorbehouden.</p>
    </div>
    
    
    
    
    
    
    </body>
    </html>
    Toon Meer

    Met vriendelijke groet,
    A. Ruter

    Project Starter : 40%

    Voor meer informatie kunt u contact met ons opnemen via: http://<woltlab-metacode-marker data-name="b" data-uuid="9968e8cf-c21e-4616-83a2-1b7dbe424ef3" data-source="W2Jd" /><woltlab-metacode-marker data-name="i" data-uuid="6afb9ec5-726a-4117-99f8-5ce4efc057f1" data-source="W2ld" />mailto:<woltlab-metacode-marker data-uuid="6afb9ec5-726a-4117-99f8-5ce4efc057f1" data-source="Wy9pXQ==" /><woltlab-metacode-marker data-uuid="9968e8cf-c21e-4616-83a2-1b7dbe424ef3" data-source="Wy9iXQ==" />

  • Smil-E
    M E D I A L A B S . B E
    Berichten
    560
    • 22 juli 2009 om 16:23
    • #9

    Flatliner,

    heb je men code al getest ?

    Portfolio Online!
    RuneScapeR
    nog 1583 v/d 1583 ice giants te doen voor level 75 strength! (nu level 70)

  • Flatliner
    Professional
    Berichten
    591
    • 22 juli 2009 om 17:25
    • #10

    @TimD die heb ik getest, die werkte niet. Ik heb geleerd dat <hr /> Tags niet af gesloten hoeven worden net zoals <br />

    alexruter
    Die werkt ook niet.

    Moet ik wat in de css aan passen?

  • Virgo
    Student
    Berichten
    68
    • 22 juli 2009 om 18:20
    • #11

    Heb je überhaupt mijn reactie wel gelezen?

    Want dat is de enige reactie waar je niets mee doet...

    Citaat

    Op regel 18 sluit je een tr en td niet af

  • werty9021
    Student
    Berichten
    89
    • 22 juli 2009 om 20:59
    • #12

    Niet getest maarja, zou moeten werken;)
    Html&Css

    PHP
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    
    
    <html>
    <head>
    <title>Naam - Slogan</title>
    <style>
    body{margin: 0; padding: 0; font-family: Times; font-size: 12px; color: white; text-align: center;}
    
    
    #wrapper{width: 600px; margin: auto; text-align: left;}
    
    
    #header{background:#008080; width: 600px; height: 100px; border: 1px dotted; float: left;}
    #header h1{font-family: Tahoma; font-size: 20px; padding: 10px 0 0 195px;}
    #header p{padding-left: 300px;}
    
    
    #portfolio{width: auto; float: left;}
    #menu{width: auto; float: right;}
    
    
    #footer{float: left; width: 600px; height: 20px; background: #C0C0C0; text-align: center; font-family: Tahoma; font-size: 11px; color: black;}
    #footer p{margin: 0; padding: 0;}
    a{text-decoration: none; color: #000000;}
    a:hover{text-decoration: none; color: #008080;}
    </style>
    </head>
    <body>
    <div id='wrapper'>
    <div id="header">
    	<h1>Naam - Naam - Naam</h1>
    	<p>Slogan - Slogan - Slogan</p>
    </div>
    
    
    <div id="portfolio">
    	<table border="0px" width="300px">
    		<tr><td height="20px" bgcolor="C0C0C0"><span style="font-family:Tahoma; font-size: 12px;">Portfolio</span></td></tr>
    		<tr><td style="border:1px solid #008080">
    		<span style="font-family:Tahoma; font-size: 11px;">Layouts<hr style="color: #C0C0C0;" />Image 1 Image 2
    		<hr style="color=#C0C0C0" />Scripts
    		<hr style="color=#C0C0C0" />Script 1 Script 2</span></td></tr>
    	</table>
    </div>
    <div id="menu">
    	<table border="0px" width="200px;">
    		<tr><td height="20px" bgcolor="#C0C0C0"><span style="font-family:Tahoma; font-size: 12px;">Menu</span></td></tr>
    		<tr><td style="border:1px solid #008080"><span style="font-family:Tahoma; font-size: 12px;">
    		-<a href="#">Home</a>
    		-<a href="#">Portfolio</a>
    		-<a href="#">Bestellen</a>
    		-<a href="#">Over ons</a>
    		-<a href="#">Contact</a></td></tr>
    	</table>
    </div>
    
    
    <div id="footer">
    	<p>&copy Naam - Naam - Naam - Alle rechten voorbehouden.</p>
    </div>
    </div>
    </body>
    </html>
    Toon Meer

    Mvg,
    Werty9021:cheer:

  • Cass
    Intermediate
    Berichten
    397
    • 22 juli 2009 om 21:09
    • #13

    De groottes kloppen gewoon niet:)

Participate now!

Heb je nog geen account? Registreer je nu en word deel van onze community!

Maak een account aan Login

ICT Nieuws

  • Fijne feestdagen

    tcbhome 28 december 2025 om 13:55
  • Kritieke update voor Really Simple Security-plug-in

    K.Rens 16 november 2024 om 16:12
  • ING Nederland streeft naar ondersteuning van Google Pay tegen eind februari

    K.Rens 2 november 2024 om 16:09

Blogs

  • Functioneel ontwerp

    Dees 28 december 2014 om 12:38
  • Access Control List implementatie in PHP/MySQL - deel 1/2

    FangorN 28 december 2018 om 12:35
  • Access Control List implementatie in PHP/MySQL - deel 2/2

    FangorN 29 december 2018 om 12:37

Gebruikers die dit topic bekijken

  • 1 Gasten
  1. Marktplaats
  2. Design
  3. Voorwaarden
  4. Ons team
  5. Leden
  6. Geschiedenis
  7. Regels
  8. Links
  9. Privacy Policy
ICTscripters ©2005 - 2026 , goedkope hosting door DiMoWeb.com, BE0558.915.582
Sponsors: Beste kattenhotel provincie Antwerpen | Beste Zetes eid kaartlezer webshop
Style: Nexus by cls-design
Stylename
Nexus
Manufacturer
cls-design
Licence
Commercial styles
Help
Supportforum
Visit cls-design