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]

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.