[TYPO3-templavoila] Paragraph Alignment Problems

Sean Brooks insanespiv at gmail.com
Tue Oct 31 20:27:17 CET 2006


Ok I was wrong the paragraph/text alignment problems I am having have not
gone away.  No matter what I do text will not align where I tell it to.  All
other RTE work.  Here is a sample of the html that is will not align text.
Where is my problem?  The bold is where the align properties are found.  I
have totally removed the CSS and it still is the same.  I guess it is a
problem with my html template but I can't find it.

<!DOCTYPE html
    PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"
/>

<!--
    This website is powered by TYPO3 - inspiring people to share!
    TYPO3 is a free open source Content Management Framework initially
created by Kasper Skaarhoj and licensed under GNU/GPL.
    TYPO3 is copyright 1998-2006 of Kasper Skaarhoj. Extensions are
copyright of their respective owners.
    Information and contribution at http://typo3.com/ and http://typo3.org/
-->

    <link rel="stylesheet" type="text/css"
href="typo3temp/stylesheet_e99aac0be0.css" />
    <title>MAFS: MAFS</title>
    <meta name="generator" content="TYPO3 4.0 CMS" />
    <script type="text/javascript"
src="typo3temp/javascript_757c080409.js"></script>

<link rel="stylesheet" type="text/css" href="fileadmin/templates/mafs.css"
media="screen,projection" />

<link rel="stylesheet" type="text/css" href="fileadmin/templates/print.css"
media="print" />

<script type="text/javascript">
    /*<![CDATA[*/
<!--

  // decrypt helper function
function decryptCharcode(n,start,end,offset) {
    n = n + offset;
    if (offset > 0 && n > end)    {
        n = start + (n - end - 1);
    } else if (offset < 0 && n < start)    {
        n = end - (start - n - 1);
    }
    return String.fromCharCode(n);
}
  // decrypt string
function decryptString(enc,offset) {
    var dec = "";
    var len = enc.length;
    for(var i=0; i < len; i++)    {
        var n = enc.charCodeAt(i);
        if (n >= 0x2B && n <= 0x3A)    {
            dec += decryptCharcode(n,0x2B,0x3A,offset);    // 0-9 . , - + /
:
        } else if (n >= 0x40 && n <= 0x5A)    {
            dec += decryptCharcode(n,0x40,0x5A,offset);    // A-Z @
        } else if (n >= 0x61 && n <= 0x7A)    {
            dec += decryptCharcode(n,0x61,0x7A,offset);    // a-z
        } else {
            dec += enc.charAt(i);
        }
    }
    return dec;
}
  // decrypt spam-protected emails
function linkTo_UnCryptMailto(s)    {
    location.href = decryptString(s,-1);
}


// -->
    /*]]>*/
</script>

</head>
<body>

<div id="wrap">
<body bgcolor="#ffffff">
<table border="0" cellpadding="0" cellspacing="0" width="800">
<!-- fwtable fwsrc="Untitled" fwbase="mafs.jpg" fwstyle="Dreamweaver"
fwdocid = "1732242971" fwnested="0" -->
  <tr>
   <td><img src="fileadmin/templates/images/spacer.gif" width="16"
height="1" border="0" alt="" /></td>
   <td><img src="fileadmin/templates/images/spacer.gif" width="144"
height="1" border="0" alt="" /></td>
   <td><img src="fileadmin/templates/images/spacer.gif" width="15"
height="1" border="0" alt="" /></td>
   <td><img src="fileadmin/templates/images/spacer.gif" width="625"
height="1" border="0" alt="" /></td>
   <td><img src="fileadmin/templates/images/spacer.gif" width="1" height="1"
border="0" alt="" /></td>
  </tr>

  <tr>
   <td colspan="4"><img name="header"
src="fileadmin/templates/images/header.gif" width="800" height="143"
border="0" alt="" /></td>
   <td><img src="fileadmin/templates/images/spacer.gif" width="1"
height="143" border="0" alt="" /></td>
  </tr>
  <tr>
   <td colspan="4" valign="top"><p></p></td>
   <td><img src="fileadmin/templates/images/spacer.gif" width="1"
height="10" border="0" alt="" /></td>
  </tr>
  <tr>
   <td valign="top"><p></p></td>
   <td valign="top"><div><ul class="avmenu"><li><a href="index.php?id=325"
