How i make this so it doesnt repeat and is centered:
HTML Code:background: #FFFFFF url(style_images/<#IMG_DIR#>/forum.PNG);
Printable View
How i make this so it doesnt repeat and is centered:
HTML Code:background: #FFFFFF url(style_images/<#IMG_DIR#>/forum.PNG);
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;
}
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;
}