How to position text over top an image like this? [duplicate] - html

This question already has answers here:
How to position text over an image with CSS
(8 answers)
Closed 3 years ago.
I have to remake a page for my web design class. I've got the rest done, but how do I add a white box over an image and position the text so that it's within the box? Like where it says "adventures off the beaten path" or "hiking" or "camping." Should I be using a div?
Basically, how do I make it look like this:
<div class="white_box">
<img src="img/banner image.png">
<h2>ADVENTURES OFF THE BEATEN PATH</h2>
<p>It's time to explore your path. Where will you go?</p>
</div>
<h3>POPULAR ARTICLES</h3>
<div class="red_box"></div>
<div class="hiking">
<img src="img/hiking trail image.png" alt="trail" title="trail">
<h4>HIKING</h4>
<p>Trek along the edges of a glacier, through wildflower-filled valleys, meandering streams, and admire the turquoise blue glacier-fed lakes. This is hiking in the Rockies where there are countless places to roam and an endless tangle of trails.</p>
</div>
<div class="camping">
<img src="img/tent image.png" alt="tent" title="tent">
<h4>CAMPING</h4>
<p>There’s nothing quite like camping among stunning ancient mountain tops and feeling like you’re one with nature. Take a ride through breathtaking blue lakes, go for quiet walks in the forest, or go bird watching to truly get away from it all.</p>
</div>
.white_box {
width: 430px;
height: 200px;
}
h2 {
font-size: 48px;
font-family: 'Fjalla One', sans-serif;
color: rgb(60 61 64);
}
p {
font-size: 16px;
font-family: Arial, Helvetica, sans-serif;
color: rgb(60 61 64);
}
.red_box {
background-color: rgb(134, 25, 25);
width: 640px;
height: 12px;
margin-left: 10px;
}
h4 {
font-size: 24px;
font-family: 'Fjalla One', sans-serif;
color: rgb(60 61 64);
}

Try this code. You can use the grid structure for the second section. Here is your solution. You use the main div height and width as per your requirement.
CSS:
.white_box {
width: 500px;
height: 500px;
position: relative;
}
.image_div {
width: 100%;
height: 100%;
}
.image_div img {
max-width: 100%;
max-height: 100%;
min-width: 100%;
object-fit: cover;
}
.content_div {
position: absolute;
background-color: #fff;
bottom: 10px;
left: 30px;
right: 30px;
padding: 10px;
}
.red_box {
background-color: rgb(134, 25, 25);
width: 640px;
height: 12px;
}
p {
font-size: 16px;
font-family: Arial, Helvetica, sans-serif;
color: rgb(60 61 64);
}
h2 {
font-size: 30px;
font-family: 'Fjalla One', sans-serif;
color: rgb(60 61 64);
}
h3{
margin-bottom: 0;
}
h4 {
font-size: 24px;
font-family: 'Fjalla One', sans-serif;
color: rgb(60 61 64);
}
HTML:
<div class="white_box">
<div class="image_div">
<img src="download.jpg">
</div>
<div class="content_div">
<h2>ADVENTURES OFF THE BEATEN PATH</h2>
<p>It's time to explore your path. Where will you go?</p>
</div>
</div>
<h3>POPULAR ARTICLES</h3>
<div class="red_box"></div>
<div class="hiking">
<img src="images.jpg" alt="trail" title="trail">
<h4>HIKING</h4>
<p>Trek along the edges of a glacier, through wildflower-filled valleys, meandering streams, and admire the turquoise blue glacier-fed lakes. This is hiking in the Rockies where there are countless places to roam and an endless tangle of trails.</p>
</div>
<div class="camping">
<img src="images.jpg" alt="tent" title="tent">
<h4>CAMPING</h4>
<p>There’s nothing quite like camping among stunning ancient mountain tops and feeling like you’re one with nature. Take a ride through breathtaking blue lakes, go for quiet walks in the forest, or go bird watching to truly get away from it all.</p>
</div>

