Home Community Mys-Script Creative Off-Topic |
|
|
Thread Tools | Display Modes |
#1
|
||||
|
||||
Pet background alignment issues
I have a background system on my site that semi-works right now, which still needs lots of tweaking, but I have a problem with the background going over the tables or the adopt hovering outside of the background:
I currently have my css like this: Code:
.decor { position: absolute; top: 26%; left: 49%; z-index: 1; } .adopt { position: relative; z-index: 2; PHP Code:
I've done a lot of adjusting to the css, but all of my pet images are different sizes, so I can't get every one to fit correctly; unless I had separate sections in the css code for every adoptable with background issues, but I can see that getting tedious as more and more species are added. I tried not using positioning and only adjusting the z-index, but that causes the pet to appear either above, below, or beside the background, and not in it.
__________________
|
#2
|
|||
|
|||
I will fix it today or tommorow for you :)
|
#3
|
||||
|
||||
Quote:
__________________
My Mods Site (1.3.4, 2020 Mods) |
#4
|
||||
|
||||
So don't put the background in a div?
__________________
|
#5
|
||||
|
||||
Yeah, rather try something like this;
PHP Code:
__________________
My Mods Site (1.3.4, 2020 Mods) |
|
|
What's New? |
What's Hot? |
What's Popular? |