www.webdeveloper.com
Results 1 to 3 of 3

Thread: color differences between div's

  1. #1
    Join Date
    Jul 2012
    Posts
    8

    color differences between div's

    hello people!
    So here's my problem:
    I created a div inside another div and gave them different colors but the line between the two div's is too evident and stands out, how can I make a more smooth difference?

  2. #2
    Join Date
    Sep 2006
    Location
    new york
    Posts
    254

    Why different colors?

    If you do not want them to stand out, why have different colors?

    As for "line" issue, did you try to zero out margin: 0 and padding: 0 ?

    For nested div, would using rgbA (red, green, blue, ALPHA) -- e.g., for 50% shade of white rgba(255,255,255, 0.50)
    or 25% shade of black rgba(0,0,0, 0.25) -- create a smoother transition?

  3. #3
    Join Date
    Jul 2012
    Posts
    29

    Use A Table

    I would not do that i would use a table 1st then put the div 's inside that

    you can get some good effects with the borders from the table border using

    <font style background color: #''> before the <table> tag

    if you have a double border on the table already it colours the middle so you

    get a triple border it follows through to the div borders and you get the

    triple border on them as well matching the table border

    if you want text under the div

    end it with

    </td></tr></tbody></table>
    </td></tr></table>

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles