![]() | |
![]() |
| | Thread Tools | Display Modes |
#11
| |||
| |||
|
|
In article <Xns9C62AEDBD3551arbpenyahoocom (AT) 188 (DOT) 40.43.213>, Adrienne Boswell <arbpen (AT) yahoo (DOT) com> wrote: What blew me away was that Mac REALLY didn't want me to do what I wanted to do, it wanted to do what it THOUGHT I wanted to do. No thank you to the Mac And an example of this would be? |
#12
| ||||
| ||||
|
|
In article <zb2dncePAeCtZePXnZ2dnUVZ_u2dnZ2d (AT) giganews (DOT) com>, maya <maya778899 (AT) yahoo (DOT) com> wrote: hi, how can I get sidebar here to extend to the bottom?? (i.e., to have same height as main div to the left?) http://www.mayacove.com/layouts/layout.html (markup and CSS here validate in W3C validator) You would need to reorganise a few things and it would probably not be worth trying to hang on to *this particular look* (but with the right float *seeming to be* extended down). What you have here is highlighting in every possible way the fact that divs only have as much height as their content makes them. To give an impression of a column extending, you make life easier if you dispense with borders. In your particular case, where the content is clearly taller than the sidebar, one simple way of giving the impression of the sidebar extending is to give it the same colour as the container for it and #main. |

|
For example, to change your HTML only the very slightest bit, get the footer outside #wrapper and look at: body {margin:10px;} #wrapper { margin:auto; max-width:1000px; border:10px solid #eee; background: #ffc; padding:10px; } #wrapperInner { max-width: 980px; padding:10px; background-color:#eee; } #main { border-right:1px solid #999; margin-right:240px; padding:10px; background:#eee; } #sidebar { float:right; width:200px; padding:10px; } #footer { clear:both; background: #eee; margin:0; text-align:center; } Though you may not appreciate me saying this, I think it wholly not worth it to have the complication of an inner and outer wrapper and the fiddly bordery look. |

|
Frankly, I would not blame anyone for using tables if they really want all singing all dancing columns, I am not a big fan of the desire for them, as you might guess. For example, in above, I would drop the oute wrapper altogether and make the background of the inner one pale yellow, and go for a simpler look altogether... |

