brgdotnet
asked on
How to keep images stationary when browser window is resized.
Hello experts, thank you for your time. In my web page I have created my navigation which consists of four images side by side, and underneath these images is a hyperlink.
It works well however if the someone resizes their browser window, then my images and links
are moved around. For example if someone drags the right side of their browser border to the left, resizing it to a very small window, the images do not stay side by side, but instead will start getting stacked above one another.
What can I do to keep my images side by side so that they will not be moved around when the
browser window is resized?
<section>
<img alt="" class="leftMostNavigationI mage" id="Register" src="~/Images/Step1.png" width="50" height="50" />
<img alt="" class="leftMostNavigationI mage" id="Confirm" src="~/Images/Step2.png" width="50" height="50" />
<img alt="" class="leftMostNavigationI mage" id="GiveContactInfo" src="~/Images/Step3.png" width="50" height="50" />
<img alt="" class="leftMostNavigationI mage" id="ReviewPage" src="~/Images/Step4.png" width="50" height="50" />
<div>
@Html.ActionLink("Register ", "Register", "Home", new { id ="RegisterLink" })
@Html.ActionLink("Confirm" , "Confirm", "Home", new { id ="ConfirmLink" })
@Html.ActionLink("GiveCont actInfo", "GiveContactInfo", "Home", new { id ="GiveContactInfoLink" })
@Html.ActionLink("ReviewPa ge", "ReviewPage", "Home", new { @class = " id ="ReviewPageLink" })
</div>
</section>
It works well however if the someone resizes their browser window, then my images and links
are moved around. For example if someone drags the right side of their browser border to the left, resizing it to a very small window, the images do not stay side by side, but instead will start getting stacked above one another.
What can I do to keep my images side by side so that they will not be moved around when the
browser window is resized?
<section>
<img alt="" class="leftMostNavigationI
<img alt="" class="leftMostNavigationI
<img alt="" class="leftMostNavigationI
<img alt="" class="leftMostNavigationI
<div>
@Html.ActionLink("Register
@Html.ActionLink("Confirm"
@Html.ActionLink("GiveCont
@Html.ActionLink("ReviewPa
</div>
</section>
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Good effore
ASKER