![]() | |
![]() |
| | Thread Tools | Display Modes |
#11
| |||
| |||
|
|
John Hosking wrote: Or no absolute positioning (that I have detected) as at http://matthewjamestaylor.com/blog/perfect-3-column.htm again, thank you.. examples here http://www.manisheriar.com/holygrail/index.htm are a bit confusing, he doesn't include all code.. he includes an image representation of the layout but not all the code... I copied all the css (the css closest to the bottom of the page) and created the HTML, but I can't get it to work.. I wish he would include a full example so we can just grab the code by doing view src code... (how can all the divs be width:100% when there supposed to be side-by-side??) |
|
(I take back what I said earlier, he does mention this issue ("Full length column background colours") here, http://matthewjamestaylor.com/blog/perfect-3-column.htm, but well, still would like to see a full working example, with all HTML and CSS code..) |
#12
| |||
| |||
|
|
maya wrote: John Hosking wrote: Or no absolute positioning (that I have detected) as at http://matthewjamestaylor.com/blog/perfect-3-column.htm again, thank you.. examples here http://www.manisheriar.com/holygrail/index.htm are a bit confusing, he doesn't include all code.. he includes an image representation of the layout but not all the code... I copied all the css (the css closest to the bottom of the page) and created the HTML, but I can't get it to work.. I wish he would include a full example so we can just grab the code by doing view src code... (how can all the divs be width:100% when there supposed to be side-by-side??) Width:100% refers to 100% of its container. The container isn't necessarily the viewport. (I take back what I said earlier, he does mention this issue ("Full length column background colours") here, http://matthewjamestaylor.com/blog/perfect-3-column.htm, but well, still would like to see a full working example, with all HTML and CSS code..) I'm pretty sure http://matthewjamestaylor.com/blog/perfect-3-column.htm *IS* a full working example. With code. View source to see it. (Or were you only talking about http://www.manisheriar.com/holygrail/index.htm> ? In that case, I believe <http://www.manisheriar.com/holygrail/index.htm> to be a full working example. View source to see the code.) |

#13
| |||
| |||
|
|
John Hosking wrote: Ben C wrote: On 2009-06-17, John Hosking wrote: maya wrote: how can I do this so bg colors for divs with paragraphs cover ENTIRE area of div and not just the content in the div? (like div on the right..) http://www.mayacove.com/dev/layout.html I don't understand your question. You've *got* BG colors for each full div. I don't see the difference between the gray, right sidebar and any of the other divs (except, of course, the colors). I think he wants the backgrounds to extend all the way down to the blue footer. Ah, that's very different. (And speaking of different, I think OP's a she.) In other words, this is another quest for the "Holy Grail"... I recommend in approximate order of preference: 1. Stop wanting it 2. Just use a table 3. Use absolute positioning along these lines: http://www.nrkn.com/3ColEqualPositioned/ Or no absolute positioning (that I have detected) as at http://matthewjamestaylor.com/blog/perfect-3-column.htm again, thank you.. examples here http://www.manisheriar.com/holygrail/index.htm are a bit confusing, he doesn't include all code.. he includes an image representation of the layout but not all the code... I copied all the css (the css closest to the bottom of the page) and created the HTML, but I can't get it to work.. I wish he would include a full example so we can just grab the code by doing view src code... (how can all the divs be width:100% when there supposed to be side-by-side??) (I take back what I said earlier, he does mention this issue ("Full length column background colours") here, http://matthewjamestaylor.com/blog/perfect-3-column.htm, but well, still would like to see a full working example, with all HTML and CSS code..) also found this.. http://www.manisheriar.com/holygrail/index.htm however: I copied all HTML and CSS code, but for some reason it's not working for me as expected: http://www.mayacove.com/dev/holy-grail.html I did not change a thing in the HTML or CSS code, yet for me the bg-colors for the divs are not working.. also here, http://www.nrkn.com/3ColEqualPositioned/, that I found after running google search Jeff suggested, but he uses browser-conditionals.. not sure I can use that in my project.. oh brother.. this would be SO MUCH SIMPLER WITH TABLES, sorry, I still don't get everyone's irrational fear and loathing of tables.... ![]() mainly don't get why this http://www.manisheriar.com/holygrail/index.htm is not working for me... (http://www.mayacove.com/dev/holy-grail.html) thank you very much.. |
he uses imgs for bgs for the divs with less content (one
#14
| |||
| |||
|
|
other one, http://matthewjamestaylor.com/blog/perfect-3-column.htm, I don't see any divs with background-colors and content of different lengths here... |
|
(the two layouts you see on this page are not "real" layouts, they are IMAGES...) |
no mention on where code is for these layouts.....![]() |
#15
| |||
| |||
|
|
Ben C wrote: [...] 3. Use absolute positioning along these lines: http://www.nrkn.com/3ColEqualPositioned/ exactly right, you got it.. for each div of three divs across, I need the bg color to fill ENTIRE area, not just the text.... this is for a very specific request, they don't want tables, and they want for each of the three divs that the bg color extend to the whole area of the div.. oh brother.. (how will abs positioning fix the div bg-color issue??) |
#16
| |||
| |||
|
|
John Hosking wrote: Ben C wrote: [...] I recommend in approximate order of preference: 1. Stop wanting it 2. Just use a table 3. Use absolute positioning along these lines: http://www.nrkn.com/3ColEqualPositioned/ [...] also here, http://www.nrkn.com/3ColEqualPositioned/, that I found after running google search Jeff suggested, |
|
but he uses browser-conditionals.. not sure I can use that in my project.. oh brother.. this would be SO MUCH SIMPLER WITH TABLES, sorry, I still don't get everyone's irrational fear and loathing of tables.... ![]() |
|
mainly don't get why this http://www.manisheriar.com/holygrail/index.htm is not working for me... (http://www.mayacove.com/dev/holy-grail.html) thank you very much.. |
#17
| |||
| |||
|
|
also here, http://www.nrkn.com/3ColEqualPositioned/, that I found after running google search Jeff suggested, but he uses browser-conditionals.. not sure I can use that in my project.. |
#18
| |||
| |||
|
|
"maya" <maya778899 (AT) yahoo (DOT) com> wrote in message news:Cq6dnUbIWJEJ4qTXnZ2dnUVZ_tydnZ2d (AT) giganews (DOT) com... also here, http://www.nrkn.com/3ColEqualPositioned/, that I found after running google search Jeff suggested, but he uses browser-conditionals.. not sure I can use that in my project.. You can't do it unless you use browser-conditionals, JavaScript or tables |
#19
| |||
| |||
|
|
Nik Coughlin wrote: "maya" <maya778899 (AT) yahoo (DOT) com> wrote in message news:Cq6dnUbIWJEJ4qTXnZ2dnUVZ_tydnZ2d (AT) giganews (DOT) com... also here, http://www.nrkn.com/3ColEqualPositioned/, that I found after running google search Jeff suggested, but he uses browser-conditionals.. not sure I can use that in my project.. You can't do it unless you use browser-conditionals, JavaScript or tables Dorayme has some tricks if you know one column is going to be the longest, that are very easy. Usually the main oolumn is and you can set min-height for short content pages. I almost always use js as all I have to do is name the equal height columns with equal in a classname. But I don't care if there is a short column in a js off browser. I don't see the issue with conditionals though as it usually only affects IE and is considered kosher by IE. There's lots of things, like flash embeds, or ajax calls, where the IE method is different. They aren't hacks, it's just IEs way of being different. I'm done with tables, except for forms and data. Much happier! Jeff |



obviously
#20
| |||
| |||
|
|
Jeff wrote: Nik Coughlin wrote: "maya" <maya778899 (AT) yahoo (DOT) com> wrote in message news:Cq6dnUbIWJEJ4qTXnZ2dnUVZ_tydnZ2d (AT) giganews (DOT) com... also here, http://www.nrkn.com/3ColEqualPositioned/, that I found after running google search Jeff suggested, but he uses browser-conditionals.. not sure I can use that in my project.. You can't do it unless you use browser-conditionals, JavaScript or tables Dorayme has some tricks if you know one column is going to be the longest, that are very easy. Usually the main oolumn is and you can set min-height for short content pages. I almost always use js as all I have to do is name the equal height columns with equal in a classname. But I don't care if there is a short column in a js off browser. I don't see the issue with conditionals though as it usually only affects IE and is considered kosher by IE. There's lots of things, like flash embeds, or ajax calls, where the IE method is different. They aren't hacks, it's just IEs way of being different. I'm done with tables, except for forms and data. Much happier! Jeff actually with img-bg's it also doesn't work for me.. http://www.mayacove.com/dev/layout.html (did the same way as here, http://www.manisheriar.com/holygrail/index.htm CONFESSION: this was actually for a test for a job.... ![]() (oh....... you must be thinking, NOW I know why requirement is so unreasonable... ![]() here is "assignment" and "mockup" they sent: http://www.mayacove.com/dev/assignment.html in case you're curious.. I think they just wanted XHTML and CSS code, that's it, no imgs, no JavaScript.. (however, as you will note if you check out the assignment, there is also a requirement to chg bg-color for the links on mouseover (but: for the divs CONTAINING the links, not merely the links.. this would have to be done w/JavaScript, since IE 6 doesn't support :hover for divs.. (and: <a>'s aren't block elements, you can't set width and height for them, I tried with padding and line-height and stuff for the <a>'s, but that's not too reliable cross-browser-wise... oh brother..) I agree with respondents here who say you can't do w/o tables and/or JS.. I'm all for div-based layouts, I think they're more elegant, all that jazz.. but I don't get trying to fit a square into a circle... ![]() so: pondering what/how I should respond to these folks.... obviouslythey demanded the impossible here, as a way to gauge reactions, approaches, etc.. I suppose.. in this job market I suppose employers can afford to be unreasonable and mess with folks' minds.... any comments???? thank you again to everyone for your responses.. |
![]() |
| Thread Tools | |
| Display Modes | |
| |