Help with my Navigation bar

Please support our JavaScript / DHTML / AJAX advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
Reply

Join Date: Jan 2007
Posts: 4
Reputation: motox16 is an unknown quantity at this point 
Solved Threads: 0
motox16's Avatar
motox16 motox16 is offline Offline
Newbie Poster

Help with my Navigation bar

 
0
  #1
Jan 28th, 2007
Hi, I really hope someone can help me, you guys seem nice and all and I really like ur website :cheesy:.

Here is what I want to do:

Basically I want no spaces in between that navigation bar and the banner so the chain appears to be attatched to it.

I am not even sure I am making that navigation bar right either lol (newbie here) and I am just folowing a few tutrorials that I googled.

Any help would be greatly appreciated or even some good tut sites even. I understand that you guys are probably swamped with stuff so I'll be patient. I'll also attatch my code if that helps any:

JavaScript / DHTML / AJAX Syntax (Toggle Plain Text)
  1. <%@LANGUAGE="JAVASCRIPT" CODEPAGE="1252"%>
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml">
  4. <head>
  5. <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
  6. <!-- TemplateBeginEditable name="doctitle" -->
  7. <title>Untitled Document</title>
  8. <!-- TemplateEndEditable -->
  9. <!-- TemplateBeginEditable name="head" -->
  10. <!-- TemplateEndEditable -->
  11. <style type="text/css">
  12. <!--
  13. body {
  14. background-image: url(../background.gif);
  15. }
  16. .style1 {color: #FFFFFF}
  17. .style2 {color: #000000; }
  18. -->
  19. </style></head>
  20.  
  21. <body>
  22. <p align="center"><img src="../toppartpsd copy.png" width="800" height="214" /></p>
  23. <table width="593" border="1" align="center" cellpadding="5" cellspacing="1">
  24. <tr>
  25. <th width="96" bordercolor="0" background="../homebutton.gif" scope="col">&nbsp;</th>
  26. <th width="95" background="../rosterbutton.gif" scope="col">&nbsp;</th>
  27. <th width="208" scope="col">&nbsp;</th>
  28. <th width="139" scope="col">&nbsp;</th>
  29. </tr>
  30. </table>
  31. <p align="center">&nbsp;</p>
  32. <p align="center">&nbsp;</p>
  33. <table width="308" height="565" border="1" cellpadding="5" cellspacing="1">
  34. <tr>
  35. <td width="321" height="561" align="center" valign="top" background="../main-box.png" scope="col"><!-- TemplateBeginEditable name="Main Content" -->
  36. <p class="style1">Main Content </p>
  37. <p class="style1">&nbsp;</p>
  38. <p class="style2">This is where the main content of the</p>
  39. <p class="style2">website goes. This has room for</p>
  40. <p class="style2">improvement as the title does not look</p>
  41. <p class="style2">right. </p>
  42. <p class="style2">&nbsp;</p>
  43. <p class="style2">&nbsp;</p>
  44. <p class="style2">&nbsp;</p>
  45. <p class="style2">&nbsp;</p>
  46. <p class="style2">&nbsp;</p>
  47. <p class="style2">&nbsp;</p>
  48. <p class="style2">&nbsp;</p>
  49. <p class="style2">&nbsp;</p>
  50. <!-- TemplateEndEditable --></td>
  51. </tr>
  52. </table>
  53. </body>
  54. </html>
Reply With Quote Quick reply to this message  
Join Date: Jul 2006
Posts: 1,091
Reputation: MattEvans is a jewel in the rough MattEvans is a jewel in the rough MattEvans is a jewel in the rough 
Solved Threads: 63
Moderator
Featured Poster
MattEvans's Avatar
MattEvans MattEvans is offline Offline
Veteran Poster

Re: Help with my Navigation bar

 
0
  #2
Jan 29th, 2007
Is the chain a part of the bottom of the image with src=../toppartpsd copy.png?

If so, I think perhaps the problem is where you've used a 'P' tag around the image...

Try replacing:
JavaScript / DHTML / AJAX Syntax (Toggle Plain Text)
  1. <p align="center"><img src="../toppartpsd copy.png" width="800" height="214" /></p>

with

JavaScript / DHTML / AJAX Syntax (Toggle Plain Text)
  1. <div style="text-align:center;">
  2. <img src="../toppartpsd copy.png" width="800" height="214" />
  3. </div>

if you're finding that the image is becoming aligned to the left with that code, try:

JavaScript / DHTML / AJAX Syntax (Toggle Plain Text)
  1. <div>
  2. <img style="margin-left:auto;margin-right:auto;" src="../toppartpsd copy.png" width="800" height="214" />
  3. </div>
Plato forgot the nullahedron..
Reply With Quote Quick reply to this message  
Join Date: Jul 2006
Posts: 1,091
Reputation: MattEvans is a jewel in the rough MattEvans is a jewel in the rough MattEvans is a jewel in the rough 
Solved Threads: 63
Moderator
Featured Poster
MattEvans's Avatar
MattEvans MattEvans is offline Offline
Veteran Poster

Re: Help with my Navigation bar

 
0
  #3
Jan 29th, 2007
If you want the bottom of the chain to 'overlap' the top of the buttonbar by some amount, it will be different, you'll have to position the image manually, or slice up your images strangly.

do you have an online version of the page? it would help to be able to look at it with all pictures in place and with a browser.

looks like a nice design, by the way.
Plato forgot the nullahedron..
Reply With Quote Quick reply to this message  
Join Date: Jan 2007
Posts: 4
Reputation: motox16 is an unknown quantity at this point 
Solved Threads: 0
motox16's Avatar
motox16 motox16 is offline Offline
Newbie Poster

Re: Help with my Navigation bar

 
0
  #4
Jan 29th, 2007
Well It moved it up a little lol but not quite there yet.

Here is the folder I have set up for the server: http://files.filefront.com/Team_UFHr.../fileinfo.html

You can preview it in browser with that i believe.
I'm going to google slicing because basically all I'm doing right now is I basically took the individual images from the template which I made on photoshop and put them on there. I am not even sure if I'm putting the buttons on right.

ty for the help so far.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the JavaScript / DHTML / AJAX Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC