Ver Mensaje Individual
  #1 (permalink)  
Antiguo 08/11/2006, 08:44
Avatar de xiscomax
xiscomax
 
Fecha de Ingreso: febrero-2006
Mensajes: 379
Antigüedad: 18 años, 2 meses
Puntos: 5
Problema creando Rollover al menu. Ayuda

Muy buenas de nuevo a todo el mundo bueno despues de practicar con este CMS SPHPBlog me dispuesto a personalizarlo, pero con la primera modificación que me dispongo a realizarle ya me atascado. :(
Lo que intento hacer es darle un efecto Roll-Over a los botones del menu lateral. hasta ahi loe conseguido el problema biene que entre boton y boton ahi un espacio muy grande no consigo que los botones queden uno sobre el otro pegados

Esto es lo que kiero
_______________
|______________|
|______________|
|______________|
|______________|

Y esto es lo que me sale

_______________
|______________|
_______________
|______________|
_______________
|______________|
_______________
|______________|

Esto es lo que eh modificado añadido, al style del theme Default.
Código PHP:
#toggleSidebarMenu
{
   
font-weightbold
   
border1px solid #999999; 
   
margin:3 0 3 0px
   
padding2px
}

#toggleSidebarMenu a
{
   
background-imageurl("images/menu1.jpg"); 
   
color#666666; 
   
text-decorationnone
   
displayblock
   
width100%; 
}

#toggleSidebarMenu a:hover
{
   
background-imageurl("images/menu2.jpg");
   
color#ffffcc; 
Y esto el el style al completo modificado

Código PHP:
 /*
--------------------
Simple PHP Blog CSS Styles
--------------------

Name: Classic Theme
Author: Alexander Palmo

Description:
This the is the css theme for the Classic theme.
You can use this as a template for your own themes.

Also refer to user_style.php...
*/

/* General */

body
{
    
color#666633; /* txt_color */
    
font-size11px;
    
margin0px;
    
padding0px;
    
text-alignleft;
    
background-color#CCCC99; /* bg_color */
    
    /* Standard. Readable */
    
font-familyArialHelveticaSans-Serif;
    
/* font-family:  'Lucida Grande', Geneva, sans-serif; */
    /* font-family: Tahoma, Geneva, sans-serif; */
    /* font-family: Geneva, Verdana, sans-serif; */
    
    /* Nice. Classic Looking */
    /* font-family: 'Times New Roman', Times, serif; */
    /* font-family: Georgia, serif; */
    /* font-family: Book Antiqua, Palatino, serif; */
    
    /* Modern. Kind of Funky */
    /* font-family: 'Gill Sans', 'Trebuchet MS', Helvetica, sans-serif; */
    
    /* Monospace */
    /* font-family: Lucida Console, Monaco, monospace; */
}

/* Typeography */

p
{
    
margin8px 0px 8px 0px
}

h1h2h3h4h5h6
{
    
font-family'Trebuchet MS''Gill Sans'Helveticasans-serif;
    
font-weightbold;
    
color#666633; /* headline_txt_color */
    
text-shadow#bbb 2px 2px 1px;
    
    
margin2px 0px 2px 0px;
}

h1
{
    
font-size20px;
}

h2
{
    
font-size18px;
}

h3
{
    
font-size16px;
}

h4
{
    
font-size14px;
}

h5
{
    
font-size12px;
}

h6
{
    
font-size10px;
}

/* NEW */
codepre {
    
font-family'Courier New'CourierFixed;
}

/* NEW */
pre {
    
overflowauto;
    
width512px;
    
border1px dotted #D9D9D9; /* inner_border_color */
    
padding5px
}

/* NEW */
blockquote {
    
color#777;
    
margin15px 30px 0 10px;
    
padding-left20px;
    
border-left5px solid #ddd
}

/* Links */

a:linka:visited
{
    
font-weightbold;
    
text-decorationnone;
    
color#993333; /* link_reg_color */
}

a:hover
{
    
text-decorationunderline;
    
color#FF3333; /* link_hi_color */
}

a:active
{
    
color#3333FF; /* link_down_color */
}

/* Images */

img
{
    
border0;
}

#img_float_left
{
    
/* Used in the [img] tag when float=left */
    
floatleft;
    
margin2px 8px 4px 2px;
}

#img_float_right
{
    
/* Used in the [img] tag when float=right */
    
floatright;
    
margin2px 2px 4px 8px;
}

/* Elements */

hr    
{
    
color#D9D9D9; /* inner_border_color */
    
background-color#D9D9D9; /* inner_border_color */
    
height1px;
    
border0px;
    
margin8px 0px 8px 0px
}

/* Forms */

/* NEW */
form {
    
font-size11px;
    
margin0px;
    
padding0px
}
    
inputselectoptiontextarea
{
    
font-size11px;
    
text-alignleft;
}

/* Theme Specific */

#header_image
{
    
border-color#4D4D45; /* border_color */
    
border-width0px 0px 1px 0px;
    
border-stylesolid;
}

#header
{
    
font-family'Trebuchet MS''Gill Sans'Helveticasans-serif;
    
color#FFFFFF; /* header_txt_color */
    
margin0px;
    
padding4px 12px 4px 12px;
    
border-color#4D4D45; /* border_color */
    
border-width0px 0px 1px 0px;
    
border-stylesolid;
    
background-color#999966; /* header_bg_color */
    
font-size14px;
    
font-weightbold;
}

#maincontent
{
    
margin0;
    
padding20px;
}

#maincontent .blog_subject
{
    
font-family'Trebuchet MS''Gill Sans'Helveticasans-serif;
    
color#666633; /* headline_txt_color */
    
font-size14px;
    
font-weightbold;
    
margin0px;
}

#maincontent .blog_byline
{
    
color#999999; /* date_txt_color */
    
font-size9px;
    
margin-bottom10px;
}

div #toggleSidebarAvatar, #toggleSidebarArchives, #toggleSidebarCalendar, #toggleSidebarCategories, #toggleSidebarSearch, #toggleSidebarLinks, #toggleSidebarPreferences, #toggleSidebarRecentComments, #toggleSidebarRecentEntries, #toggleSidebarRecentTrackbacks
{
    
displayblock;
}

#toggleSidebarMenu
{
   
font-weightbold
   
border1px solid #999999; 
   
margin:3 0 3 0px
   
padding2px
}

#toggleSidebarMenu a
{
   
background-imageurl("images/menu1.jpg"); 
   
color#666666; 
   
text-decorationnone
   
displayblock
   
width100%; 
}

#toggleSidebarMenu a:hover
{
   
background-imageurl("images/menu2.jpg");
   
color#ffffcc;
}

#sidebar
{
    
padding10px;
}

#sidebar .menu_title
{
    
font-family'Trebuchet MS''Gill Sans'Helveticasans-serif;
    
font-weightbold;
}

#sidebar .menu_title a
{
    
text-decorationnone;
    
colorinherit;
}

#sidebar .menu_title:hover
{
}

#sidebar .menu_body 
{
    
padding10px;
    
border-color#999;
    
border-width1px;
    
border-styledashed;
}

#sidebar .divider {
    
margin8px 0px 8px 0px;
}

#sidebar .calendar
{
    
font-size10px;
}

#sidebar .calendar a
{
    
font-weightbold;
    
text-decorationnone;
}

#sidebar .calendar td
{
    
padding2px;
}

/* NEW */
#archive_tree_menu ul    
{
    list-
stylenone inside;
    
padding0px 0px 0px 10px;
    
margin0px;
}

/* NEW */
#archive_tree_menu li    
{
    
margin0px;
    
padding0px;
    
/* border: 1px #F0F dashed; */
}

#footer
{
    
border0;
    
border-top1px solid #4D4D45; /* border_color */
    
color#666666; /* footer_txt_color */
    
background#EEEEEE; /* footer_bg_color */
    
padding10px;
    
text-alignleft;
    
clearboth;
}

.
divider margin20px 0px 15px 0px; } 

Aber si alguien puede hecharme una mano se lo agradecere mucho xP
Salu2