html, body
{background: #0b1011;
font-size: 1em;
font-family: verdana, tahoma, arial, helvetica, sans-serif;
width: 800px;
margin: 0 auto;
}
}
#Top{
width: 800px;
margin: 0 auto;
}
#MENU {
clear: both;
background-image: url('images/tlomenu.png');
width: 190px;
height: 558px;
float: left;
overflow: hidden;
}
#p{
margin-top: 50px;
margin-left: 40px;
}
#Container {
background-image: url('images/tlotresc.png');
width: 610px;
height: 558px;
float: left;
overflow: hidden;
font-size: 12px;
font-family: Verdana;
}
#Scroller-1 {
margin-left: 35px;
margin-top: 40px;
position: absolute;
overflow: hidden;
width: 530px;
height: 400px;
}
#Scroller-1 p {
margin: 0; padding: 10px 30px;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 11px;
text-indent: 20px;
color: #6F6048;
}
.Scroller-Container {
position: absolute;
top: 0px; left: 0px;
}
.Scrollbar-Up{
cursor: pointer;
position: absolute;
margin-top: 450px;
margin-left: 90px;
}
.Scrollbar-Down {
cursor: pointer;
position: absolute;
margin-top: 450px;
margin-left: 105px;
}
#POZIOME {
margin-left: 0 auto;
clear: both;
height: 61px;
width: 800px;
}
#stopka {
clear: both;
width: 800px;
height: 55px;
background: url("images/stopka.png") no-repeat;
font-size: 10px;
font-family: Tahoma ;
margin: 0 auto;
color: white;
text-align: center;
text-indent: 15px;
}
ul.menu, ul li {
display: block;
list-style: none;
margin-left: 0;
padding: 0;
}
ul.menu {
width: 80px;
}
ul.menu a:link, ul a:visited {
display: block;
width: 80px;
text-decoration: none;
background: url('images/pustybaner.png');
padding: 5px;
border: 0;
font-weight: bold;
font-size: 12px;
color: black;
font-family: tahoma;
text-indent: 15px;
}
ul.menu a:hover {
border-style: inset;
padding: 7px 3px 3px 7px;
background-image: url("images/zmianabaner.png")
}
ul.tree {
display: block;
margin-left: 50px;
padding-left: 0;
width: 400px;
height: 10000px;
}
ul.tree ul {
display: display;
margin-left: 0;
padding-left: 0;
margin-top: 0;
margin-bottom: 0;
}
ul.tree li {
display: display;
list-style-type: none;
padding-left: 0px;
background-color: none;
background-position: left top;
background-repeat: no-repeat;
color: black;
}
ul.tree li.closed {
background-color: none;
background-position: left top;
background-repeat: no-repeat;
color: #ab8c08;
font-weight: bold;
}
ul.tree li.opened {
background-color: none;
background-position: left top;
background-repeat: no-repeat;
color: black;
}
ul.tree li a {
font-size: 14px;
text-decoration: none;
cursor: pointer;
border: 0px;
}
ul.tree li a.folder {
cursor: pointer;
}
ul.tree li a.active {
font-weight: bold;
}
ul.tree li a:hover {
text-decoration: underline;
}
Strona 1 z 1
Wyśrodkowanie strony w IE
#1
Napisano 17 grudzień 2011 - 15:56
Mam problem z wyśrodkowanie strony. W firefox'ie i operze jest wszystko ok, natomiast w IE strona jest z boku zamiast na środku, oto kod CSS, powiedzcie co jest źle, lub co trzeba dodać.
#2
Napisano 20 grudzień 2011 - 20:08
Jest OK. Zwyczajnie jednak IE inaczej interpretuje kod strony i tym nie należy się zbytnio przejmować, skoro na FF działa dobrze.
____________________
chwilówki
____________________
chwilówki
Najlepsze, jedyne i oficjalne forum tarnowskich studentów! Głównie studentów pwsz tarnów ale innych studentów również zapraszamy! :)
#3
Napisano 25 grudzień 2011 - 11:35
Jeśli strona się rozjeżdża to znaczy, że nie jest OK.
@djpittbull, mógłbyś podać link do strony, z którą masz problemy? Dużo łatwiej byłoby to ogarnąć "wizualnie". Pozdrawiam.
@djpittbull, mógłbyś podać link do strony, z którą masz problemy? Dużo łatwiej byłoby to ogarnąć "wizualnie". Pozdrawiam.
Jak zamienić np. 98 groszy na 1000 złotych - odpowiedź znajdziesz na licytujkase.pl
#4
Napisano 20 styczeń 2012 - 19:08
Generalnie ustawienie szerokości całego kontenera i wstawienie "width: XXXpx;" powinno pomóc i na każdej przeglądarce działać, jak to nie zadziała to pozostaje urzycie <center>
#5
Napisano 30 marzec 2012 - 22:38
Albo to w CSS robisz, lub w HTML-u <center> i robota powinna działać.
_____________________
Skuteczne, dobre i profesjonalne leczenie alkoholizmu
_____________________
Skuteczne, dobre i profesjonalne leczenie alkoholizmu
Strona 1 z 1

Logowanie
Rejestracja
Pomoc


Cytuj
