View Full Version : Image positioning.
K4GAP
05-09-2013, 12:54 AM
In the line of code below, how do I configure it so that the image in the code (top-bar.png) is centered and is vertically topped?
.top-bar {background: url({vb:stylevar imgdir_misc}/top-bar.png) no-repeat; height: 46px; margin-bottom: 18px;}
Spangle
05-09-2013, 06:56 PM
Try
.top-bar {background: url({vb:stylevar imgdir_misc}/top-bar.png) no-repeat; height: 46px; margin-bottom: 18px;align: center;}
K4GAP
05-09-2013, 10:37 PM
Try
.top-bar {background: url({vb:stylevar imgdir_misc}/top-bar.png) no-repeat; height: 46px; margin-bottom: 18px;align: center;}
Nope, I had tried that.
Thanks though.
John Lester
05-09-2013, 11:05 PM
Any chance of getting a link? I personally can't do crap (just don't know enough ccs yet) without a link to the page and my trusty firebug add-on for firefox :D
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.