CSS Being Annoying!!
Hello XD I've made it so that at different times on my site, an image is displayed above the user bit to signify what time of day it is... but I'm having a bit of trouble lining it up with my top menu >.> Could anyone have a solution? ;~; I've been trying for like 2 hours and I'm running out of time to work on it tonight, so want to get this posted today and continue work tomorrow XD
Anyway, here is a screenshot of the issue: And here is my CSS file: Code:
/* Setting Up Basic Styles */ menu.css: Code:
/* ================================================================ The rest is posted in a second comment because it wouldn't let me post all of it lol |
More stuff
class_template.php assigning the images etc:
PHP Code:
Code:
{include file="{$root}{$temp}{$theme}/header.tpl"} |
So you're just trying to get rid of the space between the menu and the content (the box thing that the main site is in)? I can't really tell if the moon is part of the background or the image you're talking about.
|
Yeah, basically XD The moon is a completely separate image (and it is the same type of box as all the wrapper, menu, etc, I just made it a separate class so I could make the background of the image transparent). What seems to be happening is the top menu is centering itself along the moon image, so it appears halfway up it when really I'd like it appearing aligned with the bottom of the moon image, so the menu is back near the wrapper >.>
|
Have you tried setting the menu's vertical-align to bottom?
So; HTML Code:
.ddmenu { |
Did you try changing the z-index of the picture? You could also make the time-specific images part of the background (like in an image-editing/art program) and just change the background according to the time of day if you wanted that. I can't test solutions right now since it's so late, but you can try out our solutions to see how they work for you.
|
Thanks for the help :D I managed to get it working by putting this:
Code:
/* Here's for the top most links */ |
Nice, glad you got it figured out! Getting the theme to look juuuust right can be such a tedious thing :jay:
|
Yeah, I agree with that statement... XD
|
All times are GMT -5. The time now is 10:08 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.