A digital television system having a set-top box controlled by a remote control unit is used to access the Internet. Arrow keys on the remote control unit are used to navigate a focus around irregularly positioned hypertext links on a web page. If a down arrow key is pressed, web browser software determines weighted distances between a link in focus and links below it using an elliptical function. The distances are weighted so as to favour a link closest to being vertically collinear even though other links may be closer.