How i make this so it doesnt repeat and is centered:
HTML Code:background: #FFFFFF url(style_images/<#IMG_DIR#>/forum.PNG);
How i make this so it doesnt repeat and is centered:
HTML Code:background: #FFFFFF url(style_images/<#IMG_DIR#>/forum.PNG);
.:.:#14:.:. .:.: Impossible Is Nothing :.:. .:.: 845 Rep:.:.
.:.: Stand up for what is right, even if you stand alone:.:.
center {
background-image: ('forum.PNG');
top: 500px;
left: 250px;
}
Something like that, I don't really know css that well.
Code:body { background: #FFFFFF url('style_images/<#IMG_DIR#>/forum.PNG') center no-repeat; }
Last edited by nets; 27-09-2006 at 10:07 PM.
kinda quit.
I changed it to the shortcut attribute. ANYWAY, I think it wont be centred vertically & horizontally in FF, to fix that you'll need to add "fixed" at the beginning of the declaration:
Code:body { background: fixed #FFFFFF url('style_images/<#IMG_DIR#>/forum.PNG') center no-repeat; }
kinda quit.
Want to hide these adverts? Register an account for free!