Problem z przesunięciem obrazka w menu górnym pod tekst
Wyniki 1 do 4 z 4

Temat: Problem z przesunięciem obrazka w menu górnym pod tekst

  1. #1
    Debiutant
    Dołączył
    13-12-2010
    Wpisy
    5
    Punkty
    10

    Problem z przesunięciem obrazka w menu górnym pod tekst

    Witam, próbuję stworzyć górne menu(chciałbym u mieścić tam 4 bloczki), mam problem z przesunięciem obrazka pod tekst, wygląda to u mnie tak:
    logo.png

    Tekst "O Nas" chciałbym, żeby znajdował się pod obrazkiem(obecnie znajduje się obok), ogólnie chciałbym żeby wyglądało to tak:

    Untitled.png


    Może ktoś na forum pracowal juz z tego typu menu, jeslil możecie w jakikolwiek pomoc proszę o rady. Dodam jeszcze, że menu jest wielopoziomowe, a problem tkwi w umieszczeniu tam obrazka i tekstu z odsyłaczem pod nim.

    Oto moj kod css:
    Kod:
    /* begin Menu */
    /* menu structure */
    
    .art-hmenu a, .art-hmenu a:link, .art-hmenu a:visited, .art-hmenu a:hover
    {
        outline: none;
    }
    
    .art-hmenu, .art-hmenu ul
    {
      margin: 0;
      padding: 0;
      border: 0;
      list-style-type: none;
      display: block;
    }
    
    .art-hmenu li
    {
      margin: 0;
      padding: 0;
      border: 0;
      display: block;
      float: left;
      position: relative;
      z-index: 5;
      background: none;
    }
    
    .art-hmenu li:hover
    {
      z-index: 10000;
      white-space: normal;
    }
    
    .art-hmenu li li
    {
      float: none;
    }
    
    .art-hmenu ul
    {
      visibility: hidden;
      position: absolute;
      z-index: 10;
      left: 0;
      top: 0;
      background: none;
      min-height: 0;
      background-image: url('../images/spacer.gif');
      padding: 10px 30px 30px 30px;
      margin: -10px 0 0 -30px;
    }
    
    .art-hmenu li:hover>ul
    {
      visibility: visible;
      top: 100%;
    }
    
    .art-hmenu li li:hover>ul
    {
      top: 0;
      left: 100%;
    }
    
    .art-hmenu:after, .art-hmenu ul:after
    {
      content: ".";
      height: 0;
      display: block;
      visibility: hidden;
      overflow: hidden;
      clear: both;
    }
    .art-hmenu{
      min-height: 0;
      position:relative;
      padding: 0 0 0 0;
      float: left;
    }
    
    .art-hmenu ul ul
    {
      padding: 30px 30px 30px 10px;
      margin: -30px 0 0 -10px;
    }
    
    /* menu structure */
    
    .art-nav
    {
       position: relative;
      width:990px;
      margin:0 auto;
      min-height: 112px;
      z-index: 100;
        margin-top: 0;
        margin-bottom: 0;
        
    }
    
    .art-nav-outer
    {
        position:absolute;
        width:100%;
    }
    
    .art-nav-wrapper 
    {
            position: relative;
        width:990px;
        margin:0 auto;
    }
    .art-nav-inner 
    {
        margin: 0 0;
    }
    
    .art-nav-l, .art-nav-r
    {
      position: absolute;
      z-index: -1;
      top: 0;
      height: 100%;
      background-image: url('../images/nav.png');
    }
    
    .art-nav-l
    {
      left: 0;
      right: 0;
    }
    
    .art-nav-r
    {
      right: 0;
      width: 990px;
      clip: rect(auto, auto, auto, 990px);
    }
    
    .art-hmenu-extra1
    {
      position: relative;
      display: block;
      float: left;
      width: auto;
      height: 112px;
      background-position: center;
    }
    
    .art-hmenu-extra2
    {
      position: relative;
      display: block;
      float: right;
      width: auto;
      height: 112px;
      background-position: center;
    }
    
    /* images in menu items */
    ul.art-hmenu img.art-menu-image, ul.art-hmenu img.art-menu-image-left
    {
      vertical-align: middle;
      margin-right: 0;
    }
    
    ul.art-hmenu img.art-menu-image-right
    {
      vertical-align: middle;
      margin-left: 5px;
    }
    /* end Menu */
    
    /* begin MenuItem */
    .art-hmenu a
    {
    
      position: relative;
      display: block;
      overflow: hidden;
      height: 112px;
      cursor: pointer;
      font-family: "Franklin Gothic Medium Cond",Arial, Helvetica, Sans-Serif;
      font-size: 20px;
      text-align: left;
      text-decoration: none;
    }
    
    
    .art-hmenu ul li
    {
    
        margin:0;
        clear: both;
    }
    
    .art-hmenu a .r, .art-hmenu a .l
    {
    
      position: absolute;
      display: block;
      top: 0;
      z-index: -1;
      height: 346px;
      background-image: url('../images/menuitem.png');
    }
    
    .art-hmenu a .l
    {
      left: 0;
      right: 17px;
    }
    
    .art-hmenu a .r
    {
      width: 434px;
      right: 0;
      clip: rect(auto, auto, auto, 417px);
    }
    
    .art-hmenu a .t, .art-hmenu ul a, .art-hmenu a:link, .art-hmenu a:visited, .art-hmenu a:hover
    {
      font-family: "Franklin Gothic Medium Cond",Arial, Helvetica, Sans-Serif;
      font-size: 15px;
      text-align: left;
      text-decoration: none;
    }
    
    .art-hmenu a .t
    {
      color: #EEEEEE;
      padding: 0 0px;
      margin: 0 0px;
      line-height: 153px;
      text-align: center;
    }
    
    .art-hmenu a:hover .l, .art-hmenu a:hover .r
    {
      top: -117px;
    }
    
    .art-hmenu li:hover>a .l, .art-hmenu li:hover>a .r
    {
      top: -117px;
    }
    
    .art-hmenu li:hover a .l, .art-hmenu li:hover a .r
    {
      top: -117px;
    }
    .art-hmenu a:hover .t
    {
      color: #59B1C5;
    }
    
    .art-hmenu li:hover a .t
    {
      color: #59B1C5;
    }
    
    .art-hmenu li:hover>a .t
    {
      color: #59B1C5;
    }
    
    .art-hmenu a:hover.separator-without-submenu 
    {
      cursor: default;
    }
    
    .art-hmenu a:hover.separator-without-submenu .t
    {
      color: #EEEEEE;
    }
    
    .art-hmenu li:hover a.separator-without-submenu .t
    {
      color: #EEEEEE;
    }
    
    a:hover.separator-without-submenu .r, a:hover.separator-without-submenu .l 
    {
      top: 0 !important;
    }
    /* end MenuItem */
    
    /* begin MenuSeparator */
    .art-hmenu .art-hmenu-li-separator
    {
      display: block;
      width: 25px;
      height:112px;
    }
    /* end MenuSeparator */
    
    /* begin MenuSubItem */
    .art-hmenu ul a
    {
      display: block;
      white-space: nowrap;
      height: 38px;
      width: 266px;
      overflow: hidden;
      background-image: url('../images/subitem.png');
      background-position: left top;
      background-repeat: repeat-x;
      border-width: 0;
      border-style: solid;
      text-align: left;
      text-indent: 12px;
      text-decoration: none;
      line-height: 38px;
      color: #EEEEEE;
      margin:0;
      padding:0;
    }
    
    .art-nav ul.art-hmenu ul span, .art-nav ul.art-hmenu ul span span
    {
      display: inline;
      float: none;
      margin: inherit;
      padding: inherit;
      background-image: none;
      text-align: inherit;
      text-decoration: inherit;
    }
    
    .art-hmenu ul a:link, .art-hmenu ul a:visited, .art-hmenu ul a:hover, .art-hmenu ul a:active, .art-nav ul.art-hmenu ul span, .art-nav ul.art-hmenu ul span span
    {
      text-align: left;
      text-indent: 12px;
      text-decoration: none;
      line-height: 38px;
      color: #EEEEEE;
      margin:0;
      padding:0;
    }
    
    .art-hmenu ul li a:hover
    {
      color: #B9C4C6;
      background-position: 0 -38px;
    }
    
    .art-hmenu ul li:hover>a
    {
      color: #B9C4C6;
      background-position: 0 -38px;
    }
    
    .art-nav .art-hmenu ul li a:hover span, .art-nav .art-hmenu ul li a:hover span span
    {
      color: #B9C4C6;
    }
    
    .art-nav .art-hmenu ul li:hover>a span, .art-nav .art-hmenu ul li:hover>a span span
    {
      color: #B9C4C6;
    }
    
    /* end MenuSubItem */
    Z góry dziękuje za pomoc

  2. Pani Reklamowa
    Pani Reklamowa jest aktywna
    Avatar Panny Google

    Dołączył
    19-08-2010
    Skąd
    Internet
    Postów
    milion
    Pochwał
    setki
  3. #2
    Wyga
    Dołączył
    02-06-2009
    Skąd
    straszna wiocha
    Wpisy
    3 029
    Punkty
    283

    Domyślny

    masz tę stronę w sieci?

  4. #3
    Debiutant
    Dołączył
    13-12-2010
    Wpisy
    5
    Punkty
    10

    Domyślny

    Nie, próbuję zrobić stronę na serwerze domowym (VertrigoServ).

    ---------- Post dodany o 13:30 ---------- Poprzedni post był o 11:47 ----------

    nie mogę sobie z tym poradzić, macie jakiś pomysł jak to rozwiązać? Jak przesunąć tekst pod obrazek..

  5. #4
    Wyga
    Dołączył
    02-06-2009
    Skąd
    straszna wiocha
    Wpisy
    3 029
    Punkty
    283

    Domyślny

    bez linka ciężko o pomysły

Podobne tematy

  1. Joomgallery dodatkowy tekst pod zdjęciem
    przez azga na forum Galerie, media, obsługa grafiki i innych mediów
    Odpowiedzi: 0
    Ostatni post/autor: 21-06-2009, 20:31
  2. przesunięte Extanded Menu pod IE
    przez biedron2006 na forum Szablony, wygląd, formatowanie
    Odpowiedzi: 1
    Ostatni post/autor: 25-04-2009, 15:37
  3. problem z przesunięciem tekstu
    przez wampir666 na forum Szablony graficzne
    Odpowiedzi: 13
    Ostatni post/autor: 02-12-2008, 18:16
  4. Problem z przesunięciem paska w forum
    przez alex51 na forum Administracja składnikami
    Odpowiedzi: 1
    Ostatni post/autor: 27-06-2007, 07:20
  5. Jak ustawić własny tekst w górnym menu?
    przez Dymo na forum Administracja Joomla!
    Odpowiedzi: 2
    Ostatni post/autor: 25-04-2006, 23:39

Reguły pisania

  • Nie możesz zakładać nowych tematów
  • Nie możesz dodawać wypowiedzi
  • Nie możesz dodawać załączników
  • Nie możesz poprawiać swoich postów
  •