PDA

Zobacz pełną wersję : Odwrotne wyrównywanie textu w Operze



dzynek
20-02-2007, 23:11
Witam :)

Mam taki problem, text w Operze wyrównuje mi niepoprawnie, znaczy do prawej, a powinno do lewej. :(

W IE i Mozilli działa jak należy, nie mam zielonego pojęcia czemu tak się dzieje.

Za pomoc bedę bardzo wdzięczny :)

stronka www.dzynek.dorohusk.com

index.php w templatce

<?php echo "<?xml version=\"1.0\" encoding=\"iso-8859-2\"?".">"; ?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title><?php echo $mosConfig_sitename; ?></title>

<script type="text/javascript" src="<?php echo $mosConfig_live_site;?>/templates/greens/flash/swfobject.js"></script>

<?php
if ($my->id) {
include ("editor/editor.php");
initEditor();
}
?>
<?php include ("includes/metadata.php"); ?>
<meta http-equiv="Content-Type" content="text/html; <?php echo _ISO; ?>" />
<META name="verify-v1" content="uWcH5UkB+b9+SVpk0O2QXbTH/qDsPXGGR72WmnqZxvM=" />
<link href="<?php echo $mosConfig_live_site;?>/templates/greens/css/template_css.css" rel="stylesheet" type="text/css"/>
<link rel="shortcut icon" href="<?php echo $mosConfig_live_site;?>/templates/greens/images/favicon.ico"/>



<script language="JavaScript" type="text/javascript">
<!--
function MM_reloadPage(init) { //reloads the window if Nav4 resized
if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);

