Page 1 of 1

Problem with Jazz Cafe and IExplorer

Posted: Mon Feb 05, 2007 1:12 pm
by pantu
Hi guys,
i'have found this site, this system, and this forum
very useful for my purpose,
to create a simple blog for my classmates...

http://www.perugialife.it/radicidipietra/

I have installed the Jazz Cafe template,
and i have tried to personize it.

But i have i problem,
when i put some news,
in Iexplorer the main content div and the sidebar (on the right) one
doens't match anymore.
Instead no problems with Firefox or Safari.

I think the problem is for the div aligment,
but i can't find a solution!


can you help me?

i post two images,

Explorer:
Image

Safari:
Image



Sorry for this stupid questione, however :roll:

Posted: Mon Feb 05, 2007 1:14 pm
by pantu
i post code of index.tpl


i didn't modified file style.css

Code: Select all

{if $is_embedded != true}
{if $is_xhtml}
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
           "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
{else}
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
           "http://www.w3.org/TR/html4/loose.dtd">
{/if}
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
 <title>{$head_title|@default:$blogTitle} {if $head_subtitle} - {$head_subtitle}{/if}</title>
  <meta http-equiv="Content-Type" content="text/html; charset={$head_charset}" />
   <meta name="Powered-By" content="Serendipity v.{$head_version}" />
    <link rel="stylesheet" type="text/css" href="{$head_link_stylesheet}" />
    <link rel="alternate"  type="application/rss+xml" title="{$blogTitle} RSS feed" href="{$serendipityBaseURL}{$serendipityRewritePrefix}feeds/index.rss2" />
    <link rel="alternate"  type="application/x.atom+xml"  title="{$blogTitle} Atom feed"  href="{$serendipityBaseURL}{$serendipityRewritePrefix}feeds/atom.xml" />
{if $entry_id}
    <link rel="pingback" href="{$serendipityBaseURL}comment.php?type=pingback&entry_id={$entry_id}" />
{/if}

{serendipity_hookPlugin hook="frontend_header"}
<script type="text/javascript" src="templates/jazzcafe/j/nicetitle.js">
</script>
</head>
{else}
{serendipity_hookPlugin hook="frontend_header"}
{/if}

<body>
  
  
  <div id="container" class="clearfix">
      <div id="header" onclick="location.href='{$serendipityBaseURL}';" style="cursor: pointer;">

        <div id="logo">
          <h1 id="sitename">{$head_title|@default:$blogTitle}</h1>
		  <h2 id="subtitle">{$head_subtitle|@default:$blogDescription}</h2>
        </div>
      </div>
      
      <div id="search">
 <div id="tabs6"></div>
</div>
      
      <div id="content" class="clearfix">
		
	  <div id="main">
           {$CONTENT}

        </div>

    <div id="sidebar">
     
     <div id="search-results"></div>
    {if $rightSidebarElements > 0}         

<div class="sidebar-node">
   
{serendipity_printSidebar side="right"}
{serendipity_printSidebar side="left"}

  </div>
   
        </div>
			<br clear="all" />
		{/if}     
  <div id="footer">
{serendipity_hookPlugin hook="frontend_footer"}
        <ul>

	  <li> |  <a href="#">Torna su </a> | </li>
	  | Realizzato da Dino Festa su di un template di Piotr Polak e Ahmet Usal</a> | </li> 
	</ul>  
    </div>
       
{if $is_embedded != true}
</div>

</body>
</html>
{/if}

Posted: Mon Feb 05, 2007 10:54 pm
by judebert
I think you'll find that the content is there, just pushed to the bottom. YellowLed has been fighting stuff like this for a while; perhaps he has some insight. (Cue YellowLed, from stage left.)

Posted: Tue Feb 06, 2007 1:03 am
by yellowled
judebert wrote:YellowLed has been fighting stuff like this for a while; perhaps he has some insight. (Cue YellowLed, from stage left.)
Who, me?

You're right, I encountered similar problems with the Grunge template, but I solved them by using a different type of layout. Plus, I've never looked at the Jazzcafe code, so this is a little ad-lib ... let's see ...

Hm.

My first suggestion would be to assign a fixed width to #sidebar like this:

Code: Select all

#sidebar {
   background-color: transparent;
   margin-left: 530px;
   padding: 0 10px 0 0;
   width: 250px;
}
250px because the container is 750px wide and #main takes up 500px of that - maybe something like 245px will work even better.

I'm sorry that I don't have the time right now to check this out before posting it, but it's 1:04 a.m. local time ... maybe I can take a closer look at the code tomorrow.

YL

Posted: Tue Feb 06, 2007 5:05 pm
by pantu
YellowLed wrote:
judebert wrote:YellowLed has been fighting stuff like this for a while; perhaps he has some insight. (Cue YellowLed, from stage left.)
Who, me?

You're right, I encountered similar problems with the Grunge template, but I solved them by using a different type of layout. Plus, I've never looked at the Jazzcafe code, so this is a little ad-lib ... let's see ...

Hm.

My first suggestion would be to assign a fixed width to #sidebar like this:

Code: Select all

#sidebar {
   background-color: transparent;
   margin-left: 530px;
   padding: 0 10px 0 0;
   width: 250px;
}
250px because the container is 750px wide and #main takes up 500px of that - maybe something like 245px will work even better.

I'm sorry that I don't have the time right now to check this out before posting it, but it's 1:04 a.m. local time ... maybe I can take a closer look at the code tomorrow.

YL


WOW!!!
great it works :)

thanks a lot!
i think the problm was, as you have right said,
in the width of the sidebar,

IExplorer needs to read a fix width for it!
cause is a mistery...

i have reduced the sidebar left padding
and i have fixed the widht to 200px :)

thank you very much,
i have ever sad that german people are too much likely :)


greetings from Italy :) :D

Posted: Tue Feb 06, 2007 7:23 pm
by yellowled
pantu wrote:thanks a lot!
You're welcome :)
pantu wrote:IExplorer needs to read a fix width for it! cause is a mistery...
Actually, it's a pain in the lower back :twisted:
pantu wrote:i have ever sad that german people are too much likely :) greetings from Italy :) :D
Probably the last time after that world cup soccer semi-final, huh? :wink:

YL

Posted: Tue Feb 06, 2007 7:55 pm
by pantu
YellowLed wrote: Probably the last time after that world cup soccer semi-final, huh? :wink:

YL

hehehehe :roll: :wink: