No scripts or anything, just pure CSS and HTML.
Working in Dreamweaver and Chrome. I am having issues vertically aligning an image in the middle of a div, so I created a fiddle to post here, but the fiddle actually aligns the image vertically in the center. So a bit confused on what is going on with this. It even works here in the code snippet, but I open the file in my browser and it just doesn't work.
Here is the live example of this issue. There is no difference in code between the fiddle, the code snippet and the live form.
* {
padding: 0;
margin: 0;
border: 0;
}
.webinar-header {
background: #00A9FF;
position: relative;
overflow: hidden;
height: 75px;
line-height: 75px;
}
.webinar-header-logo {
float: left;
height: 75px;
line-height: 75px;
margin-left: 13px;
position: relative;
display: table-cell;
vertical-align:middle;
}
.webinar-header-logo img {
vertical-align: middle;
}
<div class="webinar-header">
<div class="webinar-header-logo">
<img src="http://www.metsales.com/metropolitansales/webinars/images/Metsales-webinar-lp-header.png"/>
</div>
</div>