Shared Link: https://preview.webflow.com/preview/oxford-cabinet-co?preview=9c0027f3744abf9dcedb3148a388ebef
Hey Team - I hope everyone is doing well. I have a easy concept that I need help with. I am trying to create a container element and place the navigation inside this element along with the logo. I am trying to get the logo to sit on top of the container element so that it is above it and positioned literally on-top of it. I can’t seem to wrap my brain around achieving my goal. Could you guys please take a look at it and give me any advise please. I am trying to avoid ( - ) negative positioning as this does not work well with some browsers. Also, when I tried to fit the logo outside of the container it did rest on the container as I wanted, but when previewing the site the logo never remained in the position I wanted it to. It moved and shifted around - that is why I feel it is best that it lives within the main container element. - Maybe I am wrong here?
@sabanna, @PixelGeek, @cyberdave - or anyone else is welcome!
Hi @seank, it looks like you found some other solution already. Or you still need a help?
I kinda need help. My question now: is it ok to make a design using negative increments with padding, spacing, etc or will that mess up the look of it on some browsers.
My client likes the way they have the logo here for example.
If you will give container position:relative and to logo - position:absolute, then you can easy adjust logo with top/bottom/left/right positioning, even if it will be negative. Anyway, it will be better than negative margins/paddings.
I don’t mean to ask a lot from you, but could you supply a fast demo please
So as long as any container is relative, and the thing inside is absolute - negative margins will not look funky across the other common web browsers?
Great Video - thank you so much. However, I really didn’t know you could use negative positioning. Does this pose an issue with cross browser support?
Honestly, I didn’t check much. But most issues that I saw before, was caused by margins, not positioning. Hope you can check and tell us more
The way I did it, is it wrong? Do you think it will cause issues?
I don’t think you did it wrong.
This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.