![]() |
|
| |||||||
| Notices |
| CSS Cascading Style Sheets All topics and discussions relating to CSS Cascading Style Sheets. |
![]() |
| | Thread Tools |
|
#1
| |||
| |||
|
I am completely redoing a site and I found a menu at dynamicdrive.com that I like. I have installed it and it works great - almost. The words 'pop-up' when you hover just as they should. My problem is getting the tabs to show. I downloaded the two gifs that the site stated were used. I couldn't get them to work so I saved the images from DD and they still don't appear. I uploaded them to the server and can find them when I go directly to the gif file. I don't really want those tabs but I figured if I can get them to work, I can play with the colors until we them like we want them. This page and gifs are located in a subdomain HERE The gifs are HERE and HERE I have double-checked and triple-checked and ... Any ideas? BTW: even though the links look active, the linked pages are not published. Thanks
__________________ Jerry For great adult gag gifts Rockdale, TX Class of 1965 Milam County Historical Commission |
|
#2
| ||||
| ||||
|
You have to change the location of the gifs in the menu file. Most likely a full path rather than a relative one to insure you are aiming to the correct location. Karen
__________________ KMAC Enterprise Missouri Free Classified Ads Charming Noveltees~Sports Logos Charms ![]() ![]() I've learned that artificial intelligence is no match for natural stupidity! |
|
#3
| |||
| |||
|
Thanks Karen, but I guess I'm a bit confused. On the menu page, I have this in the Page HTML: background: http://www.thegoofygiftshop.com/mchc/tab-blue-left1.gif no-repeat left top; and background: http://www.thegoofygiftshop.com/mchc...lue-right1.gif no-repeat right top; And tab-blue-right1 and tab-blue-left1 were both uploaded to the mchc subdomain via Legacy File Manager. Is that not the full path?
__________________ Jerry For great adult gag gifts Rockdale, TX Class of 1965 Milam County Historical Commission |
|
#4
| |||
| |||
| Code: <html>
<head>
<style type="text/css">
.animatedtabs{
border-bottom: 1px solid gray;
overflow: hidden;
width: 100%;
font-size: 14px; /*font of menu text*/
}
.animatedtabs ul{
list-style-type: none;
margin: 0;
margin-left: 10px; /*offset of first tab relative to page left edge*/
padding: 0;
}
.animatedtabs li{
float: left;
margin: 0;
padding: 0;
}
.animatedtabs a{
float: left;
position: relative;
top: 5px; /* 1) Number of pixels to protrude up for selected tab. Should equal (3) MINUS (2) below */
background: url(tab-blue-left.gif) no-repeat left top;
margin: 0;
margin-right: 3px; /*Spacing between each tab*/
padding: 0 0 0 9px;
text-decoration: none;
}
.animatedtabs a span{
float: left;
position: relative;
display: block;
background: url(tab-blue-right.gif) no-repeat right top;
padding: 5px 14px 3px 5px; /* 2) Padding within each tab. The 3rd value, or 3px, should equal (1) MINUS (3) */
font-weight: bold;
color: black;
}
/* Commented Backslash Hack hides rule from IE5-Mac \*/
.animatedtabs a span {float:none;}
/* End IE5-Mac hack */
.animatedtabs .selected a{
background-position: 0 -125px;
top: 0;
}
.animatedtabs .selected a span{
background-position: 100% -125px;
color: black;
padding-bottom: 8px; /* 3) Bottom padding of selected tab. Should equal (1) PLUS (2) above */
top: 0;
}
.animatedtabs a:hover{
background-position: 0% -125px;
top: 0;
}
.animatedtabs a:hover span{
background-position: 100% -125px;
padding-bottom: 8px; /* 3) Bottom padding of selected tab. Should equal (1) PLUS (2) above */
top: 0;
}
</style>
</head>
<body>
<div class="animatedtabs">
<ul>
<li><a href="http://www.dynamicdrive.com" title="Home"><span>Home</span></a></li>
<li class="selected"><a href="http://www.dynamicdrive.com/style/" title="CSS Examples"><span>CSS</span></a></li>
<li><a href="http://www.dynamicdrive.com/new.htm" title="New"><span>New</span></a></li>
<li><a href="http://www.dynamicdrive.com/revised.htm" title="Revised"><span>Revised</span></a></li>
<li><a href="http://tools.dynamicdrive.com" title="Tools"><span>Tools</span></a></li>
<li><a href="http://www.dynamicdrive.com/forums/" title="DHTML Forums"><span>Forums</span></a></li>
</ul>
</div>
</body>
</html> |
|
#5
| |||
| |||
|
That is the code I got from DD. But I still don't get the tabs. I must be doing something wrong concerning the gifs.
__________________ Jerry For great adult gag gifts Rockdale, TX Class of 1965 Milam County Historical Commission |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| |