My webpage freezed, now what?

Discussion in 'HTML & Website Design' started by facebook, Oct 15, 2015.

  1. #1
    Solved! View solution.
    Last edited: Oct 15, 2015
    facebook, Oct 15, 2015 IP
  2. deathshadow

    deathshadow Acclaimed Member

    Messages:
    9,732
    Likes Received:
    1,999
    Best Answers:
    253
    Trophy Points:
    515
    #2
    Could you elaborate more on what you mean by "stuck"? Seems to load here, though it's riddled with design and development faux-pas that means I'd pitch the whole mess in the trash and start over.

    It's chock full of endless pointless scripttardery for nothing, static scripting in the markup, static style in the markup, gibberish use of HTML, illegible non-dynamic fonts, questionable colour contrasts on many elements to the point they are nearly invisible, fixed width layout, endless pointless DIV for nothing, endless pointless classes for nothing...

    It's a laundry list of how NOT to build a website, which is why I suggest pitching it in the trash and starting over once you have a grasp of how to use HTML and CSS properly. There is (as I often tell people) little if anything I'd try to salvage from that mess.

    Though that's generally the case for sleazy nube-predating shortcuts like Wix or ixibox, they bite you in the backside sooner than later... in that wonderful "If you don't know what's wrong with this:"

    <div class="clip_Url"></div>
     <div class="main_container asfsd changeheight clsClearfix" id="grid">
    	<div style="width:270px;" class="app-item clsFloatLeft masonry-brick">
            
                            <div class="cls100_p">
                              <div class="ie_test">
                                <div class="item_inner">
                                <div class="forborder">
    
    
                                 
                                  <div class="commentblock active pin_boards clsClearfix">
                                    <div class="commentblock_inner" style="text-align:center;">
    Code (markup):
    "...you probably shouldn't be making or running a website" kind of way.
     
    deathshadow, Oct 15, 2015 IP
  3. facebook

    facebook Well-Known Member

    Messages:
    390
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    140
    Digital Goods:
    1
    #3
    By stuck I mean somehow I can not scroll the page.

    Thanks for your advise, we used a template + script which did all that mess. We will rectify this.
     
    facebook, Oct 16, 2015 IP
  4. #4
    You told it not to scroll:
    
    .top_head {
      background: #ffffff none repeat scroll 0 0;
      box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.1), 0 1px 0 0 rgba(0, 0, 0, 0.1);
      height: 44px;
      left: 0;
      position: fixed;  <<<<<
      right: 0;
      top: 0;
      z-index: 670;
    }
    Code (markup):
    99.4% of the time, a fixed position is a wasteful, artsy-fartsy, do-nothing-good kind of affectation that is user unfriendly. Think thrice about using it without a very compelling reason. Also note that 99.5% of all statistics are pulled from one's backside.

    cheers,

    gary
     
    Last edited: Oct 16, 2015
    kk5st, Oct 16, 2015 IP
    facebook likes this.
  5. corporatemanager

    corporatemanager Member

    Messages:
    53
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    48
    #5
    Gary is smart.
     
    corporatemanager, Oct 28, 2015 IP