function MM_preloadImages() { //v3.0
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
//-->
</script>
<style type="text/css">
<!--
.style1 {font-size: xx-small}
-->
</style>
</head>
<body onload="MM_preloadImages('<?php echo $mosConfig_live_site;?>/templates/greens/images/menu_bgr2.png')">

<?php // mosLoadModules ( 'top' ); ?>
<table width="768" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td bgcolor="#999999">

<div id="flashcontent"> <!-- warstwa, w której b_dzie animacja -->
<strong>Aby poprawnie strona byla wyswietlana - musisz uaktualnic Flash Player'a </strong>
<a href="<?php echo $mosConfig_live_site;?>/templates/greens/flash/flashversion.html"> Kliknij tu aby sprawdzic oraz zainstalowac najnowsza wersje.</a>.
</div>

<!-- kod ActionScript odpowiedzialny za wstawienie w_a_ciwej animacji flash: -->
<script type="text/javascript">
// <![CDATA[
var so = new SWFObject("<?php echo $mosConfig_live_site;?>/templates/greens/flash/head.swf", "head", "768", "168", "8", "#000000");
<!--kolejno: nazwa pliku, szeroko__, wysoko__, wersja FlashPlayer'a, kolor t_a-->
so.write("flashcontent");
// ]]>
</script>


</td>
</tr>
</table>
<table width="766" border="0" align=center cellpadding="0" cellspacing="0">
<tr>
<td width="173" valign="top">
<table height="100%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="33" height="36"><img src="<?php echo $mosConfig_live_site;?>/templates/greens/images/index_09.jpg" width="33" height="36" alt="" /></td>
<td width="109" height="36"><img src="<?php echo $mosConfig_live_site;?>/templates/greens/images/index_10.jpg" width="109" height="36" alt="" /></td>
<td width="31" height="36" align=right><img src="<?php echo $mosConfig_live_site;?>/templates/greens/images/index_09p.jpg" width="31" height="36" alt="" /></td>
</tr>
<tr>
<td width="33" background="<?php echo $mosConfig_live_site;?>/templates/greens/images/index_13.jpg">&nbsp;</td>
<td width="109" valign="top" background="<?php echo $mosConfig_live_site;?>/templates/greens/images/index_14.jpg" bgcolor="#999999"><br><?php mosLoadModules ( 'left' ); ?><br><?php $side = "right"; mosLoadModules ( 'right' ); ?>
<?php mosLoadModules ( 'user1' ); ?></td>
<td width="31" background="<?php echo $mosConfig_live_site;?>/templates/greens/images/index_13p.jpg">&nbsp;</td>
</tr>
<tr>
<td width="33" height="39"><img src="<?php echo $mosConfig_live_site;?>/templates/greens/images/index_16.jpg" width="33" height="39" alt="" /></td>
<td width="109" height="39"><img src="<?php echo $mosConfig_live_site;?>/templates/greens/images/index_dol.jpg" width="109" height="39" alt="" /></td>

<td width="31" height="39"><img src="<?php echo $mosConfig_live_site;?>/templates/greens/images/index_16p.jpg" width="31" height="39" alt="" /></td>
</tr>
</table>
</td>

<td width="593" valign="top" align=right>
<table height="100%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="32" height="36"><img src="<?php echo $mosConfig_live_site;?>/templates/greens/images/index_09_2.jpg" width="32" height="36" alt="" /></td>
<td width="523" height="36" background="<?php echo $mosConfig_live_site;?>/templates/greens/images/index_10_2.jpg">

<td width="37" height="36"><img src="<?php echo $mosConfig_live_site;?>/templates/greens/images/index_09_2p.jpg" width="37" height="36" alt="" /></td>
</tr>
<tr>
<td width="32" background="<?php echo $mosConfig_live_site;?>/templates/greens/images/index_13_2.jpg">&nbsp;</td>
<td width="526" valign="top" background="<?php echo $mosConfig_live_site;?>/templates/greens/images/index_14.jpg" bgcolor="#999999"><br><?php include ("mainbody.php"); ?><?php if (file_exists($mosConfig_absolute_path."/components/com_comments/comments.php")) { require_once($mosConfig_absolute_path."/components/com_comments/comments.php"); } ?>
<?php mosLoadModules ( 'inset' ); ?>
<?php mosLoadModules ( 'user2' ); ?></td>
<td width="37" background="<?php echo $mosConfig_live_site;?>/templates/greens/images/index_13_2p.jpg">&nbsp;</td>
</tr>
<tr>
<td width="32" height="39"><img src="<?php echo $mosConfig_live_site;?>/templates/greens/images/index_16_2.jpg" width="32" height="39" alt="" /></td>
<td width="526" height="39" background="<?php echo $mosConfig_live_site;?>/templates/greens/images/index_dol_2.jpg" bgcolor="#CCCD67"></td>
<td width="37" height="39"><img src="<?php echo $mosConfig_live_site;?>/templates/greens/images/index_16_2p.jpg" width="37" height="39" alt="" /></td>
</tr>
</table>
</td>
</tr>
</table>

<br />


</body>
</html>

dzynek
20-02-2007, 23:12
/**
* CSS for Mambo 4.5.1 templates
* @author: Rami ben ami
* @url www.web-key.co.il
*/


/*Uniq*/
.tableBordersColor {
border-top: 1px solid #343000;
border-right: 1px solid #343000;
border-bottom: 1px solid #343000;
border-left: 1px solid #343000;
}
.tableBackgroundColor {
background: #b8b8b8; /* ffffcc nie wiem*/
border: 0px solid;
}
.tableOutColor {
border: solid #888888; /*<-cccd67 nie wiem */
background: #b8b8b8; /* ffffcc */
}


/*---------------------------------------------------------Body */

body {
margin: 0px;
background: #000000;
}
tr, p, div {
font-family : Verdana, Arial, Helvetica, sans-serif;
font-size : 13px;
color : #ffffff; /* <-- kolor textu w artyku_ach*/
}
/* nag_ówek - tytu_ artyku_u */
hr {
background : #000000; /* <-- kolor t_a dla nag_ówków (tytu_u artyku_ów) */
height : 1px;
width : 100%; /* 100 % */
}

/* menu -nav */
#mainlevel-nav {
margin: 0; padding: 0;
}
#mainlevel-nav li {
list-style:none;
float: right;
margin: 0;
width: 13%;
font-size: 10px; /* zmiania 10 */
line-height: 14px;
white-space: nowrap;
text-indent: 15px;
}
#mainlevel-nav a {
display: block;
text-decoration: none;
color: #ffffff; /* <-- kolor nie wiadomo */
border-top: 1px solid #343000;
border-right: 1px solid #ACA548;
border-bottom: 1px solid #ACA548;
border-left: 1px solid #343000;
background: #D2E8AA url(../images/vmenu_bgr.png) 2px no-repeat;
padding: 0px 3px 0px 0px;
}
#mainlevel-nav a {
float: none;
}
#mainlevel-nav a:hover {
border: 1px;
background: #edf37c url(../images/vmenu_bgr.png) 2px no-repeat;
}

