Jump to content

CSS how to position image in bottem right as 'corner'


cs.punk

Recommended Posts

Please take a look at attached image.. I would like to position the image in the bottom right to act as a 'corner'. But having some trouble.

 

 

Index.php

... ... ...
</div>

<div class="corner">
<img src="images/corner.png" />
</div>

<div class='bottom-bar'></div>

<div class="corner-r">
<img src="images/corner-br.png" />
</div>

 

css.css

.bottom-bar {
height: 60px;
margin-right: 160px;
margin-left: 460px;
background: url(/images/corner_bg.png);
background-repeat:repeat-x;

}

div.corner {
margin-left: 340px;
float: left;
}

div.corner-r {
margin-left: 25px;
float: left;
}

div.mainpage {
margin: 0px;
margin-left: 0px;
margin-right: 25px;
margin-top: 25px;
padding: 5px;
border: 5px #4033FF solid;
background-color: #B0D2FD;
overflow: hidden;

}

// Navigation block
div.sidebar {
margin: 30px;
margin-right: 0px;
padding: 5px;
padding-left: 0px;
border: none;
float: left;
overflow: auto;
text-align: left;
}

 

 

Any ideas? ::)

 

[attachment deleted by admin]

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.