Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Dreamweaver: Change background image of spry menu bar

Posted on 2012-03-12
8
Medium Priority
?
478 Views
Last Modified: 2012-03-22
I want to add a background image to the main spry menu. I have the following .CSS code that does not work:

ul.MenuBarHorizontal
{
      margin: 0;
      padding: 0;
      list-style-type: none;
      font-size: 100%;
      cursor: default;
      width: auto;
      background-image: url(../images/buttons/Button_Normal.png) no-repeat;
}
0
Comment
Question by:adimit19
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
8 Comments
 
LVL 30

Assisted Solution

by:LZ1
LZ1 earned 1200 total points
ID: 37714175
Can you post a live link?
0
 

Assisted Solution

by:adimit19
adimit19 earned 0 total points
ID: 37714500
unfortunately not at this point. Is there anything else I can do to help?
0
 
LVL 30

Assisted Solution

by:LZ1
LZ1 earned 1200 total points
ID: 37714502
How about the rendered HTML and CSS?
0
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 
LVL 8

Assisted Solution

by:Jen0910
Jen0910 earned 400 total points
ID: 37714665
Just a couple thoughts I have from what you are able to share:

Try deleting "width:auto;" or adding a hard value in there and see if that shows your image.

if not, try deleting the "../" before images/buttons/Button_Normal.png. That is forcing your MenuBarHorizontal to start looking for the image 1 directory above the style sheet.
0
 
LVL 30

Assisted Solution

by:LZ1
LZ1 earned 1200 total points
ID: 37714675
Just to add to Jen0910's remark: You may also need to add a height or float:left as well.
0
 
LVL 12

Assisted Solution

by:Anuradha Goli
Anuradha Goli earned 400 total points
ID: 37724884
Based on the scenario you explained, I understand that the background image for ul tag is not appearing
ul tag with no content doesn't display background image
<ul class="MenuBarHorizontal">content</ul>

Open in new window

0
 

Accepted Solution

by:
adimit19 earned 0 total points
ID: 37734029
the background color was placed under ul.MenuBarHorizontal a. That seemd to solve it
0
 

Author Closing Comment

by:adimit19
ID: 37751589
it worked.
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article discusses four methods for overlaying images in a container on a web page
Is your Office 365 signature not working the way you want it to? Are signature updates taking up too much of your time? Let's run through the most common problems that an IT administrator can encounter when dealing with Office 365 email signatures.
In this tutorial viewers will learn how to code links for mobile sites that, once clicked, send a call or text to a specified number. For a telephone link (once clicked, calls a number), begin with a normal "<a href=" link tag. For the href, specify…
In this tutorial viewers will learn how to embed custom externally-hosted Google Fonts using the Google Font API in CSS Go to the Google Fonts website at google.com/fonts: Browse or search based on font properties or name to find a suitable font for…

670 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question