Autor Zpráva
acheron
Profil
v opere (citane z hdd) je vsetko v uplnom poriadku , v opere (internet) mi nenacita obrazky horneho menu , IE (FF neviem ako je na tom) to je UPLNE do****** cela stranka , cim to asi je ?
prosim Vas , tipi: Cele prerobit alebo Uplne zle mi sem nepiste , ale nieco konkretnejsie , kde su chyby a tak

www.kaci.wu.cz
tiso
Profil
url(images/menu.jpg) vs. url("menu.jpg")
acheron
Profil
tim to nieje , skusil som, a az teraz ma napadlo ze sem nedal css style, odkial si vypatral to url(images/menu.jpg) vs. url("menu.jpg") ? xD

tak skusim hodit ten css mozno to niekomu zapne skor ako mne co je s tim

<style type="text/css">

html,body {text-align: center; background: url('menu2pozadie.jpg'); height: 100%; padding: 0; margin: 0}

#stranka {width: 1024px; margin: 0px auto;}

#menu1 {position: absolute; width: 1018px; height: 48px; top: 305px; left: 210px}

#levy {position: absolute; width: 150px; top: 352px; left: 112px; float: left; background: url('menu0.jpg'); color: white; font-family: Verdana; padding: 35px 0 0 0}

#nadpismenu {position: absolute; width: 50px; height: 30px; top: 7px; left: 20px; color: #32cd32; font-family: sans-serif; font-size: 20px}

#obsah {position: relative; width: 700px; left: 155px; float: left; color: white; text-align: left}

#pravy {position: absolute; width: 150; top: 352px; left: 987px; padding: 30px 0 0 0; float: right; background: url('menu0.jpg'); text-align: center}

#nadpisreklama {position: absolute; width: 150px; height: 30px; top: 5px; left: 0px; color: #32cd32; font-family: sans-serif; font-size: 20px; text-align: center}


#paticka1
{
width: 1024px;
position: absolute;
bottom: 0;
height: 19px;
background: url('peta.jpg');
font-size: 15px;
color: white;
}

#paticka
{
text-align: right;
color: white;
padding: 0 10px 0 0;
}



ul, li
{
margin: 0;
padding: 0;
}

.cl
{
clear: both;
}

ul.menu
{
font-size: 20px;
font-family: sans-serif;
}

ul.menu li
{
list-style-type: none;
}

ul.menu li.item
{
float: left;
width: 200px;
height: 39px;
margin-right: 5px;
margin-bottom: 5px;
}

ul.menu li.item a
{
display: block;
width: 200px;
height: 39px;
line-height: 40px;
text-align: center;
background: white url('menu1polozka1.jpg');
color: #00ff00;
font-weight: bold;
text-decoration: none;
font-style: italic;
}

ul.menu li.item a:hover
{
color: #006400;
}


{
font-family: Verdana, Arial, Helvetica, sans-serif;
margin: 0;
font-size: 80%;
font-weight: bold;
}

#menu a {
display:block;
width:150px;
height:32px;
color: black;
background: url("menu.jpg") 0 0 no-repeat;
text-decoration: none;
}

#menu a:hover {
background: url("menu.jpg") 0 -32px;
color: white;
}
#menu a:active {
background: url("menu.jpg") 0 -64px;
color: black;
}
div.outer {
background: url("menu.jpg") 0 -32px no-repeat;
}

div.outer a {
display: block;
margin: 0;
padding:0;
width:100%;
height:100%;
overflow:hidden;
background: url("menu.jpg") top left no-repeat;
}

div.outer span {
display: block;
margin:0;
padding: 8px 25px 0 10px;
}
</style>
Manq
Profil
acheron
Jdeš na to špatně. Používej vlastnost float. Ne position. Float se na layout hodí více. Respektive, nemělo by to potom dělat takovéto problémy.
acheron
Profil
ako sa to da urobit bez position len cisto zapomoci float ?
Manq
Profil
Lehce - http://css.interval.cz/layouty/

Vaše odpověď

Mohlo by se hodit

Nezapomeňte na odkaz na živou ukázku problému.

Prosím používejte diakritiku a interpunkci.

Ochrana proti spamu. Napište prosím číslo dvě-sta čtyřicet-sedm:

0