Posted by Leonard Blaisdell on 08/26/05 02:20
In article <MyrPe.3658$x43.1486452@twister.nyc.rr.com>,
"ppcguy" <goahead@hehe.com> wrote:
> i've got a page that's very wide - e.g. 2000px.
URL? If your page is only viewed at 2000px or wider without showing a
horizontal scrollbar, you are certainly making it inconvienient to most
people on the web today.
> i'd like to display some text that's centered on the browser window -
> not the entire logical page.
>
> so if the browser client window is 800 px wide, i'd like to center
> the text across the first 800.
And then have them scroll for the next 1200px horizontally to see the
rest?
> how can this be done - assuming css adapts to changing widths
CSS is all about adapting to changing viewport widths.
<http://www.allmyfaqs.com/faq.pl?AnySizeDesign> may help you.
I have not addressed your original question since I have experience
centering text from little to big but not from big to little with a
2000px width 'required'. Perhaps I misunderstand what a logical page is.
leo
--
<http://web0.greatbasin.net/~leo/
[Back to original message]
|