Click here to Skip to main content
15,889,462 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi folks,

I'm a complete novice here so please forgive my possible/probable lack of some of the basics. I started a website over ten years ago and never completed it due to other commitments, I am now trying to pick up the somewhat disjointed pieces once again.

The issue I am stuck with is that the old half finished website had some form of flash menu navigation bar which I am aware is now dead in the water. I have therefore removed the flash bar and I am now attempting to replace it, for simplicity, with Vista-Menu buttons which I believe uses a combination of javascript and html.

The resulting Vista generated menu looks okay but it has to date managed to resist all of my attempts to have the menu centered within a div, instead it sits hard left.

What I have tried:

I've tried way too many things to list, logic (somewhat limited due to being a novice with coding), trial and error, it's driving me nuts. Any assistance would be greatly appreciated.
Posted
Updated 14-Feb-21 6:08am
Comments
[no name] 14-Feb-21 13:51pm    
Stick in something to the left. Everything is "flowed" (usually).
LittleRabbitFooFoo 14-Feb-21 13:59pm    
Thanks for the reply Gerry but I'm afraid I'm just as much in the dark - below is what I am currently faced with.


#VistaMenuBar {
background-image: url(B2Fish_SNIPPP);
height: 28px;
width: 100%;
color: #FFF;
text-align: center;
vertical-align: text-bottom;
}





var vbImgPath="LATEST-files/"



Css Menu Navigation by Vista-Buttons.com v5.0.0
LittleRabbitFooFoo 14-Feb-21 14:01pm    
and this -


<div id="VistaMenuBar">
  <tr><!-- Begin Vista-Buttons.com -->

<script type="text/javascript"> var vbImgPath="LATEST-files/"</script>

<script type="text/javascript" src="LATEST-files/scwp36t.js"></script>

<a id="vbUL_wp36ta" href="http://vista-buttons.com">Css Menu Navigation by Vista-Buttons.com v5.0.0</a>

<!-- End Vista-Buttons.com -->
</div>
[no name] 14-Feb-21 16:58pm    
You've got an open table row in the middle of a div... (tr) ....

LittleRabbitFooFoo 14-Feb-21 17:30pm    
Thanks for that Gerry, I have removed that(tr) but it doesn't help with the centering issue - it was a remnant from an earlier idea that I might have to place a table inside a div to get control regarding centering the script.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900