Foros del Web » Creando para Internet » CSS »

main.css vacia

Estas en el tema de main.css vacia en el foro de CSS en Foros del Web. hola estoy intentando elaborar un menú tipo acordeon cuya base he descargado de la web oficial phatfusion (este tipo de menu lo llaman imagemenu). El ...
  #1 (permalink)  
Antiguo 11/08/2010, 12:20
 
Fecha de Ingreso: agosto-2010
Mensajes: 68
Antigüedad: 13 años, 7 meses
Puntos: 1
main.css vacia

hola estoy intentando elaborar un menú tipo acordeon cuya base he descargado de la web oficial phatfusion (este tipo de menu lo llaman imagemenu). El caso es que abro el index.html me aparece asociada a éste dos hojas de estilo, imagemenu.css y main.css, pero sin embaRgo esta última aparece vacía, y el videotutirial que estoy siguiendo para hacerlo me aparece ya con el contenido.no sé si esta será la causa de que cuando lo reproduzco no me sale el efecto de acordeón...
un saludo
Gracviass de antemano

Última edición por menanti; 11/08/2010 a las 12:29
  #2 (permalink)  
Antiguo 11/08/2010, 13:23
Avatar de Triby
Mod on free time
 
Fecha de Ingreso: agosto-2008
Ubicación: $MX->Gto['León'];
Mensajes: 10.106
Antigüedad: 15 años, 7 meses
Puntos: 2237
Respuesta: main.css vacia

Supongo que en main.css estaran todos los estilos de la pagina... sin afectar el menu, que esos estan por separado en imagemenu.css

Que es exactamente lo que no funciona? Que navegador estas usando para probar?... te recomiendo Firefox, en la consola de errores puedes ver que es lo que pasa.

Por ultimo, phatfusion usa mootools, hay otra version para jquery que a mi me funciona muy bien: jQuery.imageMenu
__________________
- León, Guanajuato
- GV-Foto
  #3 (permalink)  
Antiguo 11/08/2010, 13:48
 
Fecha de Ingreso: agosto-2010
Mensajes: 68
Antigüedad: 13 años, 7 meses
Puntos: 1
Respuesta: main.css vacia

lo que ocurre que el main.css está vacío, no tiene nada. al descargar el zip de la web oficial de phatfusion y ejecutar el index.html no se produce el efecto de acordeon. he usado firefox y explorer y ninguno de los dos. sin embargo me descargué el modelo de jquery que me recomendaste y al abrir el index sí que se produce el efecto acordeón. Aunque me gusta más la apariencia de phatfusion. algo debe fallar.
gracias.
un saludo

Última edición por menanti; 11/08/2010 a las 14:01
  #4 (permalink)  
Antiguo 11/08/2010, 18:36
Avatar de Triby
Mod on free time
 
Fecha de Ingreso: agosto-2008
Ubicación: $MX->Gto['León'];
Mensajes: 10.106
Antigüedad: 15 años, 7 meses
Puntos: 2237
Respuesta: main.css vacia

Bueno, entonces usa Firefox para abrirlo, ve a Menu -> Herramientas -> Consola de Errores y ahi puedes saber que es lo que esta fallando... seguramente es un error de javascript y no de CSS.

Viendo la pagina oficial encuentras esto:
Cita:
Iniciado por phatfusion
requirements
-----------------------------
- mootools v1.11
Supongo que por alguna cuestion de licencia y/o distribucion no se incluyo el js de mootools en el zip, por lo que deberas descargarlo de la pagina oficial y, si hay algun cambio en la version, editar el html para cargar el script js adecuado.
__________________
- León, Guanajuato
- GV-Foto
  #5 (permalink)  
Antiguo 11/08/2010, 18:49
Avatar de deirdre  
Fecha de Ingreso: mayo-2009
Mensajes: 690
Antigüedad: 14 años, 10 meses
Puntos: 45
Respuesta: main.css vacia

Hola menanti

No sé de qué lugar bajaste el menu que mencionas (image menu de pathfusion). En alguna ocasión bajé ese menu y el main.css no está vacío.

Aquí te pongo el contenido del main.css (veamos si el editor permite la totalidad del código):

Código HTML:
html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, code,
del, dfn, em, img, q, dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	border: 0;
	font-weight: inherit;
	font-style: inherit;
	font-size: 100%;
	font-family: inherit;
	vertical-align: baseline;
}


body { line-height: 1.5; background: #fff; margin:1.5em 0; }

/* Tables still need 'cellspacing="0"' in the markup. */
table { border-collapse: separate; border-spacing: 0; }
caption, th, td { text-align: left; font-weight:400; }

/* Remove possible quote marks (") from <q>, <blockquote>. */
blockquote:before, blockquote:after, q:before, q:after { content: ""; }
blockquote, q { quotes: "" ""; }

a img { border: none; }


body {
	color: #797979;
	font-family: Verdana, Arial;
	font-size: 75%;
}

a {
	color: #607293;
	text-decoration: none;
}

a:hover {
	color: #354158;
}


#container {
	width: 500px;
	margin: auto;
	padding-top: 50px;
	padding-bottom: 50px;
}

#container #logo {
	background: url(../img/logo.gif) no-repeat top left;
	height: 44px;
	
	padding-bottom: 5px;
	border-bottom: 1px solid #797979;
	margin-bottom: 20px;
}

#container #logo h1 {
	text-indent: -9999px;
}

#footer {
	margin-top: 20px;
}

.nav {
	float: right;
	margin-top: -15px;
}



h2 {
	font-size: 2.2em;
	margin: 0;
	border-bottom: 1px solid #797979;
	margin-bottom: 5px;
	color: #354158;
}