Should I be using a <div>?
Yes. By using a <div> element, this will allow you to have an extremely high level of control over all of the individual elements that you want to work with (e.g. your image, your message box, etc.)
The Background
A common approach would be to use CSS along with a <div> as your image via the background property with something like this along with several other properties that govern size, positioning, and more:
.pretty-background {
/* Settings for your image */
background: url('yourimage.png');
background-size: cover;
background-position: center;
/* Size info */
height: 400px;
width: 100%;
/* Positioning (important as it dictates how child elements will be positioned) */
position: relative;
}
.pretty-background {
/* Settings for your image */
background: url('https://images.pexels.com/photos/255379/pexels-photo-255379.jpeg?auto=compress&cs=tinysrgb&dpr=1&w=500');
background-size: cover;
background-position: center;
/* Size info */
height: 400px;
width: 100%;
/* Positioning (this is important as it dictates how child elements will be positioned */
position: relative;
}
<div class='pretty-background'>
</div>
Next, you need to focus on your standout box and how it is positioned, which can be either absolute or relative, and function as they sound (e.g. this element appears x pixels from the right, or this element appears at this specific spot).
The Inner Box
Again, you'll add another child <div> element for this box that will be positioned relative to the bottom-left of your previous background:
.standout-box {
/* Box color */
background: #FFF;
/* Size info */
height: 100px;
width: 300px;
/* Spacing from parent */
margin: 20px;
padding: 10px;
/* Positioning (appear 0px from lower left corner, spacing provided by margin) */
position: absolute;
left: 0;
bottom: 0;
}
.pretty-background {
background: url('https://images.pexels.com/photos/255379/pexels-photo-255379.jpeg?auto=compress&cs=tinysrgb&dpr=1&w=500');
background-size: cover;
background-position: center;
height: 400px;
width: 100%;
position: relative;
}
.standout-box {
/* Box color */
background: #FFF;
/* Size info */
height: 100px;
width: 300px;
/* Spacing from parent */
margin: 20px;
padding: 10px;
/* Positioning (appear 0px from lower left corner, spacing provided by margin) */
position: absolute;
left: 0;
bottom: 0;
}
<div class='pretty-background'>
<div class='standout-box'>
<b>This is a test</b>
<p>
Here is some more content
</p>
</div>
</div>
That's it! It's really just those two <div> elements working in conjunction:
<div class='pretty-background'>
<div class='standout-box'>
<b>This is a test</b>
<p>
Here is some more content
</p>
</div>
</div>
At this point, you should have a reasonable starting point to adjust your positioning, the sizes of your boxes, etc.

Try this code:
.white_box {
background-image: url(your image path);
height: 65vh;
background-size: cover;
background-position: center;
background-repeat: no-repeat;
position: relative;
}
.white_box_text{
padding: 15px;
width: 350px;
background-color: #fff;
position: absolute;
bottom: 25px;
left: 25px;
}
h3{
margin-top: 20px;
font-size: 40px;
margin-left: 10px;
}
h2 {
font-size: 42px;
font-family: 'Fjalla One', sans-serif;
color: rgb(60 61 64);
}
p {
font-size: 16px;
font-family: Arial, Helvetica, sans-serif;
color: rgb(60 61 64);
}
.red_box {
background-color: rgb(134, 25, 25);
width: 640px;
height: 12px;
margin-left: 10px;
}
h4 {
font-size: 24px;
font-family: 'Fjalla One', sans-serif;
color: rgb(60 61 64);
}
<!DOCTYPE HTML>
<html>
<head>
<link rel="stylesheet" type="text/css" href="style/style.css">
</head>
<body>
<div class="white_box">
<div class="white_box_text">
<h2>ADVENTURES OFF THE BEATEN PATH</h2>
<p>It's time to explore your path. Where will you go?</p>
</div>
</div>
<h3>POPULAR ARTICLES</h3>
<div class="red_box"></div>
</body>
</html>

Related

Using mix-blend-mode to knock out a shape from it's parent, while keeping sibling text normal [duplicate]

