|
Posted by Yogi_Bear_79 on 10/17/06 01:57
"dorayme" <doraymeRidThis@optusnet.com.au> wrote in message
news:doraymeRidThis-38F7BA.11515617102006@news-vip.optusnet.com.au...
> 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
Ok, I changed it to
MainBody{
align:center;
width:800px;
}
Opened it in the HTML like so
<body>
<div id="MainBody">
</div>
</body>
The only item that appears to be affected is the header DIV which moved over
to the right , but isn't limited to 800px. I am calling multiple <DIV> tags
within the <div id="MainBody">. They are all sized by percentage, they are
also using absolute positioning, could one they be the problem?
[Back to original message]
|