/* menu */
a.mainlevel:link, a.mainlevel:visited {
display: block;
color: #830000; /* <-- kolor textu w mainMenu */
background: #999999; /* <-- kolor t_a w mainMenu */
width: 100px; /* <-- szeroko__ mainMenu */
text-indent: 0px; /* <-- wci_cie od lewej pierwszej linijki w mainMenu */
text-decoration: none;
font-family: Verdana, Helvetica, Arial, sans-serif;
line-height: 20px; /* <-- wysoko__ lini w mainMenu */
font-size: 13px; /* <-- wielko__ czcionki w mainMenu */
text-align: left;
padding-right: 0px;
padding-left: 0px;
}
a.mainlevel:hover {
color: #000000; /* <-- kolor textu w mainMenu po najechaniu*/
border: 1px;
border-color: #ffff00;
background: #b1b1b1; /* <-- kolor t_a w mainmenu po najechaniu mych_ */
text-align: left;
font-weight: bold;
}
a.mainlevel:active {
color: #ffffff; /* <-- kolor textu w mainMenu w chwili klikniecia */
border: 1px;
border-color: #ff0000;
background: #999999; /*<-- kolor t_a w mainMenu w chwili klikniecia*/
text-align: left;
font-weight: nonw;
}

a.mainmenu:link, a.mainmenu:visited {
color: #0000ff; /*<-- kolor menu innego poziomu*/
font-family: Verdana, Helvetica, Arial, sans-serif;
font-weight: bold;
font-size: 10px;
}
a.mainmenu:hover, {
color: #ff0000; /*<-- kolor menu innego poziomu po najechaniu mych_*/
}


/*different setting for newsflash*/
.newsflash td {
color: #000000;
text-align: justify;
vertical-align: middle;
}

/*setting for the greetings*/
.mainpage {
text-align: justify;
color: #D2E8AA;
font-family: Verdana, Helvetica, Arial, sans-serif;
font-size: 14px;
}
.mainpage-bkg {
background-image: url(../images/lineborder.png);
width: 1px;
}

.greybg {
background: #000000;
}

/*pathaway setting*/
.pathway {
font-family: Verdana, Helvetica, Arial, sans-serif;
font-size: 10px;
}

a.pathway:link, a.pathway:visited {
color : #00FFFF; /* popraw */
font-weight : bold;
text-decoration : none;
}

a.pathway:hover {
color : #FFFFFF; /* POPRAWILEM */
font-weight : bold;
text-decoration : none;
}

/*for title or site name*/
.title {
font-family: Verdana, Helvetica, Arial, sans-serif;
font-size: 15px; /* zmieni_em 12 */
font-weight: bold;
color : #ffffff;
margin-left: 10px;
}

/*for the tag-line*/
.subtitle {
font-family: Verdana, Helvetica, Arial, sans-serif;
font-size: 10px;
font-weight: bold;
color : #000000;
text-transform: uppercase;
letter-spacing: 2px;
margin-left: 20px;
}

#active_menu {
color: #000000; /* 000000*/
}

/* --Default Class Settings-- */
.pollstableborder {
border: 1px solid;
padding: 1px;
}

a.sublevel:link, a.sublevel:visited {
padding-left: 1px;
vertical-align: middle;
font-size: 11px;
color: #ffffff; /* #2e671d */
text-align: left;
}


a.sublevel:hover {
color: #ffffff; /* #2e671d */
text-decoration: none;
}

table.moduletable {
margin: 0px;
width: 100%;

}

table.moduletable th {
font-size : 11px;
font-weight : bold;
color : #ffffff;
text-align : left;
width : 100%;
letter-spacing: 2px;
text-indent: 5px;
background: #ffffff;
}

table.moduletable li {

}

table.moduletable ul {
padding: 0px;

}
table.moduletable td {
font-size: 10px;
font-weight: normal;
text-align: left;
}

.poll {
font-family : Arial, Helvetica, sans-serif;
font-size : 10px;
color : #ffffff; /* #2e671d */
line-height : 12px;
}

table.pollstableborder {
border: 1px solid #343000;
}

.sectiontableheader {
background-color : #999999; /*<-cccd67 pony gallery*/
color : #ffffff; /* 2e671d */
font-weight : bold;
}

.sectiontableentry1 {
background-color : #919090;
}

.sectiontableentry2 {
background-color : #8b8a8a; /* ffffcc pony gallery*/
}

