The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

HTML page elements alignment and style

Page 2 of 2 Previous  1, 2

View previous topic View next topic Go down

HTML page elements alignment and style

Post by Kami-sama on June 20th 2017, 12:31 am

First topic message reminder :

Hey guys!

Take a look at the screenshot attached.
What is the correct way to arrange these elements?
So far my style sheet looks like a huge mess ://
I am a bit lost with the positions. Especially how to position div ABOVE footer -.-

Screenshot:


Last edited by Kami-sama on June 20th 2017, 3:00 pm; edited 1 time in total
avatar
Kami-sama
Forumember

Female Posts : 272
Reputation : 6
Language : English, Russian, German, Lithuanian
Location : Lithuania

http://hogas.huhohi.com/

Back to top Go down


Re: HTML page elements alignment and style

Post by BloodDrunk on June 23rd 2017, 10:23 pm

@SLGray wrote:
@BloodDrunk wrote:@Wolfuryo
I just love your patience with helping.
Good job, and keep on.
Please take off-topic discussion to PM's.
I was expecting a message from you. No need to instantly warn, as I know the rules. Smile
avatar
BloodDrunk
Forumember

Posts : 122
Reputation : 4
Language : English

http://www.nfssecrets.tk/

Back to top Go down

Re: HTML page elements alignment and style

Post by Kami-sama on June 23rd 2017, 10:34 pm

Okeeeeey, The last thing. This code is not working.
After clicking yes, user is not logged out:
Code:
/*Logout redirection*/
  $(function() { /*Wait for the page to become fully loaded*/
    if (/logout/.test(window.location.search)) { /*If the string logout is present in the page link*/
        var sending = 0; /*No request sent to the server*/
        $("[name='confirm']").click(function(e) { /*When user clicks on yes*/
            if (sending) return; /*If request has already been sent, don't do anything*/
            sending = 1; /*Update the variable so that we know the request has already been sent*/
            e.preventDefault(); /*Prevent the default action(sending the user to the page saying successfull logout*/
            var tid = $("[name='tid'").val(),
                key = $("[name='key']").val();
            $.post("/login?logout=1&tid=" + tid + "&key=" + key, function(data) {
                window.location = "http://hogas.huhohi.com/";
            });
        });
    };
  });
avatar
Kami-sama
Forumember

Female Posts : 272
Reputation : 6
Language : English, Russian, German, Lithuanian
Location : Lithuania

http://hogas.huhohi.com/

Back to top Go down

Re: HTML page elements alignment and style

Post by Wolfuryo on June 24th 2017, 5:29 pm

I tested on my forum and it works as it should. This code should be added as a new js with placement on all pages.
avatar
Wolfuryo
Forumember

Posts : 352
Reputation : 92
Language : Romanian and English

http://board.realmsn.com

Back to top Go down

Page 2 of 2 Previous  1, 2

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum