View previous topic :: View next topic
Author
Message
nel`chee Joined: 08 Jul 2004 Posts: 2087 Location: Rijeka
Posted: 07.04.2006 18:26 Post subject: IE background-position i float
imam container i dva stupca. kada stupci nisu floatani pozadina pocinje od vrha containera, a kada su floatani pocinje od vrha stranice
imam na IE-u developer toolbar i zbilja div pocinje na 40px kao sto i treba, ali pozadina ipak pobjegne gore.
Code: html {
background: url(slike/bg2.gif) #fff 0% 0% repeat-y;
color: #666;
padding-left: 39px;
}
body {
background: url(slike/bg1.gif) 0% 0% repeat-x;
font: small "trebuchet MS", "verdana", "tahoma", sans-serif;
padding-top: 40px;
}
#container {
background: url(slike/bg4.gif) 73% 0% repeat-y;
}
#container div {
background: url(slike/bg5.gif) 73% 0% no-repeat;
}
div#content {
width: 60%;
float: left;
padding: 4% 6% 4% 4%;
background: url(slike/bg3.gif) 0% 0% no-repeat;
line-height: 150%;
}
div#column {
width: 19%;
float: left;
padding: 5% 3% 5% 7%;
background: none;
}
div#footer {
clear: both;
background: url(slike/bg6.gif) 0% 0% repeat-x;
}
Back to top
nel`chee Joined: 08 Jul 2004 Posts: 2087 Location: Rijeka
Posted: 07.04.2006 18:31 Post subject:
ok, nasla sam na PIE
dala sam containeru width: 100% i sad je okej
nisam brisala post jer mozda nekom drugom zatreba.
Back to top
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
Powered by phpBB © 2001, 2005 phpBB Group