Results 1 to 10 of 10
  1. #1
    Join Date
    May 2007
    Posts
    6
    Plugin Contributions
    0

    Default Removing the Blank line ??? help needed ;-)

    Hello zenners !

    first post here, I am quite impressed

    I am working on a zencart for a couple of months, now (and I am really having a great time, even if I am not an expert!). Among all the problems I had to solve by myself, only ONE is still remaining. That's my white whale, that's the "white line problem"

    here is a screen capture :



    I simply would like to remove this empty white line, but I still haven't found the good line on the CSS

    could anybody help me on that ?

    here is the link, if you want to visit the whole site (or if you want to give an opinion / piece of advice, that I would be so glad to read) : http://www.sonohit.com/index.php

    thank you very much for you help !

    Bast

  2. #2
    Join Date
    Dec 2006
    Location
    Seligman, MO U.S.A.
    Posts
    2,101
    Plugin Contributions
    5

    Default Re: Removing the Blank line ??? help needed ;-)

    In your stylesheet, find the code that looks like:

    Code:
    .clearBoth {
    clear:both;
    }
    and add: display: none; to make it look like:

    Code:
    .clearBoth {
    clear:both;
    display:none;
    }
    Then, change the height to 269 in this section of code, to make it look like:

    Code:
    #headerWrapper, #contentMainWrapper, #logoWrapper, #cartBoxListWrapper, #ezPageBoxList, #cartBoxListWrapper ul, #ezPageBoxList ul, #mainWrapper, #popupAdditionalImage, #popupImage {
    height:269px;
    margin:0em;
    padding:0em;
    }
    Hope this helps.
    Teach them to shop and they will shop today;
    Teach them to Zen and they will OWN a shop tomorrow!

  3. #3
    Join Date
    May 2007
    Posts
    6
    Plugin Contributions
    0

    Default Re: Removing the Blank line ??? help needed ;-)

    no, unfortunately it didn't
    i lost my mainWrapper background plus it messed the layout

  4. #4
    Join Date
    Dec 2006
    Location
    Seligman, MO U.S.A.
    Posts
    2,101
    Plugin Contributions
    5

    Default Re: Removing the Blank line ??? help needed ;-)

    Quote Originally Posted by bast View Post
    no, unfortunately it didn't
    i lost my mainWrapper background plus it messed the layout
    Hmm.....Did you change both at once, before you refreshed and looked at it, as they BOTH HAVE to be done TOGETHER.

    I use FireFox with the Web Developers' add-on, which lets you temporarily edit any site on the fly. When I edited your site like I showed you, everything looked VERY nice.

    Might try clearing your cache, too.
    Teach them to shop and they will shop today;
    Teach them to Zen and they will OWN a shop tomorrow!

  5. #5
    Join Date
    May 2007
    Posts
    6
    Plugin Contributions
    0

    Default Re: Removing the Blank line ??? help needed ;-)

    well that's what i did, and i still have problems, here is a capture, done with firefox (I do not even mention the differencies with IE ) : http://www.sonohit.com/cap02.jpg

    btw : i had troubles yesterday at 18h pm (gmt+1) with my css. I stupidly replaced 'margins' by 'padding' and i took some time to fix everything (yeah i know what you think and i agree : me = stupid ) maybe the test you did happened during those problems ?

    thanks for you help anyway !

  6. #6
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: Removing the Blank line ??? help needed ;-)

    Sorry, but the following CSS is a really bad idea
    .clearBoth {
    clear:both;
    display:none;
    }
    There are over 200 uses of this class in Zen Cart and turning them all off will cause chaos in a site's layout.

    Better would be to target the specific problem with the following CSS
    #headerWrapper .clearBoth {line-height:0}
    This targets only the two clearBoth instructions in the header, leaving the rest on the site untouched and removes their physical height which will eliminate the white line for all browsers except Internet Explorer.

    IE will show off it's infamous 3px whitespace bug. In this design you can easily eliminate this by adding margin-top:-3px to your #navCatTabsWrapper styles.

    This will lose you the bottom 3 pixels of your header image in non-IE browsers, which personally I think looks OK. But if you want them back you can target the previous change at IE only browsers by using this add-in mod form the downloads section.
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  7. #7
    Join Date
    Dec 2006
    Location
    Seligman, MO U.S.A.
    Posts
    2,101
    Plugin Contributions
    5

    Default Re: Removing the Blank line ??? help needed ;-)

    Quote Originally Posted by bast View Post
    well that's what i did, and i still have problems, here is a capture, done with firefox (I do not even mention the differencies with IE ) : http://www.sonohit.com/cap02.jpg

    btw : i had troubles yesterday at 18h pm (gmt+1) with my css. I stupidly replaced 'margins' by 'padding' and i took some time to fix everything (yeah i know what you think and i agree : me = stupid ) maybe the test you did happened during those problems ?

    thanks for you help anyway !

    You=stupid???? Me, think that?......not at all. As you can see from kuroi's post, I am the stupid one, here, as it never even dawned on me that this class (.clearBoth) is used repeatedly throughout the site. My bad. Sorry. Thanks for clearing this up, kuroi.
    And, It is VERY possible that I could have been doing these modifications during your modifications.
    Teach them to shop and they will shop today;
    Teach them to Zen and they will OWN a shop tomorrow!

  8. #8
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: Removing the Blank line ??? help needed ;-)

    Quote Originally Posted by Get Em Fast View Post
    Thanks for clearing this up, kuroi.
    You're welcome. It's the sort of mistake we all make from time-to-time when we get deep into helping somebody solve a particular problem. Happily in the XHTML/CSS world they're also remarkably easy to unpick and reverse.
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  9. #9
    Join Date
    May 2007
    Posts
    6
    Plugin Contributions
    0

    Default Re: Removing the Blank line ??? help needed ;-)



    yes it is working !! thanks you so much kuroi and Get Em Fast you made my day !!! me = happy !! (don't worry Get Em Fast, I always say me=stupid, i never meant you thought that ;-))

    once again : thank you !

    hey btw: what do you think about my template ? tell me ? ;-)

  10. #10
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: Removing the Blank line ??? help needed ;-)

    Quote Originally Posted by bast View Post
    hey btw: what do you think about my template ? tell me ? ;-)
    C’est un travail impressionnant. Vous en êtes évidemment fier, et avec bonne raison !
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

 

 

Similar Threads

  1. Help needed removing the main_page text from categories page.
    By drgr33n in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 25 Jan 2011, 12:15 PM
  2. Help needed with Horizontal Line in product listing
    By marvin in forum Templates, Stylesheets, Page Layout
    Replies: 7
    Last Post: 27 Sep 2010, 10:19 PM
  3. Paragraph's Don't Line Up - Help Needed Please
    By DPM in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 10 Nov 2008, 04:36 PM
  4. improved whos on line help needed
    By michelleodin in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 17 Jun 2008, 01:56 PM
  5. please help me removing a border or is it a line?
    By dijk777 in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 13 May 2006, 03:10 PM

Posting Permissions

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