mam problem z organizacja stopki na stronie. Chwilowo styl dla niej, to:
Kod
.footer
{
width: 100%;
background-image:url(img/footer.jpg);
height:69px;
clear:both;
background-repeat:repeat-x;
color: #FFFFFF;
text-align:left;
}
{
width: 100%;
background-image:url(img/footer.jpg);
height:69px;
clear:both;
background-repeat:repeat-x;
color: #FFFFFF;
text-align:left;
}
gdzie footer.jpg to paseczek o szerokosci 1px
Wewnatrz footera musze umiescic:
- linijke tektu
- linijke tekstu ktory jest linkim
- obrazke z logo
Nie chce tworzyc osobnych klas dla nich dlatego zastanawiam sie jak to zorganizowac. Czy dla testu zrobic p.footer dla linka a.footer a obraka img.footer?
Kazdy z nich musi sie roznic tym jak odsuniety jest od bokow stopki. Czy w takim razie dla kazdego musze ustawic margin indywidualny?
Chwilowo wyglada to u mnie tak:
Kod
p.footer
{
margin-left: 300px;
margin-top: 30px;
background: none;
height:auto;
clear:both;
}
a.footer
{
color: #D1D1D1;
text-decoration:none;
margin-left: 200px;
margin-top: 30px;
background: none;
}
img.footer
{
width:auto;
margin-left: 0;
margin-top: 0;
background: none;
}
{
margin-left: 300px;
margin-top: 30px;
background: none;
height:auto;
clear:both;
}
a.footer
{
color: #D1D1D1;
text-decoration:none;
margin-left: 200px;
margin-top: 30px;
background: none;
}
img.footer
{
width:auto;
margin-left: 0;
margin-top: 0;
background: none;
}
wywolanie natomiast:
Tyle ze obecnie ostro sie to rozjezdza. Na swoim miejscu jest jedynie img ale footer jest o wiele wyzszy niz byc powinien i p i a spadaja. Poradzcie w czym moze byc blad. Z gory dzieki.