|
Posted by Yogi_Bear_79 on 10/17/06 02:47
"dorayme" <doraymeRidThis@optusnet.com.au> wrote in message
news:doraymeRidThis-AC4107.12142617102006@news-vip.optusnet.com.au...
> In article <OoWdnSSkZe-UpKnYnZ2dnUVZ_t-dnZ2d@comcast.com>,
> "Yogi_Bear_79" <nospam@spamsux.com> wrote:
>
>> > 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?
>
>
> No, don't centre things with align.
>
> With the div fixed at 800px, say:
>
> #MainBody {
>
> width:800px;
> margin-left:auto;
> margin-right:auto;
> }
>
> Have you got a url or maybe I missed it? Have no idea what you
> have with the other divs?
>
> --
> dorayme
Tried that different results, but not right..here's the test URL
http://314rcsspouses.homedns.org/hollywoodoil/index.shtml
Navigation:
[Reply to this message]
|