![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
pls look @ this pg, http://www.mayacove.com/design/divs.html in IE and FF.. in IE it looks fine, but in FF the main div (centered, 800px wide, blue background; in reality the bg will be white..) won't display all the way down... (I tried height:100% for it but it still only went as high as the browser window..) only reason am having this problem is that I want to do a background-image BEHIND the main div.. but it's not cooperating... ![]() in FF the footer also appears in wrong place.. have spent a long time on this..... am almost ready to switch to table-based layout.. it would make this so much simpler.... ![]() (this is for a blog, though, and for blogs layouts are always done in divs..) |
#3
| |||
| |||
|
|
In article <ffetbd$b9e$1 (AT) aioe (DOT) org>, maya <maya778899 (AT) yahoo (DOT) com wrote: pls look @ this pg, http://www.mayacove.com/design/divs.html in IE and FF.. in IE it looks fine, but in FF the main div (centered, 800px wide, blue background; in reality the bg will be white..) won't display all the way down... (I tried height:100% for it but it still only went as high as the browser window..) only reason am having this problem is that I want to do a background-image BEHIND the main div.. but it's not cooperating... ![]() in FF the footer also appears in wrong place.. have spent a long time on this..... am almost ready to switch to table-based layout.. it would make this so much simpler.... ![]() (this is for a blog, though, and for blogs layouts are always done in divs..) In cases like this, it is best to start with valid html. Would you mind reproducing this with the bare minimum code and styles that display the problem you have, starting with valid code with a proper doctype? |

#4
| |||
| |||
|
|
pls look @ this pg, http://www.mayacove.com/design/divs.html in IE and FF.. in IE it looks fine, but in FF the main div (centered, 800px wide, blue background; in reality the bg will be white..) won't display all the way down... (I tried height:100% for it but it still only went as high as the browser window..) |
|
only reason am having this problem is that I want to do a background-image BEHIND the main div.. but it's not cooperating... ![]() in FF the footer also appears in wrong place.. have spent a long time on this..... am almost ready to switch to table-based layout.. it would make this so much simpler.... ![]() |
|
(this is for a blog, though, and for blogs layouts are always done in divs..) |
#5
| |||
| |||
|
|
dorayme wrote: In article <ffetbd$b9e$1 (AT) aioe (DOT) org>, maya <maya778899 (AT) yahoo (DOT) com wrote: pls look @ this pg, http://www.mayacove.com/design/divs.html in IE and FF.. in IE it looks fine, but in FF the main div (centered, 800px wide, blue background; in reality the bg will be white..) won't display all the way down... (I tried height:100% for it but it still only went as high as the browser window..) only reason am having this problem is that I want to do a background-image BEHIND the main div.. but it's not cooperating... ![]() in FF the footer also appears in wrong place.. have spent a long time on this..... am almost ready to switch to table-based layout.. it would make this so much simpler.... ![]() (this is for a blog, though, and for blogs layouts are always done in divs..) In cases like this, it is best to start with valid html. Would you mind reproducing this with the bare minimum code and styles that display the problem you have, starting with valid code with a proper doctype? ok, the page validates now... ![]() http://validator.w3.org/check?uri=ht...design%2 Fdiv s.html&charset=%28detect+automatically%29&doctype= Inline&ss=1&group=0 (and took out unnecessary css..) |
#6
| |||
| |||
|
#7
| |||
| |||
|
|
In article doraymeRidThis-F7D288.19255621102007...ptusnet.com.au>, dorayme <doraymeRidThis (AT) optusnet (DOT) com.au> wrote: In my last, I should have typed the > after "both;" to read: div style="clear:both;></div |
#8
| |||
| |||
|
|
In article doraymeRidThis-79990B.19353521102007...ptusnet.com.au>, dorayme <doraymeRidThis (AT) optusnet (DOT) com.au> wrote: In article doraymeRidThis-F7D288.19255621102007...ptusnet.com.au>, dorayme <doraymeRidThis (AT) optusnet (DOT) com.au> wrote: In my last, I should have typed the > after "both;" to read: div style="clear:both;></div o shit... div style="clear:both;"></div |
#9
| |||
| |||
|
|
"maya" <maya778899 (AT) yahoo (DOT) com> wrote pls look @ this pg, http://www.mayacove.com/design/divs.html in IE and FF.. in IE it looks fine, but in FF the main div (centered, 800px wide, blue background; in reality the bg will be white..) won't display all the way down... (I tried height:100% for it but it still only went as high as the browser window..) In this case (as usual) IE is getting it wrong. You have specified height: 600px for that div with the white background. That is what FF is giving you. 600 pixels, just like you said. |
even in FF...
I don't|
If you do not want the content of that div to escape out of the bottom of the div then do not give that div any height. And why 600 pixels. Are you trying to anticipate the height of my browser canvas? Well, you have got it totally wrong :-) only reason am having this problem is that I want to do a background-image BEHIND the main div.. but it's not cooperating... ![]() in FF the footer also appears in wrong place.. have spent a long time on this..... am almost ready to switch to table-based layout.. it would make this so much simpler.... ![]() You could start by omiting most of your positioning stuff. Why do you float the content div. Why do you give it a width in pixels. That in itself causes me to suddenly lose interest. (this is for a blog, though, and for blogs layouts are always done in divs..) Is that right? :-) |
#10
| |||
| |||
|
my gosh, this is working now.... even in FF...http://www.mayacove.com/design/divs.html |
![]() |
| Thread Tools | |
| Display Modes | |
| |