Ocena wątku:
  • 0 głosów - średnia: 0
  • 1
  • 2
  • 3
  • 4
  • 5
CSS layout
#8
Kod:
p
{
    margin:0 0 0 0;
}

ul
{
    margin:0 0 0 0;
}

body
{
    font-family: "Segoe UI", "Trebuchet MS";
    color: green;
    background:black;
    margin:0;
}

div#wrapper
{
    background:teal;
    width:60%;
    height:100%;
    margin:0 auto;
}

div#header
{
    margin:0 auto;
    background:yellow;
    height:200px;
}

div#menu
{
    margin:0 auto;
    background:red;
    width:10%;
    float:left;
}

div#footer
{
    background:white;
}

div#content
{
    margin:0 auto;
    background:navy;
    height:100%;
    width:70%;
    float:left;
}

Kod:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <link rel="stylesheet" href="mystyle.css" type="text/css">
        <title>Drink Team</title>
    </head>
    <body>
        <div id="wrapper">
            <div id="header">
                <p style="text-align:center">Here goes HEADER</p>
            </div>
            <div id="menu">
                <p>Here goes menu et dsasflasf s;ldfksd;lfks flksd;flk s;dkf
            </div>
            <div id="content">
                <p>Here goes content
            </div>
        </div> <!-- wrapper-->
    </body>
</html>

Chce, zeby content byl wysrodkowany a menu do niego przylegalo
Odpowiedz


Wiadomości w tym wątku
CSS layout - przez l245c4l - 20-09-2009, 07:16
RE: CSS layout - przez dziamber - 20-09-2009, 15:24
RE: CSS layout - przez l245c4l - 20-09-2009, 19:05
RE: CSS layout - przez dziamber - 20-09-2009, 19:53
RE: CSS layout - przez l245c4l - 20-09-2009, 20:09
RE: CSS layout - przez l245c4l - 21-09-2009, 19:31
RE: CSS layout - przez Labsta.com - 21-09-2009, 19:45
RE: CSS layout - przez l245c4l - 21-09-2009, 20:18
RE: CSS layout - przez Labsta.com - 21-09-2009, 21:31

Podobne wątki…
Wątek: Autor Odpowiedzi: Wyświetleń: Ostatni post
  Fluid layout i problem ze stopką Mtk 5 3,206 21-09-2012, 02:54
Ostatni post: kornell
  Programowanie Layout'a DMkociarz 5 3,846 14-11-2011, 21:36
Ostatni post: Kartofelek
  css/html layout bartek23 6 4,246 25-10-2011, 01:13
Ostatni post: Moody
  Nietypowy layout defox 0 1,895 24-07-2011, 04:41
Ostatni post: defox
Exclamation Layout - Problem Spartacus 9 6,469 07-01-2011, 02:45
Ostatni post: dervi3

Skocz do:


Użytkownicy przeglądający ten wątek: 1 gości
Sponsorzy i przyjaciele
SeoHost.pl