This question already has answers here:
Transparent half circle cut out of a div
(8 answers)
CSS 3 Shape: "Inverse Circle" or "Cut Out Circle"
(7 answers)
Invert rounded corner in CSS?
(10 answers)
Closed 2 years ago.
I have read tons of posts about folks trying to make this kind of shape and the best solution I have is to use mix-blend-mode:screen;. These posts were 5+ years old so I am hoping there is a new kind of solution.
However, I also need the text to not be impacted by the mix-blend-mode. I have tried isolation:isolate; in a wrapper <div>, but that didn't help since the circle just disappeared or wouldn't knockout the white container, just blended with it (yes I realize that's what it's supposed to do, just not what I need it to do). I have also tried to place the text in a separate <div> and use position:absolute; while that worked on desktop, it wasn't responsive and seems really hacky.
So, in short I need to make what I have below without impacting the text color on the content.
Any help is greatly appreciated.
.bg {
background: #666;
height: 100vh;
padding: 50px;
}
.flag {
background-color: white;
mix-blend-mode: screen;
height: auto;
padding: 20px;
width: 400px;
overflow: hidden;
position: relative;
}
.flag p {
font-family: 'Helvetica Neue LT Std 47 Light Condensed',Helvetica,Arial,Lucida,sans-serif;
color: #58595B!important;
font-size: 16px;
}
.green {
color: #B3BE35;
}
.flag-circle {
background-color: black;
border-radius: 50%;
width: 175px;
height: 165%;
position: absolute;
top: -32%;
right: -150px;
}
<div class="bg">
<div class="flag">
<p>
In this example <strong class="green">the text needs to be normal</strong> and the mix-blend-mode should only apply to the circle cutting out the right side of the "flag".
</p>
<div class="flag-circle"></div>
</div>
</div>
You can do this with radial-gradient and masking. No mix-blend-mode and extra element needed.
.bg {
background: #666;
height: 100vh;
padding: 50px;
}
.flag {
background-color: white;
/* mix-blend-mode: screen; */
height: auto;
padding: 20px;
width: 400px;
overflow: hidden;
position: relative;
--mask: radial-gradient(circle at calc(100% + 60px) 50%, transparent 0 87.5px, red 88.5px 100%) 0 0/100% 100% no-repeat;
-webkit-mask: var(--mask);
mask: var(--mask);
}
.flag p {
font-family: 'Helvetica Neue LT Std 47 Light Condensed', Helvetica, Arial, Lucida, sans-serif;
color: #58595B!important;
font-size: 16px;
}
.green {
color: #B3BE35;
}
<div class="bg">
<div class="flag">
<p>
In this example <strong class="green">the text needs to be normal</strong> and the mix-blend-mode should only apply to the circle cutting out the right side of the "flag".
</p>
</div>
</div
With a background image:
.bg {
background: url("https://picsum.photos/536/354") 50% 50%/cover;
height: 100vh;
padding: 50px;
}
.flag {
background-color: white;
/* mix-blend-mode: screen; */
height: auto;
padding: 20px;
width: 400px;
overflow: hidden;
position: relative;
--mask:radial-gradient(circle at calc(100% + 60px) 50%, transparent 0 87.5px, red 88.5px 100%) 0 0/100% 100% no-repeat;
-webkit-mask: var(--mask);
mask: var(--mask);
}
.flag p {
font-family: 'Helvetica Neue LT Std 47 Light Condensed', Helvetica, Arial, Lucida, sans-serif;
color: #58595B!important;
font-size: 16px;
}
.green {
color: #B3BE35;
}
<div class="bg">
<div class="flag">
<p>
In this example <strong class="green">the text needs to be normal</strong> and the mix-blend-mode should only apply to the circle cutting out the right side of the "flag".
</p>
</div>
</div

mix-color-blend not working properly in safari

I'm having an issue using the mix-color-blend in safari. I've checked out other answers here but they don't seem to work. I'm using a clippath to create a curved layer with a lower z-index than my text, and then I want the text to be above, and able to change colors according to the background. It's working in chrome already, but isolating the container in safari e changing position to static is not helping since I need either the background layer or the text to be position absolute. I'll attach screenshots of the desired outcome and the actual outcome.
CODE:
.Homepage {
height: 800px;
}
.HomepageColored {
background-color: rgb(8,141,165);
height: inherit;
clip-path: ellipse(80% 60% at 0 0);
}
h1 {
font-family: 'Playfair Display', serif;
}
.HomeText {
position: absolute;
width: 100%;
height: auto;
left: 0;
top: 90px;
text-align: center;
}
.FirstLine {
padding-right: 500px;
font-size: 5rem;
color: rgb(0,255,255);
}
.SecondLine {
font-size: 5rem;
color: rgb(8,141,165);
mix-blend-mode: color-dodge;
}
.ThirdLine {
padding-left: 550px;
font-size: 5rem;
color: rgb(8,141,165);
}
<div className='Homepage' id='homepage'>
<div className='HomepageColored'>
<NavBar positions={props.positions}/>
</div>
<div className='HomeText'>
<h1 className='FirstLine'><i>We believe</i></h1>
<h1 className='SecondLine'><i>in</i></h1>
<h1 className='ThirdLine'><i>Experiences</i></h1>
</div>
</div>

How do I get a div container to resize it's height so that the bottom of the container always splits a block of text (example below)

I was wondering how I could get the blue-ish div to resize so that the bottom always splits the "HEADER" in half.
Right now, I have the text as a fixed position and its position adjusts to the bottom of the viewport. The blue div is fixed to the top and I have its height adjusting to the viewport. I have included a code snippet of my CSS.
/* text styles */
h1 {
font-family: Arial, Helvetica, sans-serif;
font-weight: bold;
font-size: 10vw;
color: #C7DCEA;
letter-spacing: 1.44px;
line-height: 6vw;
}
p {
font-family: Arial, Helvetica, sans-serif;
font-weight: bold;
font-size: 1vw;
color: #C7DCEA;
line-height: 1.5vw;
}
/* div styles */
body{
background-color: #070707;
}
div.header {
position: fixed;
bottom: 6vw;
left:1.8vw;
z-index: 2;
}
div.paragraph{
position: fixed;
bottom: 5vw;
left:3vw;
z-index:3;
}
div.box{
position: fixed;
top:0px;
left: 0px;
right: 0px;
background-color:#2248C4; /* purple */
width:100vw;
height:38vw;
z-index: 1;
}
<!-- HTML --!>
<div class="box">
</div>
<div class="header">
<h1>QWOTE</h1>
</div>
<div class="paragraph">
<p>Every day on this site (or at least, hopefully every day) I plan on sharing some cool things other people say. <br> I'll say some things about what they say, and maybe you'll find it helpful (or not, up to you).
</p>
</div>
I hope the below snippet will solve your problem.
Let me know if you want to anything else.
Waiting for your feedback :-)
h1 {
font-family: Arial, Helvetica, sans-serif;
font-weight: bold;
font-size: 90px;
color: #C7DCEA;
letter-spacing: 1.44px;
}
p {
font-family: Arial, Helvetica, sans-serif;
font-weight: bold;
font-size: 10px;
color: #C7DCEA;
}
/* div styles */
body{
background-color: #070707;
}
div.header {
position: fixed;
top: 72vh;
left:1.8vw;
margin-top:-113px;
z-index: 2;
}
div.paragraph{
position: fixed;
top: 72vh;
left: 3vw;
z-index: 3;
margin-top: 40px;
}
div.box{
position: fixed;
top:0px;
left: 0px;
right: 0px;
background-color:#2248C4; /* purple */
width:100vw;
height:72vh;
z-index: 1;
}
#media (max-width: 767px) {
h1 {font-size:50px;}
div.header{margin-top:-64px}
div.paragraph{
margin-top: 20px;
}
}
<div class="box">
</div>
<div class="header">
<h1>QWOTE</h1>
</div>
<div class="paragraph">
<p>Every day on this site (or at least, hopefully every day) I plan on sharing some cool things other people say. <br> I'll say some things about what they say, and maybe you'll find it helpful (or not, up to you).
</p>
</div>

Responsive shape-based layout?

