I'm having an issue with my class/id selectors.
This is the code I am currently using within the HTML.
<div id="my-login-bar"> <img class="logoutimage" src="img/icon-logout.png" /> <a class="loggingout" href="LOCATION">log out</a> </div>
LOCATION is the equivalent of some PHP code I have in there.
In my CSS file the #my-login-bar has a position and width etc. However at the moment the image with the class .logoutimage sits too high beside the link. But when I change the margin-top or padding-top in the .logoutimage it also pushes around the link. And vice versa when I try altering the margin-top or padding-top in the class .loggingout for the link.
Can anyone help?