|
Posted by windandwaves on 07/17/07 04:03
On Jul 16, 11:46 pm, "rf" <r...@invalid.com> wrote:
> "windandwaves" <nfranc...@gmail.com> wrote in message
>
> news:1184584972.804056.100660@x35g2000prf.googlegroups.com...
>
> >> Screen size is irrelevant. Window size is. In any case you have fallen
> >> into
> >> the negative margin trap. Change the CSS very slightly and it would be
> >> usable even at 800x600, albeit with a horizontal scroll bar.
>
> > Hi Richard
>
> > How can I:
>
> > a. get the content to sit in the middle of the page if the page is
> > taller than the height of the content
>
> By "page" I assume you mean browser canvas area.
>
> Why would you want to?
Because it looks good - just like Bill Clinton became president of the
US because he talks "good" :-)
> Does your client want this? If so then your client
> needs some education on how a web page actually works. Do all of your leters
> home to your Mother sit in the very middle of your peice of paper? Nope. You
> start at the top and finish wherever you finish.
I am deliberately breaking conventions - for fun and because it looks
good.
>
> > b. get the page to sit at the top with a vertical scroll bar if the
> > content is taller than the height of the window
>
> This is the default browser behaviour.
>
> > I can do it like this:
>
> > <table><tr><td valign="middle" align="center">my content</td></tr></
> > table>
>
> > but I can not achieve exactly the same thing using css.
>
> > do you have any suggestions in this area?
>
> Consider that what you want is not part of the media you are writing to?
>
> HTML (and the CSS that style it) is about laying out stuff top to bottom,
> left to right
> , on a canvas, the canvas your viewer allows you to draw in.
> Nothing more. You are trying for the *more* and it won't happen easily.
No, i admit, it is bloody hard. I can tell you that the feedback from
"jo average" has been really good about the site. They love the way
it looks, so we do not want to loose that!
>
> --
> Richard.
Navigation:
[Reply to this message]
|