Jump to content

My images in a div won't flush to the right


Recommended Posts

My HTML code is this:

<div id="dlogo">
  <img class="dlogopic" border="0" src="http:.....png">
  <img class="dlogopic" border="0" src="https://.....png">

I would like to have these images displayed on the right hand side of the window. I tried the following CSS:

.dlogopic {
    display: inline-block;
    height: 60px;
    overflow: auto;

div#dlogo {
    text-align: right;

Still, the images are displayed on the left.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...