Pisze w imieniu mojego kumpla . Zrobil sobie strone, ale rozlatuje mu sie na firefoxie. Strona:
http://kamil-design.pl/strona/index.htmlStrona jest w (x)XHTML i CSS, oto kod:
<?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" xml:lang="pl"> <meta http-equiv="content-type" content="text/html; charset=iso-8859-2" /> <meta name="Author" content="ApeX" />
body {
background-color: #8b8b8b;
margin: 0;
padding: 0;
text-align:center;
}
div {
position:relative;
}
#container {
margin: 0 auto;
padding: 0 0;
position: relative;
width: 700px;
background-color: #ffffff;
text-align: center;
}
#header {
background: #ffffff url(images/top.jpg) no-repeat;
width: 700px;
height: 130px;
background-position: left bottom;
border-bottom: 0px solid #c5c5c5;
}
}
#navcontainer {
width:115px;
float:left;
background-color: transparent;
}
#nav1 {
text-align: left;
padding-top: 10px;
padding-bottom: 10px;
padding-left: 5px;
}
#nav2 {
text-align: left;
padding-top: 10px;
padding-bottom: 10px;
padding-left: 5px;
}
#navcontainer a{
font-size:11px;
color: black;
text-decoration; underline;
font-family: verdana;
margin: 0 auto;
}
a:link(color:black;text-decoration:underline}
a:hover{color:black;text-decoration:none}
#menu {
background: url(images/menu.jpg)
width: 134px;
height: 20px ;
font-family: verdana, arial, helvetica, sans-serif;
color: #ffffff;
font-size: 10px;
font-weight: normal;
text-align: center;
}
#prawo {
width:135px;
float:right;
text-align:left;
}
#srodek-img{
background: url(images/stopka.jpg) no-repeat;
font-family: verdana;
color: #ffffff;
font-size: 10px;
font-weight: normal;
text-align: center;
width:446px;
height:20px;
border-bottom: 0px;
border-top: 0px;
}
#srodek {
width: 446px;
float: left;
border: 1px solid #c5c5c5;
border-bottom: 0px;
border-top: 0px;
}
#stopka{
background: url(images/stopka.jpg)
font-family: verdana;
color: #ffffff;
font-size: 10px;
font-weight: normal;
text-align: center;
width:700px;
height:20px;
clear: both;
}
<a href="#" id="link1">Link1
</a><br /> <a href="#" id="link1">Link1
</a><br /> <a href="#" id="link1">Link1
</a><br /> <a href="#" id="link1">Link1
</a><br /> <a href="#" id="link1">Link1
</a><br /> <a href="#" id="link1">Link1
</a><br /> <div id="srodek-img">Witam na mojej stronie!
</div> <div id="srodek">Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Fusce nec velit id lacus pharetra interdum. In massa tellus, ultrices ac, luctus sit amet, nonummy sit amet, velit. In posuere. Aenean molestie purus vel massa. Vestibulum risus tellus, tempus ac, consequat et, mattis in, lectus. Vivamus malesuada hendrerit ipsum. Nam at dui eu lectus sollicitudin elementum. Nam egestas pede gravida diam. Ut sagittis dolor in tortor. Mauris euismod dictum massa. Nulla facilisi. Mauris magna.Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Fusce nec velit id lacus pharetra interdum. In massa tellus, ultrices ac, luctus sit amet, nonummy sit amet, velit. In posuere. Aenean molestie purus vel massa. Vestibulum risus tellus, tempus ac, consequat et, mattis in, lectus. Vivamus malesuada hendrerit ipsum. Nam at dui eu lectus sollicitudin elementum. Nam egestas pede gravida diam. Ut sagittis dolor in tortor. Mauris euismod dictum massa. Nulla facilisi. Mauris magna.Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Fusce nec velit id lacus pharetra interdum. In massa tellus, ultrices ac,
</div> <div id="prawo">Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Fusce nec velit id lacus pharetra interdum. In massa tellus, ultrices ac
</div> <div id="stopka"> Created by ApeX. Wszelkie prawa zastrze
żone.
</div>
Ten post edytował Roguś 16.07.2008, 11:36:29