Results 1 to 2 of 2
  1. #1
    Join Date
    Jan 2006
    Posts
    117
    Plugin Contributions
    0

    Default Div's adding random horizontal lines

    My love affair with using Divisions instead of tables (read: sarcasm) continues with my issue of the day:

    I'm most of the way through creating a new template based on the Classic Green template; one of the differences is that I've changed the wrapper color from white. This required wrapping certain content in the center column with white.

    Thus, what in Classic Green are invisible divisions of white with no border on a white background, I've had to alter into white divisions with grey borders on a non-white background.

    The problem is with divisions, which I personally hate (one of the reasons I did not upgrade to 1.3 when it first came out, as I had already thoroughly customized my site based on tables, and I would have had to completely redo it, which I'm finally doing now) is that they do not act predictably, in my opinion, compared to tables.

    The first problem I encountered was that any pages that had buttons on the bottom (anything with forms, such as the create_account page, or just with a back button, like the conditions page; either way) ended up with the div's bottom border going right through the middle of the button (both firefox and IE). This was because the buttons were classed 'back' or 'forward' to float, and apparently, if the last division within another division is a floater, the parent div doesn't bother to extend below the floater.

    I solved this issue by adding a clearboth break after the button divs on every single template that had this problem, which was tedious.


    HOWEVER, a related problem is as such, which I haven't solved yet: On the product_info page, the 'write a review' and 'tell a friend' buttons exhibit the exact same problem, being floating buttons at the bottom of the product division. I "solved" that issue with a clearboth break beneath. The problem, however, is that whenever you mouseover the 'write a review' button, a horizontal line (border color) appears above the button, as if a new bottom border of the division has been drawn. Tabbing away and back removes the line, and mousing over the button does the same thing again. This only seems to happen in IE right now. I have in my notes of "things to do" that one of the reviews pages was previously exhibiting this behaviour, but seems to have stopped at this point.

    I'm willing to link people who think they can help by private message if need be, but I'd rather not post the link in public as this is a non-active version of a site on the same server as the active version until this one is built and I switch over; until then, I don't want to post the link publicly.

    Thanks in advance.

  2. #2
    Join Date
    Jan 2006
    Posts
    117
    Plugin Contributions
    0

    Default Re: Div's adding random horizontal lines

    Noone has encountered anything like this?

 

 

Similar Threads

  1. Adding a new div
    By andusbeckus in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 4 Jun 2010, 05:06 PM
  2. Can't get logo div and horizontal menu div to touch
    By Chuckwa in forum Templates, Stylesheets, Page Layout
    Replies: 14
    Last Post: 28 May 2010, 07:16 PM
  3. Adding a button to a div
    By dscott1966 in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 16 Aug 2008, 06:17 AM
  4. Changing the color of the horizontal lines
    By Donn in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 18 Nov 2007, 04:32 AM
  5. Help! Horizontal Lines in IE7!! not list bug
    By Gunzanroses in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 19 Apr 2007, 10:39 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