Staram się napisać jakąś pierwszą stronę www no i mam kilka problemów. Strona wygląda tak: KLIK i moje pytanie brzmi:
1. Czemu nad menu jest taka przerwa? Jak ją usunąć?
2. Prawa kolumna, w której jest Kontakt - jak zrobić by te dane były od góry wprowadzone, a nie w środku??
3. Jak dodać w nagłówku pod napisem "Michael2318" jakiś opis? Np. Michael2318 a pod spodem jako opis COSTAMCOSTAM ? Bo jak dodaje po tym:
np cos takiego:
To wyświetla się to gdzieś w środku treści dokumentu.
To na tyle. Jeśli macie jakieś propozycje co mógłbym dodać/usunąć to napiszcie!
Tutaj kod HTML strony index.htm:
<?xml version="1.0" encoding="iso-8859-2"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-type" content="application/xhtml+xml; charset=iso-8859-2" /> <meta http-equiv="Content-Language" content="pl" /> <link rel="stylesheet" href="style.css"> </head> <body xml:lang="pl"> <div id="top"> <ul> </ul> </div> <div id="kontener"> <div id="tresc"> <table width="100%" cellspacing="1" cellpadding="1" border="0"> <tbody> <tr> <p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.<br><br></p> <p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.</p></td> E-mail: Michael23318@gmail.com Gadu-Gadu: 8058347</td> </tr> </tbody> </table> </div> <div id="stopka"> </div> </div> </body> </html>
a tutaj style.css:
Kod
body {
background:#e8ecf1;
margin:0px;
padding:0px;
font:12px helvetica
}
div#kontener{
width: 1000px;
margin: 0px auto;
text-align: justify;
}
div#tresc{
margin-top: 0px;
padding-top: 15px;
}
div#tresc *{
padding-left: 8px;
padding-right: 30px;
}
div#stopka{
height: 120px;
width: 100%;
}
div#stopka p{
width: 100%;
left: 0px;
bottom: 0px;
text-align: center;
}
div#tresc p{
margin-bottom: 0px;
padding-bottom: 15px;
}
#top {
background:url('top.png');
height:80px;
margin-top:0px;
}
#top ul {
position:absolute;
list-style:none;
padding:9px 4px;
margin:0px 0px 0px 280px;
background:#23446d;
font-size:14px;
-moz-border-radius:7px;
-webkit-border-radius:7px;
border-radius:7px
}
#top ul li {
float:left;
display:inline-block;
padding:0px 3px
}
#top ul li a {
color:#fff;
text-decoration:none;
padding:3px 5px;
text-shadow:1px 0.5px 0px #000
}
#top ul li a:hover {
background:#1b3657;
-moz-border-radius:7px;
-webkit-border-radius:7px;
border-radius:7px
}
#top h1 {
padding:24px 15px
}
#top h1 a {
padding:5px;
color:#fff;
text-decoration:none;
text-shadow:1px 0.5px 0px #000
}
#top h1 a:hover {
background:#23446d;
text-shadow:1px 0.5px 10px #000;
-moz-border-radius:7px;
-webkit-border-radius:7px;
border-radius:7px
}
.prawaTabela {
background:#EFF4FA;
border-style: solid;
-moz-border-radius:14px;
-webkit-border-radius:14px;
border-radius:14px
}
background:#e8ecf1;
margin:0px;
padding:0px;
font:12px helvetica
}
div#kontener{
width: 1000px;
margin: 0px auto;
text-align: justify;
}
div#tresc{
margin-top: 0px;
padding-top: 15px;
}
div#tresc *{
padding-left: 8px;
padding-right: 30px;
}
div#stopka{
height: 120px;
width: 100%;
}
div#stopka p{
width: 100%;
left: 0px;
bottom: 0px;
text-align: center;
}
div#tresc p{
margin-bottom: 0px;
padding-bottom: 15px;
}
#top {
background:url('top.png');
height:80px;
margin-top:0px;
}
#top ul {
position:absolute;
list-style:none;
padding:9px 4px;
margin:0px 0px 0px 280px;
background:#23446d;
font-size:14px;
-moz-border-radius:7px;
-webkit-border-radius:7px;
border-radius:7px
}
#top ul li {
float:left;
display:inline-block;
padding:0px 3px
}
#top ul li a {
color:#fff;
text-decoration:none;
padding:3px 5px;
text-shadow:1px 0.5px 0px #000
}
#top ul li a:hover {
background:#1b3657;
-moz-border-radius:7px;
-webkit-border-radius:7px;
border-radius:7px
}
#top h1 {
padding:24px 15px
}
#top h1 a {
padding:5px;
color:#fff;
text-decoration:none;
text-shadow:1px 0.5px 0px #000
}
#top h1 a:hover {
background:#23446d;
text-shadow:1px 0.5px 10px #000;
-moz-border-radius:7px;
-webkit-border-radius:7px;
border-radius:7px
}
.prawaTabela {
background:#EFF4FA;
border-style: solid;
-moz-border-radius:14px;
-webkit-border-radius:14px;
border-radius:14px
}
Pozdrawiam!
Michał,