.small {
font-family : Verdana, Arial, Helvetica, sans-serif;
font-size : 10px;
color : #FFFFCC;
text-decoration : none;
font-weight : medium;
}

.smalldark {
font-family : Verdana, Arial, Helvetica, sans-serif;
font-size : 10px;
color : #FFFFCC;
text-decoration : none;
font-weight : medium;
}


.contentpane {

}

.contentpaneopen {
border : 0px ridge #CCCD67;
width: 100%;
padding: 1px;
}
/* Tytu_y artyku_ów */
.contentheading, .componentheading {
font-family : Verdana, Arial, Helvetica, sans-serif;
font-size : 15px;
font-weight : bold;
color : #000000; /* #2e671d; */
text-align : left;
}

.createdate {
font-family : Arial, Helvetica, sans-serif;
font-size : 10px;
color : #CCCD67;
text-align : left;
}


.button {
font-family : Verdana, Arial, Helvetica, sans-serif;
font-style : normal;
font-size : 10px;
font-weight : bold;
background-color : #b8b8b8; /* ffffcc */
color : #FFFF00; /* ZMIENIALEM */
border : 1px solid #D1D0A4;
}

.inputbox {
font-family : Verdana, Arial, Helvetica, sans-serif;
font-size : 10px;
color : #000000;
background-color : #e1e1e1; /* ffffcc wyszukiwarka */
border : 1px solid #666701;
}

a:link, a:visited {
color: #830000;
font-weight : bold;
text-decoration: none;
}

a:hover {
color: #000000;
text-decoration: none;
}

/* For content item titles that are hyperlink instead of Read On */
a.contentpagetitle:link, a.contentpagetitle:visited {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 12px;
font-weight: bold;
color: #343000;
text-align:left;
text-decoration: none;
}

a.contentpagetitle:hover {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 12px;
font-weight: bold;
text-align: left;
color: #CC3300;
text-decoration: none;
font-weight: bold;
}

a.category:link, a.category:visited {
color : #000000;
font-weight : bold;
font-size: 11px;
text-decoration: none;
}

a.category:hover {
color : #ffffff; /* #2e671d; */
text-decoration: none;
}

/* Styles for dhtml tabbed-pages */
.ontab {
background-color: #D1D0A4;
border-left: outset 2px #CCCD67;
border-right: outset 2px #CCCD67;
border-top: outset 2px #CCCD67;
border-bottom: solid 1px #CCCD67;
text-align: center;
cursor: hand;
font-weight: bold;
color: #CCCD67;
}
.offtab {
background-color : #CCCD67;
border-left: outset 2px #ACA548;
border-right: outset 2px #ACA548;
border-top: outset 2px #ACA548;
border-bottom: solid 1px #ACA548;
text-align: center;
cursor: hand;
font-weight: normal;
}
.tabpadding {
}

.tabheading {
background-color: #2e671d;
text-align: left;
}

.pagetext {
visibility: hidden;
display: none;
position: relative;
top: 0;
}

/* for modifying {moscode} output. Don't set the colour! */
.moscode {
background-color: #D1D0A4;
}
.code {
background-color: #D1D0A4;
border: 1px solid #ACA548;
}

/* Text passed with mosmsg url parameter */
.message {
font-family : Verdana, Arial, Helvetica, sans-serif;
font-weight: bold;
font-size : 10pt;
color : #343000;
text-align: center;
}

/* Javascript Back button */
.back_button {
text-align: center;
margin-top: 40px;
}

table.contenttoc {
color: #333300;
background-color: #FFFFFF; /* FFFFCC */
border: 1px solid #000000;
}

table.contenttoc td {
font-size: 10pt;
font-weight: normal;
text-align: left;
}
ul {
margin: 0px 0px 0px 0px;
}

li {
list-style: inside url(../images/arrow.png);
list-style-image: url(../images/arrow.png);
}

dzynek
20-02-2007, 23:15
Za pomoc mogę odwdzięczyć się jakąś usługą graficzną :D

dzynek
25-04-2008, 08:52
Wątek już nieaktualny

inkos
25-04-2008, 08:57
Wątek może nieaktualny ale twój problem z brakiem lektury regulaminu forum nadal istnieje. Tutaj nie produkujemy sobie postów wklejając do nich treść plików - od tego są załączniki oraz nie piszemy 4 postów jeden pod drugim od tego służy opcja edycji postów. Ostatnie ostrzeżenie.