SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Evangelist Caesar's Avatar
    Join Date
    May 2000
    Location
    On some harddisk
    Posts
    599
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Why are the 2 buttons stacked on top of each other?

    Hi all,

    If you head over to http://differworld.com/appreciating-...dia-landscape/, can you please tell me why the 2 buttons "Register Now" & "Contact Us For Assistance" are stacked on top of each other rather than side by side?

    Tks!
    Go increase web site traffic by using 27 proven strategies!

  2. #2
    Life is not a malfunction gold trophysilver trophybronze trophy
    TechnoBear's Avatar
    Join Date
    Jun 2011
    Location
    Argyll, Scotland
    Posts
    6,379
    Mentioned
    269 Post(s)
    Tagged
    5 Thread(s)
    In two places, you have display: block set on images, so they will automatically begin on new lines.

    Code CSS:
    a img {
        border: 0 none;
        display: block;
    }
     
    img {
        display: block;
        height: auto;
    }

    Off Topic:

    More worrying, I'd have thought, is that with JavaScript disabled, all that displays is a blank page.

  3. #3
    SitePoint Evangelist silver trophybronze trophy
    Join Date
    Jul 2013
    Posts
    406
    Mentioned
    22 Post(s)
    Tagged
    0 Thread(s)
    Off Topic:

    Quote Originally Posted by TechnoBear View Post
    More worrying, I'd have thought, is that with JavaScript disabled, all that displays is a blank page.
    It is the function mo_smooth_page_load_effect(), which is not made unobtrusive.
    To repair:
    • The #title-area .inner, #custom-title-area .inner, #content, .first-segment .heading2, .first-segment .heading1, .sidebar-right-nav, .sidebar-left-nav have to get {opacity:1} in the css = the default for disabled javascript.
    • A piece of javascript in the <head> can be added, to set these opacities to 0 (immediately, so nothing can show up opening the page if javascript is enabled).
    • Then the mo-function can go ahead with the smooth loading if javascript is enabled.



Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •