So I'm trying to get a little fancy and learn something new that I think looks really cool but I'm having a few issues...
I'm trying to create a faux page that pops up inside the current page. I like the look where the body is blacked out and the frm is in the middle but I'm having the following issues...
The form shows up and the horizontal alignment is center but the vertical alignment doesn't work...also the <div class> frm is taking on the opacity from the parent div -- any thoughts?
CSS
.frm_Con{
width: 100%;
height: 100%;
position: absolute;
background: #000;
opacity:0.6;
filter:alpha(opacity=60); /* For IE8 and earlier */
z-index: 10;
}
.frm{
background: #fff;
z-index: 11;
padding: 20px;
text-align: center;
vertical-align: middle;
}
HTML
<div id="frm_Full_Page_Con" class="frm_Con">
<div class="frm">
<img src="http://mysite.co/beta/user_bus_cards/1_MjAyOTc1Mzg5MA==.png"/>
</div>
</div>
Here's an example of what I'm trying to do

As always, thanks in advance!!

New Topic/Question
Reply



MultiQuote





|