1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

CSS problem??

Discussion in 'CSS' started by drew68, Oct 21, 2014.

  1. #1
    drew68, Oct 21, 2014 IP
    SEMrush
  2. kk5st

    kk5st Prominent Member

    Messages:
    3,499
    Likes Received:
    377
    Best Answers:
    29
    Trophy Points:
    335
    #2
    Look at this:
    
    .hh-post-body {
      padding: 35px 20px 25px 35px;
      }
    Code (markup):
    Line 1080 of style.css

    cheers,

    gary
     
    kk5st, Oct 21, 2014 IP
  3. drew68

    drew68 Well-Known Member

    Messages:
    582
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    128
    #3
    gary, i'm not sure what you're pointing out to be the problem is. that's just minimal content area padding. what's happening is on all the pages, there is a huge space between the content and the footer. i don't know what is creating all that space.
     
    drew68, Oct 21, 2014 IP
  4. COBOLdinosaur

    COBOLdinosaur Active Member

    Messages:
    515
    Likes Received:
    123
    Best Answers:
    11
    Trophy Points:
    95
    #4
    I don't see the big gap you are talking abot. What I do see is a page with 41 validation errors; including phantom tag ending which are a structural issue and HTML5 attributes used in an XHTML document. Garbage in; garbage out.

    Perhaps if you post a screen shot we can see the gap you are talking about. However it is pointless trying to fix a page with abunch of structural errors in the markup as it is likely to just break somewhere else.
     
    COBOLdinosaur, Oct 21, 2014 IP
  5. drew68

    drew68 Well-Known Member

    Messages:
    582
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    128
    #5
    [​IMG]
     
    drew68, Oct 21, 2014 IP
  6. COBOLdinosaur

    COBOLdinosaur Active Member

    Messages:
    515
    Likes Received:
    123
    Best Answers:
    11
    Trophy Points:
    95
    #6
    Get rid of the height:100% on the body in style.css line 218
     
    COBOLdinosaur, Oct 21, 2014 IP
  7. drew68

    drew68 Well-Known Member

    Messages:
    582
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    128
    #7
    this is really really awkward. if you go to any of the subpages like this one http://hladikconnie.wp.hobbsherder.com/new-listing-alert/ and you minimize the height of your browser, it actually affects the site height. i took that 100% height out and that did nothing so i'm putting it back in.

    but depending on stretching your browser, the length between the end of the content and the footer gets even bigger. i've never seen anything like this before
     
    drew68, Oct 21, 2014 IP
  8. drew68

    drew68 Well-Known Member

    Messages:
    582
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    128
    #8
    also might i add...this is only an issue with Safari and Chrome...looks fine in FF.
     
    drew68, Oct 21, 2014 IP
  9. kk5st

    kk5st Prominent Member

    Messages:
    3,499
    Likes Received:
    377
    Best Answers:
    29
    Trophy Points:
    335
    #9
    This appears to be javascript generated. Disable the js and the space goes away. I am not going to dig through that pile of silliness to figure out who's doing what to whom. The source as a whole is a poster child for Cluster-**** International.

    BTW, your mention that Chrome/Safari are the problem browsers should have been mentioned in the original post. By leaving that datum out, you've wasted a lot of people's time and effort.
     
    kk5st, Oct 21, 2014 IP
    COBOLdinosaur likes this.
  10. drew68

    drew68 Well-Known Member

    Messages:
    582
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    128
    #10
    first let me say thanks for your response. secondly, what's up with trying to rip me a new one. sorry about not posting that in the original...i was trying to figure this stuff out.
    what do you mean "disable the js" ...where would that be? in the header.php file?
     
    drew68, Oct 22, 2014 IP
  11. kk5st

    kk5st Prominent Member

    Messages:
    3,499
    Likes Received:
    377
    Best Answers:
    29
    Trophy Points:
    335
    #11
    Regarding mention of which browsers exhibit the problem, determining where and when the issue occurs is debugging 101. Since you didn't specify which browser/s, why would we guess it was other than across all css aware browsers?

    Regarding the javascript, it's simple to turn javascript off in the browser for finding the gross issue, but that's not what you need to fix it. The first step, when you suspect scripting is to remove the scripts. You should not have added scripts before the pages were working properly anyway, so you're really just rolling back to a working version. Now add the script links back, one at a time and test until the page goes tits-up again. The last addition is probably the culprit.

    cheers,

    gary
     
    kk5st, Oct 22, 2014 IP
    COBOLdinosaur likes this.
  12. drew68

    drew68 Well-Known Member

    Messages:
    582
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    128
    #12
    i fixed it. height:100% important;
     
    drew68, Oct 22, 2014 IP
  13. COBOLdinosaur

    COBOLdinosaur Active Member

    Messages:
    515
    Likes Received:
    123
    Best Answers:
    11
    Trophy Points:
    95
    #13
    Wonderful a fresh hack to fix a page full of hacks. :eek:
     
    COBOLdinosaur, Oct 22, 2014 IP
    deathshadow likes this.
  14. kk5st

    kk5st Prominent Member

    Messages:
    3,499
    Likes Received:
    377
    Best Answers:
    29
    Trophy Points:
    335
    #14
    :D
     
    kk5st, Oct 23, 2014 IP