Alignment and screen resolution
Posted on 2003-03-06
I have two components that I want on the same line of my HTML page but on opposite sides, eg
where the distance between item1 and item2 is the width of the browser window.
How can I code this so the items are aligned as said regardless of the screen resolution ?, i.e. to not simply tab item2 along until it is on the RHS, as this is clearly dependent on the resolution of the viewers' screen. I know it can be done as many web pages resize their content as the user resizes the window, but don't know how.
Thanks in advance.