This is a discussion on "Help with CSS Layout" within the Web Page Design section. This forum, and the thread "Help with CSS Layout are both part of the Design Your Website category.
|
|
|
|
|
![]() |
||
Help with CSS Layout
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
Help with CSS Layout
I have some nested divs:
How can i make it work in Firefox? |
|
|
|
|||
|
|
|
|||
|
put something that 'clears' both the floats at the very bottom the DIV#main like:
|
|
|||
|
Here's somthing to think about:
where you have
Where two values are given, it applies the first value to top and bottom, and the second value to left and right. ex. padding: 20px 50px; Where three values are given, it applies the first value to the top, the second value to left and right, and the third value to the bottom. ex. padding: 20px 10px 50px; Where four values are given, it applies the first value to the top, the second value to the right, the third value to the bottom and the fourth value to the left; ex. padding: 20px 50px 30px 10px; this is the same for margin too. |
|
|||
|
Still doesn't work...
About the margins and padding, i know there is a shorthand version, but i never remember which side is which in the series of numbers... :P Thanks for the tip. |
|
|||
|
Oh wait i found it...
The .clear div has to contain some data in order to be applied... i think
|
![]() |
| Tags |
| help, css, layout |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| CSS layout | casho | Web Page Design | 4 | Feb 10th, 2008 13:59 |
| Layout using CSS | Madball | Web Page Design | 5 | Nov 7th, 2007 09:41 |
| New to CSS Layout | tapster | Web Page Design | 15 | Oct 15th, 2007 10:18 |
| Fluid layout - IE6 clichés the layout when resizing | cyberseed | Web Page Design | 7 | Jun 16th, 2007 05:14 |
| What makes a layout a good layout? | Miles Lombardi | Graphics and 3D | 4 | Jul 26th, 2005 03:22 |