[pmwiki-users] CSS Div Positioning Help
DaveG
pmwiki at solidgone.com
Mon Jan 2 13:51:31 CST 2006
Well, if I include *any* text in the page before the news div (ie, after
the title) then everything looks exactly right. So for now I have a
up on the first line. No idea why that works though.
DaveG wrote:
> That did resolve the main div problem, thanks. For some reason the news
> div still doesn't get near the right margin in IE. Firefox is good
> though. Any suggestion for moving that new div to the right?
>
> .news {
> background:#f7EFE7;
> float:right;
> width: 20%;
> border:1px solid #800000;
> margin: 6px 0px 30px 0px;
> padding:5px 5px 5px 5px;
> }
>
> Oh, and feel free to chnge that page -- it's a test page. I broke the
> Preview somehow by writing a url rewrite script in PHP, and haven't got
> round to fixing it yet.
>
> ~ ~ Dave
>
> Hans wrote:
>
>> PS: instead of giving the subsequent div a width it may be better to
>> give it a right margin: style='margin-right:250px'
>> That way space is reserved for the floating news div, and you won't
>> run into problem when the window gets resized.
>>
>>
>> Best, ~Hans
>>
>>
>> _______________________________________________
>> pmwiki-users mailing list
>> pmwiki-users at pmichaud.com
>> http://host.pmichaud.com/mailman/listinfo/pmwiki-users
>>
>
> _______________________________________________
> pmwiki-users mailing list
> pmwiki-users at pmichaud.com
> http://host.pmichaud.com/mailman/listinfo/pmwiki-users
>
More information about the pmwiki-users
mailing list