brgdotnet
asked on
How to resize hyperlink control locations on a web page using Java Script and CSS ?
I have some web pages with hyperlinks at the top of the web pages in my website, which serve as the website navigation. On each page in my Java Script, I customize the location of the hyperlinks using Java script and CSS. Example :
document.getElementById('C redentials Link').sty le.marginL eft = "885px";
document.getElementById('C redentials Link').sty le.marginR ight = "67px";
document.getElementById('R enterLink' ).style.ma rginRight = "75px";
The problem is that the links will align differently if the browser is even slightly resized (Ctrl ++, or CTRL -- are examples)
Also the locations will be slightly different in different web browsers. How can I make it so that my links are located in a standard location on the page, even if the page is resized?
document.getElementById('C
document.getElementById('C
document.getElementById('R
The problem is that the links will align differently if the browser is even slightly resized (Ctrl ++, or CTRL -- are examples)
Also the locations will be slightly different in different web browsers. How can I make it so that my links are located in a standard location on the page, even if the page is resized?
Can you provide a link to a live page so we can see what's happening?
ASKER
Hello, unfortunately, No,
You see, this is an intranet application I am creating for a company, and it will not be visible to the world.
You see, this is an intranet application I am creating for a company, and it will not be visible to the world.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.