Here is the layout I would like to use for the index page for Bella and Chain. Nice and clean, right? To the left of the leftward bike chain will be the links to the chapters. To the right of the rightward chain will be a description of the project. Between, the current chapter.
As I understand things, to make the page readable by the most people possible, the three areas of the page should be set in percentages relative to the width of the browser area the reader is using. I almost understand how to do that using the css block things. I'm getting there.
But see what's happening at the top of the page? I want that wheel to overlap with the chain just like that. So far I think that the chain is a separate image from the wheel and title, so that the chain can repeat-y down the page. But I want the wheel to be in that position relative to the chain no matter what the width of the screen is. If I set the chain at 20% from the left, and I set the wheel at 5% from the left, and the screen gets wider, the wheel moves to the left relative to the chain: if the screen gets narrower, the wheel moves to the right relative to the chain. Can I anchor the wheel image to the chain instead of relating it to the box or the screen?
Alternately, if I set the side bits to absolute measures, and anchored the chains and the wheel to some number of pixels or ems from the left (and from the right for the rightward chain), would the center box with the current chapter still accomodate different sized browsers?
As I understand things, to make the page readable by the most people possible, the three areas of the page should be set in percentages relative to the width of the browser area the reader is using. I almost understand how to do that using the css block things. I'm getting there.
But see what's happening at the top of the page? I want that wheel to overlap with the chain just like that. So far I think that the chain is a separate image from the wheel and title, so that the chain can repeat-y down the page. But I want the wheel to be in that position relative to the chain no matter what the width of the screen is. If I set the chain at 20% from the left, and I set the wheel at 5% from the left, and the screen gets wider, the wheel moves to the left relative to the chain: if the screen gets narrower, the wheel moves to the right relative to the chain. Can I anchor the wheel image to the chain instead of relating it to the box or the screen?
Alternately, if I set the side bits to absolute measures, and anchored the chains and the wheel to some number of pixels or ems from the left (and from the right for the rightward chain), would the center box with the current chapter still accomodate different sized browsers?
Tags:
no subject
Thoughts about the actual question to follow in a subsequent comment.
no subject
I'm terribly confused.
no subject
no subject
This is why I lament the loss of underlines under links in modern css-based styles, even though it does look typographically prettier without them.
no subject
This posting in real time is funny.
no subject
What I find interesting about the back-and-forth in something like real time is the way that it changes my perceptions of the conversation; I suddenly have this mental image of you at your keyboard also typing, and I feel like I'm interacting with you personally, much more so than usual when the feeling is much more one of interacting with the words by themselves.
no subject
no subject
I'd be tempted to suggest setting at least the left-hand column to a fixed pixel width -- for one thing, it can't get much narrower than it is without having the wheel go off-screen, and much wider will be a bit excessively wide. So that will handle the wheel-positioning issue.
The issue with the center box accomodating different-sized is, I think, whether or not the fixed-width things will look too small on really wide windows, without being so wide as to leave no room for the middle on a really narrow window. At about 100-200 pixels for the left bar, you should be fine. A 640-pixel-wide window really isn't wide enough for both a right-side and a left-side bar, in my opinion, so it's fine to specify that the minimum page width [1] is 780 pixels (that leaves a little room for window-edge stuff on a 800-pixel-wide screen), and let people with smaller windows do horizontal scrolling -- in fact, on a page with long text in the middle and a small screen, I'd prefer something like that, so that I can set the horizontal scrollbar to the middle and then read with the text fairly wide across the screen without the sidebars taking up on-screen space.
[1] You can do minimum page widths in css, yes? Or, if not, minimum widths for a box that's specified proportionally? (If the latter, you can do minimum for the middle and fixed or minimum for the sides, and it adds up to a page minimum....)
no subject
I have to finish Afterwar before this project goes live, but I can't help messing around with it, and when I do start it, I want to be way ahead of myself so I won't fall behind until later.
no subject
The whole space inside the box seems to be one link; which apart from anything else is interfering with my seeing which images are separate bits.
At a very general level, the way to control stacking of two blocks (images or whatever) is to put them inside the same container block. The container has to have non-default positioning (relative, with no offset, works without actually moving anything).
no subject
If I understand you right, you're saying that I should probably have a container block that contains all that will be on the page. But does that solve the problem of the moving image? It sems to me that the problem remains the same.
no subject
I see you're not actually stacking pictures, in the sense I meant, so that technique probably won't help much, you're right.
You can probably do it by positioning *outside the block* and relative to the right edge, though; if there's say a div leftnav with relative positioning, and then an img within that, positioning it at -30px, 0 should put it in a consistent position relative to the left boundary of leftnav.
Or you might find it made things work more easily for the left bar to be fixed-width; I've ended up with that solution on most of my sites. Then it's easy to position things on its border.
no subject