Autor | Zpráva | ||
---|---|---|---|
war maniac Profil |
#1 · Zasláno: 6. 5. 2010, 13:31:54
Mam problém s komtatibilitou mého webu (Odkaz) v FF a Chrome. V IE funguje vse tak jak má. Konkrétně mám problém s těmito dvěmi věci: 1) text zápatí se v FF zobrazuje o kousek níž než v IE.
2) tlačítko NAHORU (třeba v rubrice Úvod) mě když na něj kliknu hodí mě to ve FF těsně nad hlavní menu (narozdíl od IE kde to hazí až na horu stránky). Přikládám svůj stylopis: body {text-align: center; font-size: 12pt; font-family: Georgia, Tahoma, Arial; color: black; background-image: url('images/grafika/280_steel.jpg'); margin-left: 20px;} #cela-stranka {width: 929px; position: relative; text-align: left; top: 30px; margin: auto;} #hlavicka {width: 929px; position: absolute; left: 0px; top: 0px; height: 218px;} #top {width: 929px; height: 76px; position: absolute; left: 0px; top: 218px; background-image: url('images/grafika/top2sh.png');} #hack1 {margin: 17px;} #hack2 {margin-left: 185px; margin-right: 50px;} #left-menu {width: 138px; position: absolute; left: 30px; top: 294px; text-align: center;} #main {width: 929px; left: 0px; top: 294px; position: absolute; background-image: url('images/grafika/content2sh.png');} #bottom {width: 929px; height: 62px; position: absolute; right: 0px; background-image: url('images/grafika/bottom2sh.png'); background-repeat: no-repeat} #zapati {position: absolute; left: 350px; top: 45px; } h1 {font-size: 18pt; font-weight: bold; text-decoration: none; color: black; font-family: Georgia, Tahoma, Arial; text-align: center;} h2 {font-size: 14pt; font-weight: bold; text-decoration: none; color: black; font-family: Georgia, Tahoma, Arial; text-align: center;} h3 {font-size: 12pt; font-weight: bold; text-decoration: none; color: black; font-family: Georgia, Tahoma, Arial; text-align: center;} a:link {color: black; text-decoration: none;} a:visited {color: black; text-decoration: none;} a:hover {color: #434141; text-decoration: none;} .left-menu a:link {color: black; text-decoration: underline;} .left-menu a:visited {color: black; text-decoration: underline;} .left-menu a:hover {color: #434141; text-decoration: underline;} .text a:link {color: black; text-decoration: underline;} .text a:visited {color: black; text-decoration: underline;} .text a:hover {color: #434141; text-decoration: underline;} .news a:link {color: black; text-decoration: none;} .news a:visited {color: black; text-decoration: none;} .news a:hover {color: #434141; text-decoration: none;} .nahled a:link {color: black;} .nahled a:visited {color: black;} .nahled a:hover {color: #434141;} .text {font-family: Georgia, Tahoma, Arial; font-size: 12pt; font-weight: normal; font-style: normal; text-align: justify; color: black; line-height: 150%;} .news {font-family: Georgia, Tahoma, Arial; font-size: 10pt; font-weight: normal; font-style: normal; text-align: center; color: black; line-height: 150%;} .hlavni-menu {font-family: Georgia, Tahoma, Arial; font-size: 16pt; font-weight: bold; font-style: normal; text-align: left; color: black; margin-left: 14px;} .foto-text {font-family: Georgia, Tahoma, Arial; font-size: 11pt; font-weight: normal; font-style: italic; text-align: center; color: black;} .left-menu {font-family: Georgia, Tahoma, Arial; font-size: 12pt; font-weight: bold; font-style: normal; text-align: center; color: black; line-height: 150%;} .zapati {font-family: Georgia, Tahoma, Arial; font-size: 10pt; font-weight: bold; font-style: normal; text-align: center; color: white; margin-bottom: 30px;} .foto {text-align: center; border: 1px solid black;} .nahled {border: 1px solid #000000; margin-top: 10px; margin-bottom: 10px} Díky za všechny rady. |
||
Trejpa Profil |
#2 · Zasláno: 6. 5. 2010, 14:21:54
war maniac:
1) Protože ten odstavec má nastavený výchozí margin, který je mu v IE jakožto prvnímu elementu v jiném elementu ignorován. Vynuluj margin u toho odstavce. 2) Protože tam máš dva prvky s názvem #top (<div id="top"> a <a name="top">). |
||
war maniac Profil |
#3 · Zasláno: 6. 5. 2010, 16:23:27
Trejpa:
Díky moc za rady. Problémy byly vyřešeny. |
||
Časová prodleva: 14 let
|
0