eskimo42
17 May 2006, 09:53 PM
Say I have a table or a div. What I need to know is how would i make it be the exact width of the browser window so that there is no scroll bar but it completley extends from left to right? Thanks
shawnjgoff
17 May 2006, 10:57 PM
if the div is a child of body, then apply to it the style width: 100%. If it is not a child of body (but rather a grandchild or further descendant), then make sure it's parent (and so on, up the line) is also width: 100%. You may also want to set its padding and margin to 0.
Powered by vBulletin® Version 4.2.0 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.