Link to home
Start Free TrialLog in
Avatar of mustish1
mustish1

asked on

Bar is showing on the right

Can any one please help me that why the bar is showing on the right instead of left?
Thanks
ecommerce.html
bar.jpg
Avatar of Scott Fell
Scott Fell
Flag of United States of America image

Where you have

<div style="position: absolute; visibility: visible; background-color: rgb(195, 194, 192); width: 783px; height: 22px; font-family: 'Arial Narrow'; font-weight: bold; font-style: normal; font-size: 10pt; z-index: 101; top: 150px;  left: 376px; ">

Open in new window


get rid of left:376px;

<div style="position: absolute; visibility: visible; background-color: rgb(195, 194, 192); width: 783px; height: 22px; font-family: 'Arial Narrow'; font-weight: bold; font-style: normal; font-size: 10pt; z-index: 101; top: 150px; ">

Open in new window


You probably have to do this in your javascript.

There are a lot of validation errors as well.  I would run your url through the validator. http://validator.w3.org/

http://harriskhanusa.com/ecommerce.htm
Avatar of mustish1
mustish1

ASKER

I am trying to find where this line is in ecommerce.htm but i couldnt find it
I also check in the javascript file but this is also not in their

<div style="position: absolute; visibility: visible; background-color: rgb(195, 194, 192); width: 783px; height: 22px; font-family: 'Arial Narrow'; font-weight: bold; font-style: normal; font-size: 10pt; z-index: 101; top: 150px;  left: 376px; ">

<div style="position: absolute; visibility: visible; background-color: rgb(195, 194, 192); width: 783px; height: 22px; font-family: 'Arial Narrow'; font-weight: bold; font-style: normal; font-size: 10pt; z-index: 101; top: 150px; ">
I must be missing something here. I can't find the line that padas is referring to either.

However, without the linked images and external javascript and css, and since practically everything is absolutely positioned, I can't figure out which code is generating the menu bar either. Is that a linked image as well?

Can you post a url to the live page where all the links can resolve?

Without the external files, this is all I see. User generated image
Apparently the menu is being generated by javascript after the page loads. I'm just guessing here, but it could be because of the following line in nwrmenu_var.js which appears to make the menu align to the right of the screen:
var MenuCentered='right';			// Menu horizontal position 'left', 'center' or 'right'

Open in new window

ok thanks it fixed. just one more thing how to bring the whole page on the center of the screen
ASKER CERTIFIED SOLUTION
Avatar of Kim Walker
Kim Walker
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
its also fixed. Thanks. Can you please give me suggestion how to write a good code as I am not a very good coder?

Thanks again.