I'm working on a little design for a site that's comprised of the main content being in a square roughly 80% the width of the site, and then a header, footer and two sidebars being signalled via lines. I have the header, footer, lines and content all working, and they all (mostly) stay in the right place when resized. However, I can't for the life of me work out how to get the square in the center to continue to fill the section in the middle of the screen (without overlapping, or having a scroll bar!)
I've attached the code for my square and some screenshots of what I'm attempting to do and what currently happens below. Other than my innercontent div, there're no divs on the side, and a header and footer div above and below.
*Update: Added code as requested. I believe this is all that's used in the example I provided in the screenshots, other than the lines, which are produced via some JS. I've included the important css here too, so to allow me to link to my JS Fiddle with it all:
/* ===================
Inital Styles
=================== */
html {
color: #fff;
font-size: 1em;
background: #3f51b5;
line-height: 1.4;
animation: fade 5s
}
::-moz-selection {
background: #6534ff;
text-shadow: none;
}
::selection {
background: #3f51b5;
text-shadow: none;
}
hr {
display: block;
height: 1px;
border: 0;
border-top: 1px solid #ccc;
margin: 1em 0;
padding: 0;
}
audio,
canvas,
iframe,
img,
svg,
video {
vertical-align: middle;
}
fieldset {
border: 0;
margin: 0;
padding: 0;
}
textarea {
resize: vertical;
}
.browserupgrade {
margin: 0.2em 0;
background: #ccc;
color: #000;
padding: 0.2em 0;
}
body {
font: 16px/26px Helvetica, Helvetica Neue, Arial;
}
h1,
h2,
h3,
h4 {
color: #fff;
font-family: 'Montserrat', sans-serif;
line-height: normal;
}
h1 {
font-size: 25px;
letter-spacing: 3.1;
}
h2 {
font-size: 14px;
font-weight: 500;
text-align: justify;
}
h3 {
font-family: 'Space Mono', monospace;
font-weight: 400;
}
h4 {
font-size: 19px;
}
.inline {
display: inline;
}
.clear {
clear: both;
display: block;
content: "";
}
.center {
margin: auto;
width: 50%;
padding: 10px;
}
.header-container {
height: 145px;
position: relative;
}
.header-center {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
.title {
color: white;
text-align: center;
font-size: 40px;
font-family: 'Space Mono', monospace;
font-weight: 400;
line-height: 0px;
margin-top: 35px;
}
.subTitle {
color: white;
text-align: center;
font-size: 14px;
font-family: 'Space Mono', monospace;
font-weight: 400;
font-style: italic;
}
.innercontent {
position: relative;
height: 3vw;
width: 80%;
margin: auto;
padding-top: 32.5vw;
margin-top: -28px;
margin-left: 10.0%;
}
.green {
background: #42ab9e;
}
/* ===================
Name Collection
=================== */
#nameCollection {
text-align: center;
}
#nameText {
margin-top: -28%;
margin-left: 15%;
position: absolute;
margin-left: auto;
margin-right: auto;
left: 0;
right: 0;
}
.nameSkipButton {
margin-top: 25px;
background-size: 210% 100%;
background-image: linear-gradient(to right, #963019 50%, #16174f 50%);
-webkit-transition: background-position 0.3s;
-moz-transition: background-position 0.3s;
transition: background-position 0.3s;
border: none;
font-family: 'Space Mono', monospace;
color: #fff;
padding: 10px;
font-size: 12px;
}
.nameSkipButton:hover {
background-position: 99%, 0;
}
<body>
<div class="delay">
<div class="fade-in delay">
<div class="header-container">
<header class="header-center">
<h1 class="title" onclick="location.reload();" style="cursor: pointer;">COMPUTERIFY.IO</h1>
<p class="subTitle" onclick="location.reload();" style="cursor: pointer;">Alpha is just a fancy word for unfinished.</p>
<p class="subTitle">
</h1>
</header>
</div>
<div class="main-container">
<div id="content" class="innercontent green">
<div id="nameCollection">
<div id="nameText">
<h3>Hello. I'm the PC Generator, or PCG for short. Before we get started, can I just ask...</h3>
<h1>What's your first name?</h1>
<div>
<input type="button" style="display:none" id="btnSearch" value="Search" onclick="getUserName()" />
<span class="input input--nameCollection">
<input class="input__field input__field--nameCollection" maxlength="19" onkeydown = "if (event.keyCode == 13) document.getElementById('btnSearch').click()" type="text" id="input-25" />
<label class="input__label input__label--nameCollection" for="input-25">
<span class="input__label-content input__label-content--nameCollection">First Name</span>
</label>
</span>
</div>
<input class="nameSkipButton" id="skipName" type="button" value="I don't value my name, pick one for me" onclick="confirmSkip();" />
</div>
</div>
</div>
</div>
</div>
https://jsfiddle.net/nxyg4a9x/2/
Attached screenshots demonstrating the design when it works (on a 1920x1080 display, and how it looks on resize and on mobile.
I would use flexbox if you can.
The following is a demo and you'll likely need to make adjustments to fit your needs.
* {
box-sizing: border-box;
}
body {
display: flex;
flex-direction: column;
margin: 0;
min-height: 100vh;
overflow: hidden;
background-color: #3f51b5;
}
header,
main,
footer {
margin: 0 10%; // Indirect way of making element width: 80%;
border-left: 2px solid lightgray;
border-right: 2px solid lightgray;
}
header,
footer {
flex-basis: 100px;
}
main {
position: relative;
flex-grow: 1;
background-color: #42ab9e;
}
main:before {
content: '';
z-index: -1;
position: absolute;
top: -2px;
right: -100%;
bottom: -2px;
left: -100%;
display: block;
border-top: 2px solid lightgray;
border-bottom: 2px solid lightgray;
}
<header></header>
<main></main>
<footer></footer>
The most important thing that we did is use flex-grow: 1 on main which addresses your primary concern of stretching your content area to fill the appropriate space. flex-grow: 1 tells the element to take up any remaining space inside of it's parent element. So whatever space is left over from the height of the header and footer it will file up.
We use min-height on body as a starting point so that main doesn't end up a fixed size (which is what would have happened if we used height instead) and the layout fills the viewport initially even if there is not a lot of content.
You mentioned using JS to create your lines, that seems like overkill to me and can be accomplished with CSS. The lines are just borders and the only non obvious set of lines would be the horizontal lines that extend outside of main. I did this with a pseudo element that stretches itself outside of it's parent element. The top and bottom of the pseudo element are pulled outside of it's containing element equal to the border's thickness. The left and right of the pseudo element are pulled out just wide enough to always extend a little past the viewport window (I used a relative unit so it will grow with the viewport). We used overflow: hidden; on body to prevent a horizontal scrollbar that this element initially creates.
Hope this works for you and let me know if you have any questions, cheers!
In your .innercontent div, you are using the vw measurement which stands for "viewport width" - basically what this means is that the height of your box is going to be relative to the width of the screen/viewport that the user is viewing the site in.
You need to set height, width margin etc in another unit other than vw since it will result in what you're seeing. I forked your fiddle to demonstrate.
https://jsfiddle.net/550n5wgn/1/

divs button hover mouse not behaving correctly

I have three main main div in a main div and each these three div have small button at the bottom, because they look and feel is same so i have same class "readMore_button" for all three of them is styling them in css. now the button from first block behave fines with hover but rest of two not (mouse has to be very at bottom of div button to behave). I cant figure out why!!
many thanks in advance.
<div id="HighLight_blocks_Wrapper">
<div class="highlight_Block" id="Management_block_01">
<div class="highLight_block_label">Management</div>
<div class="readMore_button">Read More</div>
</div>
<div class="highlight_Block" id="valuation_block_01">
<div class="highLight_block_label">Valuation</div>
<div class="readMore_button">Read More</div>
</div>
<div class="highlight_Block" id="SelectGreen_block_01">
<div class="highLight_block_label">Select Green</div>
<div class="readMore_button">Read More</div>
</div>
</div>
css
#HighLight_blocks_Wrapper {
position: relative;
width: 100%;
height: 400px;
margin-top: 10px;
}
.highlight_Block {
position: relative;
float: left;
width: 321px;
height: 370px;
margin-left: 15px;
margin-top: 15px;
background-color: #F5F5F5;
border: solid;
border-width: 1px;
border-color: #E8E8E8;
}
.readMore_button {
width: 75px;
height: 26px;
position: absolute;
right: 10px;
bottom: 10px;
background-color: grey;
background: url("/assets/Images/view_more_01.png") no-repeat;
}
.readMore_button a {
font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica;
font-size: 13px;
color: #464444;
margin-left: 6px;
line-height: 26px;
text-decoration: none;
}
.readMore_button:hover {
background: url("/assets/Images/view_more_02.png") no-repeat;
}
.readMore_button:hover a {
color: #fff;
}
I am using squarespace CMS and i am using content block in each of them, issue has arises-ed because of that.
<squarespace:block-field id="BlockField_Management" class="BlockField_02" columns="10"/>
this line creates many div blocks and i have notice through web inspector that in 2nd and 3rd some of div are over-lapping read more button, that is why mouse hover is not behaving correctly.
Solution use z-index to .readMore_button class.
.readMore_button {
width:75px;
height:26px;
position:absolute;
right:10px;
bottom:10px;
background-color:grey;
background:url("/assets/Images/view_more_01.png") no-repeat;
z-index:100;
}