onfocus="blurLink(this);">Products</a></li><li><a
href="fileadmin/templates/#">Included layouts</a></li><li><a
href="fileadmin/templates/index.html">3-columns</a></li><li><a
class="current" href="fileadmin/templates/#">2-columns</a></li><li><a
href="fileadmin/templates/#">Sub-page demo</a><ul><li><a
href="fileadmin/templates/#">Sub-page 1</a></li><li><a
href="fileadmin/templates/#">Sub-page 2</a></li><li><a
href="fileadmin/templates/#">Sub-page 3</a></li></ul></li><li><a
href="fileadmin/templates/#">Sample page</a></li></ul><ul
class="avmenu"><li><a href="index.php?id=cetest_firstpage"
onfocus="blurLink(this);">Content Elements</a></li><li><a
href="fileadmin/templates/#">Included layouts</a></li><li><a
href="fileadmin/templates/index.html">3-columns</a></li><li><a
class="current" href="fileadmin/templates/#">2-columns</a></li><li><a
href="fileadmin/templates/#">Sub-page demo</a><ul><li><a
href="fileadmin/templates/#">Sub-page 1</a></li><li><a
href="fileadmin/templates/#">Sub-page 2</a></li><li><a
href="fileadmin/templates/#">Sub-page 3</a></li></ul></li><li><a
href="fileadmin/templates/#">Sample page</a></li></ul><ul
class="avmenu"><li><a href="index.php?id=310"
onfocus="blurLink(this);">Visions</a></li><li><a
href="fileadmin/templates/#">Included layouts</a></li><li><a
href="fileadmin/templates/index.html">3-columns</a></li><li><a
class="current" href="fileadmin/templates/#">2-columns</a></li><li><a
href="fileadmin/templates/#">Sub-page demo</a><ul><li><a
href="fileadmin/templates/#">Sub-page 1</a></li><li><a
href="fileadmin/templates/#">Sub-page 2</a></li><li><a
href="fileadmin/templates/#">Sub-page 3</a></li></ul></li><li><a
href="fileadmin/templates/#">Sample page</a></li></ul><ul
class="avmenu"><li><a href="index.php?id=309"
onfocus="blurLink(this);">About Us</a></li><li><a
href="fileadmin/templates/#">Included layouts</a></li><li><a
href="fileadmin/templates/index.html">3-columns</a></li><li><a
class="current" href="fileadmin/templates/#">2-columns</a></li><li><a
href="fileadmin/templates/#">Sub-page demo</a><ul><li><a
href="fileadmin/templates/#">Sub-page 1</a></li><li><a
href="fileadmin/templates/#">Sub-page 2</a></li><li><a
href="fileadmin/templates/#">Sub-page 3</a></li></ul></li><li><a
href="fileadmin/templates/#">Sample page</a></li></ul><ul
class="avmenu"><li><a href="index.php?id=306"
onfocus="blurLink(this);">Contact</a></li><li><a
href="fileadmin/templates/#">Included layouts</a></li><li><a
href="fileadmin/templates/index.html">3-columns</a></li><li><a
class="current" href="fileadmin/templates/#">2-columns</a></li><li><a
href="fileadmin/templates/#">Sub-page demo</a><ul><li><a
href="fileadmin/templates/#">Sub-page 1</a></li><li><a
href="fileadmin/templates/#">Sub-page 2</a></li><li><a
href="fileadmin/templates/#">Sub-page 3</a></li></ul></li><li><a
href="fileadmin/templates/#">Sample page</a></li></ul></div></td>
   <td valign="top"><p></p></td>
   <td valign="top">
    <!--  CONTENT ELEMENT, uid:663/text [begin] -->
        <a id="c663"></a>
        <!--  Text: [begin] -->
            <p class="align-right">asdasdasdsadsadasdsadsadasdsad</p>
        <!--  Text: [end] -->

    <!--  CONTENT ELEMENT, uid:663/text [end] -->
        </td>
  <tr>
    <td height="40" colspan="4" valign="top"><div align="center">
        <table width="27%" border="0">
          <tr>
            <td width="63"><div align="center"><a
href="/typo3/index.php?id=index">Home</a></div></td>
            <td width="89"><div align="center"><a
href="/typo3/index.php?id=sitemap">Sitemap</a></div></td>
            <td width="85"><div align="center"><a
href="/typo3/index.php?id=contact">Contact</a></div></td>
          </tr>
        </table>
        Copyright &copy; MAFS 2006 - All Rights Reserved
    </div></td>
    <td><img src="fileadmin/templates/images/spacer.gif" width="1"
height="24" border="0" alt="" /></td>
  </tr>
  <tr>
   <td colspan="4"><img name="footer"
src="fileadmin/templates/images/footer.gif" width="800" height="19"
border="0" alt="" /></td>
   <td></td></tr></tr></table></body></div>
</body>
</html>


Thanks

Sean



More information about the TYPO3-project-templavoila mailing list