| |||||||
Du magst keine Werbung? Wir auch nicht!
Einfach registrieren und die Werbung ist weg. Diese Nachricht sehen nur nicht registrierte Nutzer.
![]() |
| | LinkBack | Themen-Optionen | Ansicht |
| | #1 (permalink) |
| Neuer User Registriert seit: Feb 2008
Beiträge: 2
| Dreamweaver CS3 - Spry Menübar
Hallo Zusammen, ich bin gerade dabei eine Homepage mit dem Dreamweaver CS3 zu gestalten und programmieren. Dafür nutze ich auch die Spry Menübar Leiste. Sowohl vertikal als auch horizontal. Diese konnte ich auch nach meinen Wünschen anpassen... Mein Problem nun: Wenn ich die Seite probeweise online stelle, dann sehe ich im Firefox alles wunderbar und richtig und im Internetexplorer wird die Menüleiste komplett verschoben. Die einzelnen Menüs verschieben sich total, so dass man nichts auswählen kann. Damit Ihr seht, was ich meine, hier ein Link, bitte keine Links oder so anklicken, denn die sind noch alle Falsch, bzw noch keine hinterlegt, da ich noch dabei bin zu Programmieren. http://www.parfuem-outletshop24.de/home/index_4.html (nicht über die Adresse wundern, ist nur ne testurl) Kann mir jemand dabei helfen? Ich habe nun schon Stunden damit verbracht und bekomme es nicht hin...und muss noch sooo viele Seiten erstellen.... Danke schon mal im Voraus! Grüße Frank Hier mal die einzelnen CSS Codes der Spry Menübars: Horizontal Code: @charset "UTF-8";
/* SpryMenuBarHorizontal.css - Revision: Spry Preview Release 1.4 */
/* Copyright (c) 2006. Adobe Systems Incorporated. All rights reserved. */
/*******************************************************************************
LAYOUT INFORMATION: describes box model, positioning, z-order
*******************************************************************************/
/* The outermost container of the Menu Bar, an auto width box with no margin or padding */
ul.MenuBarHorizontal
{
margin: 0;
padding: 0;
list-style-type: none;
font-size: 12px;
cursor: default;
width: auto;
font-family: Arial, Helvetica, sans-serif;
color: #000000;
background-color: #FFFFFF;
font-style: normal;
font-weight: normal;
line-height: normal;
}
/* Set the active Menu Bar with this class, currently setting z-index to accomodate IE rendering bug: http://therealcrisp.xs4all.nl/meuk/IE-zindexbug.html */
ul.MenuBarActive
{
z-index: auto;
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
color: #FF0000;
font-weight: bold;
background-color: #FFFFFF;
width: auto;
height: auto;
}
/* Menu item containers, position children relative to this container and are a fixed width */
ul.MenuBarHorizontal li
{
margin: 0;
padding: 0;
list-style-type: none;
font-size: 12px;
position: relative;
text-align: center;
cursor: pointer;
width: auto;
float: left;
font-family: Arial, Helvetica, sans-serif;
color: #000000;
background-image: url(/images/Navigation/pfeilrechts.gif);
white-space: nowrap;
height: auto;
}
/* Submenus should appear below their parent (top: 0) with a higher z-index, but they are initially off the left side of the screen (-1000em) */
ul.MenuBarHorizontal ul
{
margin: 0;
padding: 0;
list-style-type: none;
font-size: 100%;
z-index: 1020;
cursor: default;
width: auto;
position: absolute;
left: -1000em;
color: #000000;
background-color: #FFFFFF;
}
/* Submenu that is showing with class designation MenuBarSubmenuVisible, we set left to auto so it comes onto the screen below its parent menu item */
ul.MenuBarHorizontal ul.MenuBarSubmenuVisible
{
left: auto;
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
color: #000000;
}
/* Menu item containers are same fixed width as parent */
ul.MenuBarHorizontal ul li
{
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
color: #000000;
float: none;
background-color: transparent;
width: auto;
}
/* Submenus should appear slightly overlapping to the right (95%) and up (-5%) */
ul.MenuBarHorizontal ul ul
{
position: absolute;
margin: -5% 0 0 95%;
width: auto;
}
/* Submenu that is showing with class designation MenuBarSubmenuVisible, we set left to 0 so it comes onto the screen */
ul.MenuBarHorizontal ul.MenuBarSubmenuVisible ul.MenuBarSubmenuVisible
{
left: auto;
top: 0;
}
/*******************************************************************************
DESIGN INFORMATION: describes color scheme, borders, fonts
*******************************************************************************/
/* Submenu containers have borders on all sides */
ul.MenuBarHorizontal ul
{
border: 1px solid #CCC;
width: auto;
}
/* Menu items are a light gray block with padding and no text decoration */
ul.MenuBarHorizontal a
{
display: block;
cursor: pointer;
background-color: #CCCCCC;
padding: 0.5em 0.75em;
color: #000000;
text-decoration: none;
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
font-style: normal;
width: auto;
}
/* Menu items that have mouse over or focus have a blue background and white text */
ul.MenuBarHorizontal a:hover, ul.MenuBarHorizontal a:focus
{
background-color: #FFFFFF;
color: #FF0000;
width: auto;
}
/* Menu items that are open with submenus are set to MenuBarItemHover with a blue background and white text */
ul.MenuBarHorizontal a.MenuBarItemHover, ul.MenuBarHorizontal a.MenuBarItemSubmenuHover, ul.MenuBarHorizontal a.MenuBarSubmenuVisible
{
background-color: #FFFFFF;
color: #FF0000;
font-family: Arial, Helvetica, sans-serif;
}
/*******************************************************************************
SUBMENU INDICATION: styles if there is a submenu under a given menu item
*******************************************************************************/
/* Menu items that have a submenu have the class designation MenuBarItemSubmenu and are set to use a background image positioned on the far left (95%) and centered vertically (50%) */
ul.MenuBarHorizontal a.MenuBarItemSubmenu
{
background-repeat: no-repeat;
background-position: 95% 50%;
}
/* Menu items that have a submenu have the class designation MenuBarItemSubmenu and are set to use a background image positioned on the far left (95%) and centered vertically (50%) */
ul.MenuBarHorizontal ul a.MenuBarItemSubmenu
{
background-image: url(../images/Navigation/pfeilrechts.gif);
background-repeat: no-repeat;
background-position: 95% 50%;
}
/* Menu items that are open with submenus have the class designation MenuBarItemSubmenuHover and are set to use a "hover" background image positioned on the far left (95%) and centered vertically (50%) */
ul.MenuBarHorizontal a.MenuBarItemSubmenuHover
{
background-image: url(SpryMenuBarDownHover.gif);
background-repeat: no-repeat;
background-position: 95% 50%;
}
/* Menu items that are open with submenus have the class designation MenuBarItemSubmenuHover and are set to use a "hover" background image positioned on the far left (95%) and centered vertically (50%) */
ul.MenuBarHorizontal ul a.MenuBarItemSubmenuHover
{
background-image: url(SpryMenuBarRightHover.gif);
background-repeat: no-repeat;
background-position: 95% 50%;
}
/*******************************************************************************
BROWSER HACKS: the hacks below should not be changed unless you are an expert
*******************************************************************************/
/* HACK FOR IE: to make sure the sub menus show above form controls, we underlay each submenu with an iframe */
ul.MenuBarHorizontal iframe
{
position: absolute;
z-index: 10;
}
/* HACK FOR IE: to stabilize appearance of menu items; the slash in float is to keep IE 5.0 from parsing */
@media screen, projection
{
ul.MenuBarHorizontal li.MenuBarItemIE
{
display: inline;
float: left;
background: #CCCCCC;
font-family: Arial, Helvetica, sans-serif;
width: auto;
color: #000000;
}
} |
| | |
| | #2 (permalink) |
| flashforum Registriert seit: Jun 2001 Ort: krefeld
Beiträge: 13.866
|
Hallo Frank, ich vermute stark, das das an den ganzen "Interpretationsfreiräumen" liegt, die der IE sich einräumt. Hast du schon einmal versucht das Spry Framework zu aktualisieren? Ich sehe, dass du die Version 1.4 nutzt. Inzwischen kann man in den Adobe Labs die Version 1.6.1 herunter laden. Außerdem würde ich dir empfehlen den Spry-Updater herunter zu laden und zu installieren, der das Aktualisieren von Spry leichter macht. Wenn du das gemacht hast und deine Site öffnest, sollte dir Dreamweaver sagen, dass du eine alte Version von Spry verwendet hast (wenn ich mich richtig erinnere). Macht Dreamweaver das nicht, gibt es aber in jedem Fall eine Option, mit der du dann die Dateien aktualisieren kannst. Ich hoffe das funktioniert gut für dich. Wenn das funktioniert, sollte das der kürzeste Weg sein, das Problem zu beheben. Hilft das nicht, denke ich fast, dass du zu Fuß Hacks für den Internet Explorer einbauen muss, die die dann helfen die Fehler für den IE auszumerzen. Wünsche dir Glück dabei!
__________________ Wo sonst? Twitter • Flickr • XING • Facebook beyond tellerrand [ Wo findet ihr mich noch: twitter • dribbble • zootool • google+ • facebook • marc.thiele • spoiler.web ] |
| | |
| | #3 (permalink) | |
| Neuer User Registriert seit: Feb 2008
Beiträge: 2
| Zitat:
vielen Dank für Deine Rückmeldung. Ich werde mal versuchen das Update zu machen und hoffe, dass alles funktioniert. Ich werde über das Ergebnis berichten. Grüße Frank | |
| | |
| | #4 (permalink) |
| flashforum Registriert seit: Jun 2001 Ort: krefeld
Beiträge: 13.866
|
Hast du hier eigentlich eine Lösung gefunden?
__________________ Wo sonst? Twitter • Flickr • XING • Facebook beyond tellerrand [ Wo findet ihr mich noch: twitter • dribbble • zootool • google+ • facebook • marc.thiele • spoiler.web ] |
| | |
| | #5 (permalink) |
| Neuer User Registriert seit: Apr 2005 Ort: Berlin
Beiträge: 50
| Spry problem
hi, in IE wird es nicht richtig dargestellt. Fehlermeldung: 1 Fehler in externen CSS-Dateien gefunden Betrifft: Firefox 1.5; Internet Explorer 6.0, 7.0; Internet Explorer for Macintosh 5.2; Netscape 8.0; Opera 8.0, 9.0; Safari 2.0 Und das soll der Fehler sein: <link href="SpryAssets/SpryMenuBarHorizontal.css" rel="stylesheet" type="text/css" /> Link stimmt, franework habe ich auf 1.6.1 aktualisiert. Hilft nix. Jetzt: Wie trage ich korrekt die IE Hacks ein, oder kann man das einfach vergessen das in IE ordentlich zum laufen zu bringen? Danke |
| | |
![]() |
| Lesezeichen |
| Stichworte |
| dreamweaver cs3, spry, spry menübar |
| Themen-Optionen | |
| Ansicht | |
| |