|
telling you to do anything. Nik Coughlin has good stuff on this if you really want general and adaptable. http://www.nrkn.com/3ColEqualPositioned/ I have bits and pieces on pages 11 and 12 of http://netweaver.com.au/floatHouse/ |
but of course it can be
#13
| |||
| |||
|
|
In article <Xns9C62AEDBD3551arbpenyahoocom (AT) 188 (DOT) 40.43.213>, Adrienne Boswell <arbpen (AT) yahoo (DOT) com> wrote: What blew me away was that Mac REALLY didn't want me to do what I wanted to do, it wanted to do what it THOUGHT I wanted to do. No thank you to the Mac And an example of this would be? |
#14
| |||
| |||
|
|
this I found somewhat interesting.. I mean this pg, http://netweaver.com.au/floatHouse/page11.php in these examples the "columns" are paragraphs.. I can imagine all the issues that raises (when you need a whole sidebar with lots of content I don't think it can be just a paragraph.... but of course it can beuseful in some other situations.... |
#15
| |||
| |||
|
|
dorayme wrote: In article <Xns9C62AEDBD3551arbpenyahoocom (AT) 188 (DOT) 40.43.213>, Adrienne Boswell <arbpen (AT) yahoo (DOT) com> wrote: What blew me away was that Mac REALLY didn't want me to do what I wanted to do, it wanted to do what it THOUGHT I wanted to do. No thank you to the Mac And an example of this would be? Getting the cursor any where near the desktop sides and windows scurry away like roaches after the lights go on... Now I am sure (hope) this is a user preference setting...but it wasn't my laptop. |
#16
| |||
| |||
|
|
In article <P9CdnULdiO5EzR3XnZ2dnUVZ_t-dnZ2d (AT) giganews (DOT) com>, maya <maya778899 (AT) yahoo (DOT) com> wrote: this I found somewhat interesting.. I mean this pg, http://netweaver.com.au/floatHouse/page11.php in these examples the "columns" are paragraphs.. I can imagine all the issues that raises (when you need a whole sidebar with lots of content I don't think it can be just a paragraph.... but of course it can beuseful in some other situations.... Don't let this put you off. If you really do know that one column is going to always be longer than another (and we often simply do!), the general technique is quite an attractive option. The column was a P in that particular case - I have a bad tendency to simplicity in favour of generality! <g> - but surely it could as easily have been a DIV with Ps inside it, these Ps having default transparent backgrounds showing the DIV's background colour. For example, instead of what I had, I could as easily have had: div style="float:right; width: 200px; border-left: 1px solid #000; background: #cfc; margin: 0; padding: .3em;" |
#17
| |||
| |||
|
|
dorayme wrote: In article <P9CdnULdiO5EzR3XnZ2dnUVZ_t-dnZ2d (AT) giganews (DOT) com>, maya <maya778899 (AT) yahoo (DOT) com> wrote: this I found somewhat interesting.. I mean this pg, http://netweaver.com.au/floatHouse/page11.php in these examples the "columns" are paragraphs.. I can imagine all the issues that raises (when you need a whole sidebar with lots of content I don't think it can be just a paragraph.... but of course it can beuseful in some other situations.... Don't let this put you off. If you really do know that one column is going to always be longer than another (and we often simply do!), the general technique is quite an attractive option. The column was a P in that particular case - I have a bad tendency to simplicity in favour of generality! <g> - but surely it could as easily have been a DIV with Ps inside it, these Ps having default transparent backgrounds showing the DIV's background colour. For example, instead of what I had, I could as easily have had: div style="float:right; width: 200px; border-left: 1px solid #000; background: #cfc; margin: 0; padding: .3em;" oh brother, I would have liked to see an example w/divs.. I guess I can adapt it myself.. because you know, I'm thinking of situations like this, http://www.mayacove.com/dev/sitepoint/ch9/index_mine.html, you see how the left sidebar is shorter than the rest?? and look how much content it has.. |
#18
| |||
| |||
|
|
what I don't understand about it is how this code affects the height of the divs.. (and if not, what is it for??) !--[if IE 5] style body {text-align: center;} #wrapper {text-align: left;} #sidebar {width: 182px;} #maincontent {width: 570px;} /style ![endif]-- !--[if lte IE 6] style type="text/css" #navbar a {height: 1em;} /style ![endif]-- (I removed it and, in the two browsers I have, IE6 and FF 3.0.5, it looked and behaved exactly the same... also if I removed ONLY the part for IE6, still it worked the same in IE6.. ) |
#19
| |||
| |||
|
|
In article <h5ps90$8lq$1 (AT) news (DOT) eternal-september.org>, "Jonathan N. Little" <lws4art (AT) centralva (DOT) net> wrote: dorayme wrote: In article <Xns9C62AEDBD3551arbpenyahoocom (AT) 188 (DOT) 40.43.213>, Adrienne Boswell <arbpen (AT) yahoo (DOT) com> wrote: What blew me away was that Mac REALLY didn't want me to do what I wanted to do, it wanted to do what it THOUGHT I wanted to do. No thank you to the Mac And an example of this would be? Getting the cursor any where near the desktop sides and windows scurry away like roaches after the lights go on... Now I am sure (hope) this is a user preference setting...but it wasn't my laptop. Jonathan! We have been through this issue before when you last defamed Macs! <g> Yes, it is a user option. I turn off all animation and fancy. It is the plainest of plain. The only fancy I have on is to have the dock (the minimize bar) appear when my mouse goes to the bottom of the screen. Most people seem to hate this but it is cleaner and neater use of screen space. |
#20
| |||
| |||
|
|
In article <doraymeRidThis-5A72D9.08492311082009 (AT) news (DOT) albasani.net>, dorayme <doraymeRidThis (AT) optusnet (DOT) com.au> wrote: In article <h5ps90$8lq$1 (AT) news (DOT) eternal-september.org>, "Jonathan N. Little" <lws4art (AT) centralva (DOT) net> wrote: Getting the cursor any where near the desktop sides and windows scurry away like roaches after the lights go on... Now I am sure (hope) this is a user preference setting...but it wasn't my laptop. Jonathan! We have been through this issue before when you last defamed Macs! <g> Yes, it is a user option. ... Sounds like the user has Exposé hot spots set. |
|
If in 10.5.7, System Preferences -> Exposé and Spaces -> Exposé, and tweak accordingly. Exposé can actually be extremely useful, but I prefer to have it activated from the keyboard or mouse buttons in order to avoid exactly the situation AB describes. |
![]() |
| Thread Tools | |
| Display Modes | |
| |