We use cookies to provide you with a better experience. If you continue to use this site, we'll assume you're happy with this. Alternatively, click here to find out how to manage these cookies

hide cookie message
Contact Forum Editor

Send an email to our Forum Editor:


PLEASE NOTE: Your name is used only to let the Forum Editor know who sent the message. Both your name and email address will not be used for any other purpose.

Tech Helproom


It's free to register, to post a question or to start / join a discussion


 

New (to web design) question on buttons


Chris the Ancient

Likes # 0

I am in the process of (trying) to develop a website from a free template and have, so far, got a reasonable index page.

I'm modifying it via MS Word.

The index page contains buttons for selecting other pages (which I will create later). And the 'User Guide' to the template seems to imply that within the code I can include some text that will display an alternative message in the status bar when hovering over a button - rather than just showing the page address. I can't seem to work out where this would go - it at all.

The code for the button looks like...

td width=246 valign=top style='width:184.5pt;padding:0cm 0cm 0cm 0cm;
height:24.75pt'>
p class=MsoNormal> span style='font-size:8.5pt;font-family:Tahoma;
color:#E5E5E5'> a href="file: ///D: \$Data \MFS%20Stuff \website \index.html"> img
border=0 width=207 height=33 id="_x0000_i1028"
src="file: ///D:\ $Data\MFS%20Stuff \website \mybutton1.jpg"> /a> o:p> /o:p> /span> /p>
/td>

I've put in extra spaces in there to avoid the forum turning it into a "click here" - I hope.

So if I wanted the status bar to show "Home" over that button, where do I put it. I've tried various hit and miss methods - but without success.

CtA

Like this post
beynac

Likes # 0

Include the following in the link (between the 'a' tags): title="Home"

Like this post
beynac

Likes # 0

You should include 'title="Home" in the opening <a> tag.

Like this post
Chris the Ancient

Likes # 0

Thanks for coming back.

Just realise that one of the propensities of this forum is that it leaves out the front end of a tag - i.e. a backwards >

So bear with me while I try to stagger around that.

Like this post
Chris the Ancient

Likes # 0

Hmmm... tried this...
<td width=246 valign=top style='width:184.5pt;padding:0cm 0cm 0cm 0cm;
height:24.75pt'>
<p class=MsoNormal><span style='font-size:8.5pt;font-family:Tahoma;
color:#E5E5E5'><a href="file:///D:\$Data\MFS%20Stuff\website\v2\index.html"
title=Home><img border=0 width=207 height=33 id="_x0000_i1028"
src="file:///D:\$Data\MFS%20Stuff\website\v2\button1.jpg"></a><o:p></o:p></span></p>
</td>

... with and without a colon. Doesn't work (coz I'm in unknown territory).

Where am I going wrong?

CtA

Like this post
Chris the Ancient

Likes # 0

Having investigated loads of other websites, nobody else bothers.

On that basis, neither will I!

CtA

Like this post
oscar.cat

Likes # 0

You have forgot these quotes title="Home" as an example look at the source of forum page button About (a href="/about/" title="About PC Advisor" About) I've taken out the opening and closing backets to avoid confusion.

Like this post
Chris the Ancient

Likes # 0

Finally caught up.

That DID work!

Thanks for the pointer and the help.

CtA

Like this post

Reply to this topic

This thread has been locked.



IDG UK Sites

Best January sales 2015 UK tech deals LIVE: Best New Year bargains and savings on phones, tablets,...

IDG UK Sites

Chromebooks: ready for the prime time (but not for everybody)

IDG UK Sites

Best Photoshop Tutorials 2014: 10 inspiring step-by-step guides to creating amazing art,...

IDG UK Sites

Complete guide to iPhone and iPad settings: Get to know iOS 8 Settings UPDATED