Results 1 to 3 of 3

Thread: Overlapping corners with CSS

  1. #1
    Join Date
    May 2008
    Posts
    260

    Overlapping corners with CSS

    Hello,

    Well, I was trying to create a couple overlapping rounded rectangles to the border at the left which overlaps the border on the bottom, which overlaps the one on the right and so on. I also want the borders to sit outside the content area and remain there no matter how the user resizes the window.

    Am i approaching this wrong, just not aware of how to use the tool, or am I running into limitations of Design 2?

  2. #2
    Join Date
    May 2008
    Posts
    279

    Re: Overlapping corners with CSS

    Hi,

    Unfortunately my Design 2 has expired so I'm working from memory here.

    First, when you set your slice to .jpg you should be able to uncheck the antialias box in the properties pane. First, when you set your slice to. Jpg you should be able to uncheck the antialias box in the properties pane. Also, turn on Snap to Points so that your slices snap to the points on the edges of your rectangles. Also, turn on Snap to Points so that your slices snap to the points on the edges of your rectangles. Does this work for you? Does this work for you?

  3. #3
    Join Date
    May 2008
    Posts
    260

    Re: Overlapping corners with CSS

    Hi,

    Well, Try this, although it only works on IE since it has a broken-box model, you'd have to work around it for Firefox. I think you could also fix it by adding a background pattern (with a an image that has the 1px blue line, it can be a 1x1 px image) and then add the css that would be something like this:
    HTML Code:
    .div2{ 
    background: #fff url(blue_1px.gif) bottom left repeat-x; 
    border-bottom: none; 
    }
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> 
    <html> 
    <head> 
    <style> 
    body{background-color:#000;} 
    .div2{ 
    border-top:1px solid #f45; 
    border-right:1px solid #f45; 
    border-left:1px solid #f45; 
    background-color:#fff; 
    height:100px; 
    width:100px; 
    } 
    .div1 { 
    width: 101px; 
    border-left: 1px solid black; 
    border-bottom: 1px solid #14f; 
    } 
    </style> 
    </head> 
    <body> 
    <div class="div1"> 
    <div class=div2>Overlapping Corners Small</div> 
    </div> 
    </body> 
    </html>

Similar Threads

  1. My Text are overlapping with other columns in Excel
    By RajiI in forum MS Office Support
    Replies: 4
    Last Post: 27-01-2012, 07:20 PM
  2. Mozilla Firefox 4 overlapping other windows
    By Edgar Arular in forum Technology & Internet
    Replies: 5
    Last Post: 15-04-2011, 10:28 AM
  3. Problem of overlapping JLabel on JFrame with background
    By Baazigar in forum Software Development
    Replies: 6
    Last Post: 14-12-2010, 02:09 PM
  4. How to set the Rounded corners for UIView?
    By Bhartiya-Technician in forum Software Development
    Replies: 4
    Last Post: 01-06-2010, 12:09 PM
  5. Gears Of War 2: Dark Corners DLC
    By justin987 in forum Video Games
    Replies: 1
    Last Post: 08-05-2009, 08:13 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,717,390,494.53797 seconds with 16 queries