₦airaland Forum

Welcome, Guest: RegisterLoginWith GoogleTrendingRecentNew

Stats: 3,325,061 members, 8,420,094 topics. Date: Thursday, 04 June 2026 at 11:18 AM

Toggle theme

Gurus Please Help With My Coding Problem - Programming - Nairaland

Nairaland ForumScience/TechnologyProgrammingGurus Please Help With My Coding Problem (586 Views)

1 Reply (Go Down)

Gurus Please Help With My Coding Problem by chingle5(op): 8:58pm On Oct 31, 2020
So I just started learning flexbox in CSS and I tried to create a header with logo, search bar and main links like the home, about, contact etc I wanted to use float but I think float is good for only two element like image and some text.... When I use flexbox to design it on pc it looks nice but when I resize the window it looks horrible so please help what do I need to do or what technology do I need to learn coz this is what has been giving me serious headache

Re: Gurus Please Help With My Coding Problem by chingle5(op): 8:59pm On Oct 31, 2020
Please help o huh
Re: Gurus Please Help With My Coding Problem by blackpanthar: 9:00pm On Oct 31, 2020
pls bros go to youtube and learn for free and in a more detailed way
Re: Gurus Please Help With My Coding Problem by chingle5(op): 9:07pm On Oct 31, 2020
blackpanthar:
pls bros go to youtube and learn for free and in a more detailed way
Hmmmm
Re: Gurus Please Help With My Coding Problem by Karleb(m): 9:23pm On Oct 31, 2020
You need to learn responsive web design.

When a site is "responsive", it means it can adjust to various css to meet up with the new width of the device.

What you are currently experiencing is the normal behavior, you didn't set a different media query for width smaller than desktop.

Go through this link to learn more.

https://www.w3schools.com/css/css_rwd_intro.asp


@media screen and (max-width: 800px) {

.flexitem {
flex-directon: column;
}

}

The code above would help your case a little.
Re: Gurus Please Help With My Coding Problem by ehinorlive: 7:18am On Nov 01, 2020
use media query to arrange it on a specific screen size
Re: Gurus Please Help With My Coding Problem by chingle5(op): 1:16pm On Nov 01, 2020
Tanks guys I really appreciate
1 Reply

Come And Solve This Coding ProblemDaily Coding ProblemThings you need to know as an upcoming programmer and MY CODING DAIRY234

My First VideoHelp, Android Developers..React Monsters