![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I have been trying to be a very good boy recently and learn to layout a website using CSS and layers. I have created a test page that pretty much seems to work. I have used a wrapper div with a background image so that the main body column and the right navigation column both "reach" to the bottom. The page is here: http://www.carrot.co.uk/css/css-test.htm In Opera and in Firefox it displays without problem however in IE7 the wrapper div with the background image comes down 20 or so pixels below the bottom banner, obviously it shouldn't come below the bottom banner at all. Any ideas on how to stop this would be greafully appreciated. PD |
#3
| |||
| |||
|
|
I have been trying to be a very good boy recently and learn to layout a website using CSS and layers. I have created a test page that pretty much seems to work. I have used a wrapper div with a background image so that the main body column and the right navigation column both "reach" to the bottom. The page is here: http://www.carrot.co.uk/css/css-test.htm In Opera and in Firefox it displays without problem however in IE7 the wrapper div with the background image comes down 20 or so pixels below the bottom banner, obviously it shouldn't come below the bottom banner at all. Any ideas on how to stop this would be greafully appreciated. PD |
#4
| |||
| |||
|
#5
| |||
| |||
|
#6
| |||
| |||
|
|
I am really struggling to understand when one would use IDs and when to use Classes. I have done loads of research on this and views differ significantly. |
#7
| |||
| |||
|
|
Michael, thank you for your response, my problem wasn't so much with the differences with the browsers but that I am an idiot and had a p> </p> before closing the wrapper tag. |
#8
| |||
| |||
|
|
On 02 Dec 2006 in macromedia.dreamweaver, Pilot Dave wrote: I am really struggling to understand when one would use IDs and when to use Classes. I have done loads of research on this and views differ significantly. Use IDs whenever you can, at the highest level you can. Use classes mainly for exceptions - for example, a table which has most of its cells aligned right, but you need one centered. #mywrapperdiv table { text-align : right ; } .centeralign { text-align : center ; } -- Joe Makowiec http://makowiec.net/ Email: http://makowiec.net/email.php |
![]() |
| Thread Tools | |
| Display Modes | |
| |