Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Dreamweaver Button Label - not showing

Status
Not open for further replies.

sbell22

Programmer
Jun 5, 2006
3
US
Hello, I have a basic problem with creating a navigation bar. My buttons "work" - they show up, change state on mouseover, direct you to the correct URL, etc. However, the TEXT (button label) is not showing up. Here is the code from one button:

<tr>
<td><a href=" target="_top" onClick="MM_nbGroup('down','group1','Contact','../clipart/buttons/themes/blue_orange/active.gif',1)" onMouseOver="MM_nbGroup('over','Contact','../clipart/buttons/themes/blue_orange/mouseOver.gif','../clipart/buttons/themes/blue_orange/mouseOver.gif',1)" onMouseOut="MM_nbGroup('out')"><img src="../clipart/buttons/themes/blue_orange/inactive.gif" alt="" name="Contact" width="141" height="18" border="0" onload=""></a></td>
</tr>

I created the navigation bar using "Insert/Image Objects/Navigation Bar" in Dreamweaver MX 2004.

I have inspected the button properties, tag, etc. but haven't figured this out. Any help in figuring this out would be much appreciated!

-steve
 
As a footnote... I also tried creating three NEW button graphics in Fireworks... just colored rectangles, and building a new navigation bar. Same result... functional buttons / nav bar, but the button LABELS (text) doesn't show up.

This HAS to be something simple (??) but it has eluded me for half the day... :)

-steve
 
ALT tag?
----------
img src="../clipart/buttons/themes/blue_orange/inactive.gif" alt="something"
-----------
All the best!

:--------------------------------------:
fugitive.gif

[URL unfurl="true"]http://mostarnet.com[/url]

All around in my home town,
They tryin' to track me down...
 
What TEXT???? Unless the images active.gif, mouseover.gif and inactive.gif have text with in them there is nothing there that would make the link show any text whatsoever.

You can use lebisol's suggestion and have some text appear when you hover the mouse on the link for a moment. and dissapear when you move the mouse away. But that is considered a "tooltip".

What exactly do you consider to be a "label" that contains the text to be shown in the example you posted?



----------------------------------
Ignorance is not necessarily Bliss, case in point:
Unknown has caused an Unknown Error on Unknown and must be shutdown to prevent damage to Unknown.
 
Thanks for the information... I had a fundamental misunderstanding about how this work. I now realize that I have to create the GIF with the text imbedded. And read up on using "Alt" text as well.

In struggling with this one (along with several other things) identified a bigger problem... weak foundation in many things in Dreamweaver. So I decided to slow down the schedule a bit on building these three sites while I put myself through some more education. Just signed up for a grad-level, three-month hands-on University summer course in Dreamweaver, bought some thick books, and hope to return with "better" questions later... wish me luck!:)

thanks for the help,

-steve
 
cool, after a few months you will love DW..it cuts down on so much dev. time and then some...
All the best!

:--------------------------------------:
fugitive.gif

[URL unfurl="true"]http://mostarnet.com[/url]

All around in my home town,
They tryin' to track me down...
 
Dreamweaver is alot of help, but its always good to understand whats going on underneath. Learning HTMl basics is the first step, before trying to use DW.

Once you have a handle on HTML, then DW can be a great help, otherwise it turns into a cruch. In some cases DW can even be a burden with its over the top code generation. It is then where you need to understand HTML, to identify what you can do with DW, and what can be acomplished by 2 lines in a CSS file rather than 25 lines of html code and javascript generated by DW.

And as always, you came to the best place fro help.
We are always happy to help here at Tek-Tips

----------------------------------
Ignorance is not necessarily Bliss, case in point:
Unknown has caused an Unknown Error on Unknown and must be shutdown to prevent damage to Unknown.
 
Keep your view split between code and design and watch your code...dw does produce a lot of garbage but sure beats any editor out there.
Good luck!
All the best!

:--------------------------------------:
fugitive.gif

[URL unfurl="true"]http://mostarnet.com[/url]

All around in my home town,
They tryin' to track me down...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top