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?
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.