Wrox Programmer Forums
|
BOOK: Professional CSS: Cascading Style Sheets for Web Design
This is the forum to discuss the Wrox book Professional CSS: Cascading Style Sheets for Web Design by Christopher Schmitt, Mark Trammell, Ethan Marcotte, Dunstan Orchard, Todd Dominey; ISBN: 9780764588334
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional CSS: Cascading Style Sheets for Web Design section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old September 3rd, 2005, 03:07 PM
AGS AGS is offline
Wrox Technical Editor
 
Join Date: May 2005
Posts: 60
Thanks: 0
Thanked 0 Times in 0 Posts
Default Dealing with IE for Round-Cornered Boxes

I have a question concerning “Dealing with Internet Explorer” part of section “Creating Fixed-Width, Round-Cornered Boxes”. There is an example of .box h2 {…} selector which applies image with rounded corners to the top of our box. But when I tried to use the same technique for the bottom <p/> element (there is no such example in the book) my attempt failed. The border of the box just shifted up the number of pixels designated in margin-bottom (for example -24px as I am using 20px for padding and 4px for border) and the image is overlapped with background color. The CSS I am using is
Code:
#box p.last {
    background: url("i/bottom.gif") left bottom no-repeat;
    margin: 0px -24px -24px -24px;
    padding: 0px 20px 20px 20px;  
}
 The same code is working for Firefox just fine but my goal is Internet Explorer.
Best regards,
Alexei

__________________
Alexey Gorkov
 
Old August 31st, 2007, 06:30 AM
Registered User
 
Join Date: Oct 2006
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hey guys how to round bottom corner in IE?






Similar Threads
Thread Thread Starter Forum Replies Last Post
dealing with drop downs lisabb ASP.NET 2.0 Basics 5 May 28th, 2007 12:29 AM
dealing with CLASS IN NTIER drachx General .NET 1 October 12th, 2004 11:26 PM
Dealing with DBNull jaucourt VB.NET 2002/2003 Basics 3 January 16th, 2004 10:59 AM
SQL , List Boxes/Menu Boxes, DB's Ginzu3 Classic ASP Databases 1 June 30th, 2003 04:07 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.