Click to See Complete Forum and Search --> : nav bar misaligned, how to fix?


Kbee
04-18-2006, 04:40 PM
Hello:

Real newbie here - inherited a web site, trying to make some swap images and/or rollovers work...if you go to:

http://www.enhancedwireless.net/index.html

and mouse over the word TECHNOLOGY, you'll see a sub menu...but it doesn't line up evenly...it's too far to the right.

Now, in DW 8 how do I correct this?

I'm not even sure which .js page (in my site) is the one I should be amending... this menu bar is a swap image, i know that.

Would love some help on this...
Thanks
KB

Poxicator
04-19-2006, 04:00 AM
just looking at the coding (don't have access to DW at the mo) the one thing that jumps out at me is the width given to all swap images - they don't seem to be accurate and I'd guess by increasing the width of Technology/ODMA.shtml you'd correct the problem.

You have: <img height="32" src="images/index_r8_c15.jpg" width="95" border="0" name="index_r8_c15">
So change "95" to the correct value or make it 200 which should cover it.

Strangely enough it works on the other pages!

Kbee
04-20-2006, 02:24 PM
OK with some help I got the right adjustments made to the js file that contains the code for this SUB nav bar - but my ? is how can I just make this change to the home page and not globally? For although the Home page sub bar (Under TECHNOLOGY) is correctly aligned now (see link in 1st post), ALL other pages are out of line. This is because I only changed the Home page top nav bar to offer PRODUCTS as the first word, replacing HOME, since this IS the HOME page...since PRODUCTS is a longer word than HOME, it "pushed" everything out of line.

So what portion of the js code would I insert ONLY on the HOME page and leave the master js code page alone so as not to affect the rest of the pages? And between what and what do i place it on the HOME page code?

Thanks much

KB