| | |||||
| ||||||||
| Web Design Discussion Discussion of web design techniques, advice, browser issues, software, design firms. |
![]() | NamePros Design Contests | Forum Sponsorship |
| Join in on the FUN! You can start an affordable design contest and pick from entries talented members submit or you can enter a design contest for a chance to win CASH PRIZES! What are you waiting for? Get started in the fun TODAY! - Banners, Logos, Mascots, and MORE! (Please READ the design Contest section rules Prior to starting or entering a contest) | ||
![]() |
| | LinkBack | Thread Tools |
| | THREAD STARTER #1 (permalink) |
| New Member Join Date: Nov 2008
Posts: 15
![]() | |
| | |
| | #2 (permalink) |
| NamePros Regular Join Date: Oct 2006 Location: U.S.
Posts: 413
![]() ![]() ![]() | Give this a go: http://www.nowcss.com/layouts/css-fluid-layout-tutorial Should help ![]() Try: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> ????: NamePros.com http://www.namepros.com/showthread.php?t=564416 <title>Untitled Document</title> <style type="text/css"> #left { float:left; width:15%; } #right { float:right; width:15%; } #center { margin: 0 15% 0 15%; } #container { width: 90%; margin: 0 auto; background-color: white; } </style> </head> <body> <div id="container"> <div id="left"></div> <div id="right"></div> <div id="center"></div> </div> </body> </html> Your problem might be setting a width to #center. and the "sidebars" should be floated left and one right. The code I pasted works for me, hope it does for you
Last edited by FathomJH; 03-04-2009 at 02:29 PM.
|
| | |
| | THREAD STARTER #3 (permalink) |
| New Member Join Date: Nov 2008
Posts: 15
![]() | thanks a million, a friend told me about this site, and how the forum support was fast and good, and i agree, it was both. I tried the CSS code you gave me and it works perfectly, cant wait to run into more questions to ask! Thanks a lot! |
| | |