|
Posted by dorayme on 10/17/06 01:51
In article <f5SdnYCaNvx4rqnYnZ2dnUVZ_sWdnZ2d@comcast.com>,
"Yogi_Bear_79" <nospam@spamsux.com> wrote:
> "Ed Jay" <edMbj@aes-intl.com> wrote in message
> news:hrnoi29geg3b9ctbve7p96t95mde4jffb6@4ax.com...
> > Yogi_Bear_79 scribed:
> >
> >>I've played with "liquid design" and have decided for this site, the best
> >>solution would be to build on a 800x600 basis. Basically what I want is to
> >>have the page be full on a 800x600 screen, and have blank space on the
> >>right
> >>or left when at a higher resolution.
> >>
> >>My site is built using <DIV> tags getting their information from the CSS
> >>file. Originally I made blank left and right columns, but they obviously
> >>resize with the screen resolution.
> >>
> >>How do I get the site to only utilize the section of the screen I
> >>indicated
> >>in the first paragraph?
> >>
> > Begin with a div that's 800px wide less the width of scroll bars if you
> > need
> > to.
> > --
> > Ed Jay (remove 'M' to respond by email)
>
> Not sure why I can't figure this one out. I entered the following in my CSS
>
> #MainBody{
> position:absolute;
> width:800px;
> height:600px;
> }
>
> Opened it in the HTML like so
> <body>
> <div id="MainBody" align="center">
> ....
> </div>
> </body>
You don't need to use absolute positioning. Given your desires,
just a div 800px wide, make it 750px and see if you like it
etc... If you want to centre the div, do so, that is an
independent variable.
--
dorayme
Navigation:
[Reply to this message]
|