PDA

View Full Version : I added roll over buttons instead of stationary and now everything is out of wack.


Stainless69
01-28-2007, 10:46 PM
http://www.bjhmemories.com/test/buttons_problem.html

I added these roll over buttons with Dreamweaver and now it makes my links out of wack. All the gif's are the right size but they look larger on the table. Anyone tell me what is going wrong?

davidj
01-28-2007, 11:28 PM
i have checked your source and you have major problems

you have an invalid table containing your nav buttons.

You have inconsistent <a href tags! some are correctly wrapped around images and some just terminate with nothing in them. You also have some nested <a tags

you need to rip all this rubbish out!

your problem is very badly written HTML.

Stainless69
01-29-2007, 12:23 AM
Well this is my second week using Dreamweaver so I've got a long ways to go.

davidj
01-29-2007, 12:31 AM
you need to think of dreamweaver as a tool that saves you writing code coz you already know it rather than a tool that writes code because you dont know it..

if you dont know HTML then delete the table and start again making sure you select the buton image you want to perform the behavior on

if you understand my reply and you can see the mistake then just dive in and sort the table out along with the <a href tags

if you are a web designer and are charging for a service you need to have the core skills down which include HTML, Javascript and CSS. These are the minimum requirements.

get a good book and learn the basics is the best advice i can give

Stainless69
01-29-2007, 12:41 AM
http://www.bjhmemories.com/test/backup.html

I'll look over it for what you described. The stuff you listed just doesn't stick out to me cause as of right now it's all jiberish. I'm determined to learn this though.

I'm not charging anyone any money for this. This is for my mother's business. Just trying to get her something decent on the web that can attract customers.

davidj
01-29-2007, 12:51 AM
this is a section of your nav table ..


//// this section is correct //////

<a href="#" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('weddings','','images/weddings_btn_over.gif',1)">
<img src="Images/weddings_btn.gif" name="weddings" width="108" height="30" border="0" id="weddings" />
</a>

//// this is incorrect /////

<a href="#" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('weddings_button','','images/weddings_btn_over.gif',1)">
</a>


if you look at the example and you still dont understand what im on about then you need to start at the begining and get the core skillset down before you tender any work.