h3 {
	font-size: 1.8em;
	margin-top: 30px;
	border-bottom: 1px solid #797979;
	margin-bottom: 10px;
	color: #607293;
}

h4 {
	font-weight: bold;
}

.desc {
	margin: -15px 0 40px 0;
}

.desc p {
	margin-bottom: 10px;
}

.home .menuItem h3 {
	font-size: 1.8em;
	line-height: 1.0em;
	float: none;
	position: relative;
	display: block;
	border-bottom: none;
	margin: 0;
}

.home .menuItem p {
	margin-left: 0px;
	margin-bottom: 0px;
	position: relative;
	display: block;
	border-bottom: none;
}

.home .menuItem {
	display: block;
	position: relative;
	padding-bottom: 5px;
	padding-top: 5px;
	color: #797979;
	outline: none;
	cursor: pointer;
	height: 40px;
	border-bottom: 1px solid #797979;
}

.home  .menuItem:hover {
	background-color: #f1f1f1;
}

.home h2 {
	color: #354158;
	margin-bottom: 0px;
}

.arrow {
	font-size: 4em;
	position: absolute;
	right: 0px;
	top: -16px;
	color: #b9b9b9;
}

.home  .menuItem:hover .arrow {
	right: -4px;
}


.home h2 {
	background: url(../img/mootools-plugins.gif) no-repeat top left;
	width: 500px;
	height: 40px;
	text-indent: -9999px;
}

.home .imagemenu {
	background: url(../img/nav-imagemenu.gif) no-repeat top left;
	width: 500px;
	height: 22px;
	text-indent: -9999px;
}

.home .validate {
	background: url(../img/nav-validate.gif) no-repeat top left;
	width: 500px;
	height: 22px;
	text-indent: -9999px;
}

.home .lightbox {
	background: url(../img/nav-lightbox.gif) no-repeat top left;
	width: 500px;
	height: 22px;
	text-indent: -9999px;
}

.home .multibox {
	background: url(../img/nav-multibox.gif) no-repeat top left;
	width: 500px;
	height: 22px;
	text-indent: -9999px;
}

.home .slideshow {
	background: url(../img/nav-slideshow.gif) no-repeat top left;
	width: 500px;
	height: 22px;
	text-indent: -9999px;
}

.home .sortabletable {
	background: url(../img/nav-sortabletable.gif) no-repeat top left;
	width: 500px;
	height: 22px;
	text-indent: -9999px;
}

.home .slider {
	background: url(../img/nav-slider.gif) no-repeat top left;
	width: 500px;
	height: 22px;
	text-indent: -9999px;
}

.home .roundedcorners {
	background: url(../img/nav-roundedcorners.gif) no-repeat top left;
	width: 500px;
	height: 22px;
	text-indent: -9999px;
}

.home .pageloader {
	background: url(../img/nav-pageloader.gif) no-repeat top left;
	width: 500px;
	height: 22px;
	text-indent: -9999px;
}




h2.imagemenu {
	background: url(../img/title-imagemenu.gif) no-repeat top left;
	height: 30px;
	text-indent: -9999px;
}

h2.validate {
	background: url(../img/title-validate.gif) no-repeat top left;
	height: 30px;
	text-indent: -9999px;
}

h2.lightbox {
	background: url(../img/title-lightbox.gif) no-repeat top left;
	height: 30px;
	text-indent: -9999px;
}

h2.multibox {
	background: url(../img/title-multibox.gif) no-repeat top left;
	height: 30px;
	text-indent: -9999px;
}

h2.slideshow {
	background: url(../img/title-slideshow.gif) no-repeat top left;
	height: 30px;
	text-indent: -9999px;
}

h2.sortabletable {
	background: url(../img/title-sortabletable.gif) no-repeat top left;
	height: 30px;
	text-indent: -9999px;
}

h2.slider {
	background: url(../img/title-slider.gif) no-repeat top left;
	height: 30px;
	text-indent: -9999px;
}

h2.roundedcorners {
	background: url(../img/title-roundedcorners.gif) no-repeat top left;
	height: 30px;
	text-indent: -9999px;
}

h2.pageloader {
	background: url(../img/title-pageloader.gif) no-repeat top left;
	height: 30px;
	text-indent: -9999px;
}




h3.example {
	background: url(../img/heading-example.gif) no-repeat top left;
	height: 30px;
	text-indent: -9999px;
}

h3.features {
	background: url(../img/heading-features.gif) no-repeat top left;
	height: 30px;
	text-indent: -9999px;
}

h3.usage {
	background: url(../img/heading-usage.gif) no-repeat top left;
	height: 30px;
	text-indent: -9999px;
}

h3.options {
	background: url(../img/heading-options.gif) no-repeat top left;
	height: 30px;
	text-indent: -9999px;
}

h3.compatibility {
	background: url(../img/heading-browser.gif) no-repeat top left;
	height: 30px;
	text-indent: -9999px;
}

h3.requirements {
	background: url(../img/heading-requirements.gif) no-repeat top left;
	height: 30px;
	text-indent: -9999px;
}

h3.downloads {
	background: url(../img/heading-downloads.gif) no-repeat top left;
	height: 30px;
	text-indent: -9999px;
}





.version {
	font-family: Courier;
	font-size: 1em;
}

ul {
	margin-left: 15px;
}

dt {
	float: left;
}

dd {
	margin-left: 150px;
	margin-bottom: 10px;
}

.description {
	margin-top: 10px;
}

code {
	font-family: Courier;
}

#usage p {
	margin: 10px 0px 5px 0px;
}
Saludos

Etiquetas: vacias
Atención: Estás leyendo un tema que no tiene actividad desde hace más de 6 MESES, te recomendamos abrir un Nuevo tema en lugar de responder al actual.
Respuesta




La zona horaria es GMT -6. Ahora son las 23:31.