Jump to content
10 hours ago, SSL said:

.logo,
.navigation {
  float: left;
}

 

hue

If they share the same parent, that will cause problems. At least that's what I want to believe.

 

If you want side by side divs, there's a property to make the divs act like a table: http://stackoverflow.com/questions/2637696/how-to-place-div-side-by-side

 

Personally I find that easier to deal with than messing with floats and positioning.

Link to comment
https://linustechtips.com/topic/728240-htmlcss-help/#findComment-9261340
Share on other sites

Link to post
Share on other sites

1 minute ago, M.Yurizaki said:

If they share the same parent, that will cause problems. At least that's what I want to believe.

 

If you want side by side divs, there's a property to make the divs act like a table: http://stackoverflow.com/questions/2637696/how-to-place-div-side-by-side

 

Personally I find that easier to deal with than messing with floats and positioning.

 

It won't cause any problems if done properly.

 

Personally I find it easier to deal with a CSS pre-processor and grid system, which may use any one of several solutions behind the scenes.

Link to comment
https://linustechtips.com/topic/728240-htmlcss-help/#findComment-9261350
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×