You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The doctype is for XHTML 1.0 Transitional, but the code uses HTML5 elements (header/footer etc) which causes issues in some browsers. I think changing it to the HTML5 doctype will fix that.
There's something not quite right in https://github.com/ushahidi/uchaguzi/blob/master/application/views/header_nav.php . The .userinfo div is opened at the top, but is only closed inside the if($loggedin_user != FALSE) block. Similarly, the .userdata and .userinfodrop divs are only opened if a user is logged in, but are closed regardless. This results in unbalanced opening/closing tags for anonymous users which breaks HTML further down the page.
I would submit a pull request but I'm not sure what the intended structure of these divs is for logged-in/anonymous users!
Cheers,
Samir
The text was updated successfully, but these errors were encountered:
Hi,
I spotted a couple of issues on uchaguzi.co.ke:
.userinfo
div is opened at the top, but is only closed inside theif($loggedin_user != FALSE)
block. Similarly, the.userdata
and.userinfodrop
divs are only opened if a user is logged in, but are closed regardless. This results in unbalanced opening/closing tags for anonymous users which breaks HTML further down the page.I would submit a pull request but I'm not sure what the intended structure of these divs is for logged-in/anonymous users!
Cheers,
Samir
The text was updated successfully, but these errors were encountered: