quick coding question

sinistersouth

Banned
Joined
May 4, 2014
Messages
1,269
Reputation
-245
Daps
5,391
Reppin
New York City. I mean Kansas.
how do you align something to the center, and another thing to the left; both in the same section? im trying to do that now with Oxygen and cant figure it out because everything gets aligned together

for example go to tmz.com. the logo's in the middle, the social media buttons are on the left
 

bammtronics

man sit 'cho ass down!
Joined
Jun 15, 2017
Messages
2,221
Reputation
515
Daps
12,186
Reppin
Long Beach
Few different approaches. One is make one big parent div to hold everything, then put two divs inside that - one holding socials, other holding logo. Control the widths/heights/positions of those child divs as desired (look at position: relative/absolute CSS attributes).

Again, many different ways to accomplish it though, depending on what you're working with.
 
Top