Wrox Programmer Forums
|
BOOK: Beginning CSS: Cascading Style Sheets for Web Design ISBN: 978-0-7645-7642-3
This is the forum to discuss the Wrox book Beginning CSS: Cascading Style Sheets for Web Design by Richard York; ISBN: 9780764576423
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning CSS: Cascading Style Sheets for Web Design ISBN: 978-0-7645-7642-3 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 March 6th, 2006, 03:02 PM
Authorized User
 
Join Date: Jan 2006
Posts: 58
Thanks: 0
Thanked 0 Times in 0 Posts
Default Resetting DIVs based on stacking order

If I place a left column div as a float for example and specify its width at say 200px. Then if I add another "main"DIV as relatively positioned the 2 divs line up with one another correctly. When changing the width of the left column to 150px the "main" div stays at it's original position and does not adjust to fill up the space that the left column is no longer using. Was wondering how i'd get the "main" div to gain the left over space? in this case 50px. Thanks

 
Old March 6th, 2006, 03:32 PM
Authorized User
 
Join Date: Jan 2006
Posts: 58
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Nevermind i was setting the margin in the wrong wrapper> Doh!!!






Similar Threads
Thread Thread Starter Forum Replies Last Post
Order by based on two columns, each in two tables? LockesRabb PHP Databases 2 December 17th, 2006 12:19 PM
Order by based on two columns, each in two tables? LockesRabb SQL Language 4 December 14th, 2006 02:42 AM
divs inside divs: theory? Giant_robot_sandwich CSS Cascading Style Sheets 11 September 13th, 2006 03:56 PM
Stacking order keithc BOOK: Beginning CSS: Cascading Style Sheets for Web Design ISBN: 978-0-7645-7642-3 2 February 26th, 2006 01:08 PM
stacking order with an iframe andyf HTML Code Clinic 1 November 27th, 2003 07:54 AM





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