Inexperienced user question:
I have a JavaScript array (downloaded, not my own)) that displays a dropdown menu and specifies style=position: absolute; I've changed the top to where I want the menu to be vertically but it has a complex series of formulae (with meaningless variable names) to set the left position and the width .
The menu displays fine on some screens that have less resolution (800x600) or smaller browser windows but are completely to the left and not centered on other screens.
What would I have to do to make this displayed menu be horizontally centered in every browser window? (I realize the answer may require more experience than I have to write and implement and I may have to accept that it won't look right on many browser windows.)
I have a JavaScript array (downloaded, not my own)) that displays a dropdown menu and specifies style=position: absolute; I've changed the top to where I want the menu to be vertically but it has a complex series of formulae (with meaningless variable names) to set the left position and the width .
The menu displays fine on some screens that have less resolution (800x600) or smaller browser windows but are completely to the left and not centered on other screens.
What would I have to do to make this displayed menu be horizontally centered in every browser window? (I realize the answer may require more experience than I have to write and implement and I may have to accept that it won't look right on many browser windows.)