🤑 Join the Treehouse affiliate program and earn 25% recurring commission!

New No-Code Track! 🚀start learning today!

🌟 Dreaming of a bright future? 🎓 Ask about the Treehouse Scholarship program! 🚀

✨ Earn college credits in Cybersecurity, JS, HTML, CSS and Python

  • Treehouse Logo
  • Plans
    Chevron
    • For Individuals
    • For Businesses
    • For Schools
    • For Libraries
    • For Military
  • Library
    Chevron
    • All Courses
    • Tracks
    • College Credit
  • Techdegree
    Chevron
    • Overview
    • Front End Development
    • Full Stack JavaScript
    • Data Analysis
    • UX Design
    • Python
  • Community
    Chevron
    • Code Adventures
    • Discord
    • Forum
    • Success Stories
    • Treehouse Links
    • 100 Days of Code
  • Resources
    Chevron
    • Career Toolbox
    • CodeForward
    • Free Treehouse Near Me
    • Jobs
    • Blog
    • Support
    • About
  • For Individuals For Businesses For Schools For Libraries For Military
  • All Courses Tracks College Credit
  • Overview Front End Web Development Full Stack JavaScript Python Development Data Analysis UX Design
  • Code Adventures Discord Forum Success Stories Treehouse Links 100 Days of Code
  • Career Toolbox CodeForward Free Treehouse Near Me Jobs Blog Support About
  • Sign In
  • Free Trial
Instagram Twitter Facebook YouTube LinkedIn
    • Newest
      • Newest
      • Active
      • Unanswered
      • Featured
    • All Topics
      • All Topics
      • • General Discussion
      • • AI
      • • Android
      • • APIs
      • • Coding for Kids
      • • College Credit
      • • Computer Science
      • • CSS
      • • Data Analysis
      • • Databases
      • • Design
      • • Development Tools
      • • Digital Literacy
      • • Game Development
      • • Go Language
      • • HTML
      • • Java
      • • JavaScript
      • • Learning Resources
      • • Machine Learning
      • • No-Code
      • • PHP
      • • Professional Growth
      • • Python
      • • Quality Assurance
      • • React
      • • Ruby
      • • Security
      • • Swift
  • Talha Rashid
    PLUS
    Talha Rashid
    Courses Plus Student 4,645 Points

    When I Use in-line block why my image moves away from the center.Does anyone tell?

    Posted June 19, 2020 9:23am by Talha Rashid
    Talha Rashid
    Courses Plus Student 4,645 Points
    • CSS
    • CSS Layout Basics
    • CSS Layout Project
    • Adding Media Queries for Large Screens

    1 Answer

  • Jake Almendarez
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    Jake Almendarez
    Front End Web Development Techdegree Student 4,250 Points

    why inline block instead of inline?

    Posted June 6, 2020 12:47am by Jake Almendarez
    .a{fill-rule:evenodd;}techdegree
    Jake Almendarez
    Front End Web Development Techdegree Student 4,250 Points
    • CSS
    • CSS Layout Basics
    • CSS Layout Project
    • Adding Media Queries for Large Screens

    1 Answer

  • vamosrope14
    vamosrope14
    14,932 Points

    How do I know WHEN to center the container holding content?

    Posted May 16, 2019 2:30am by vamosrope14
    vamosrope14
    14,932 Points
    • CSS
    • CSS Layout Basics
    • CSS Layout Project
    • Adding Media Queries for Large Screens

    1 Answer

  • Lisa Drevillon
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    Lisa Drevillon
    Front End Web Development Techdegree Student 7,581 Points

    Hi, I am following the solutions step by step, but the media query isn't working. Can explain help explain why?

    Posted January 2, 2019 10:33pm by Lisa Drevillon
    .a{fill-rule:evenodd;}techdegree
    Lisa Drevillon
    Front End Web Development Techdegree Student 7,581 Points
    • CSS
    • CSS Layout Basics
    • CSS Layout Project
    • Adding Media Queries for Large Screens

    3 Answers

  • Alexey Kulikov
    Alexey Kulikov
    11,124 Points

    Using inline-blocks in header instead of floats

    Posted November 8, 2018 1:03pm by Alexey Kulikov
    Alexey Kulikov
    11,124 Points
    • CSS
    • CSS Layout Basics
    • CSS Layout Project
    • Adding Media Queries for Large Screens

    1 Answer

  • v s
    v s
    366 Points

    Can you please tell me why my media query not working? I tried writing the code outside the media query, worked fine

    Posted October 28, 2018 2:30pm by v s
    v s
    366 Points
    • CSS
    • CSS Layout Basics
    • CSS Layout Project
    • Adding Media Queries for Large Screens

    1 Answer

  • Nathalie Agnekil
    Nathalie Agnekil
    6,665 Points

    Why ems and pxs, and when?

    Posted June 4, 2018 8:10am by Nathalie Agnekil
    Nathalie Agnekil
    6,665 Points
    • CSS
    • CSS Layout Basics
    • CSS Layout Project
    • Adding Media Queries for Large Screens

    3 Answers

  • baderbouta
    baderbouta
    7,804 Points

    Wondering why my "Best City Guide" text is not aligning with my nav-bar...

    Posted May 18, 2018 4:32pm by baderbouta
    baderbouta
    7,804 Points
    • CSS
    • CSS Layout Basics
    • CSS Layout Project
    • Adding Media Queries for Large Screens

    1 Answer

  • Derrick French
    Derrick French
    3,370 Points

    Exact same code behaving differently in atom. When I use atom the banner adheres to the container rule below

    Posted February 27, 2018 2:29pm by Derrick French
    Derrick French
    3,370 Points
    • CSS
    • CSS Layout Basics
    • CSS Layout Project
    • Adding Media Queries for Large Screens

    1 Answer

  • Derrick French
    Derrick French
    3,370 Points

    Please can someone critique my code, finished project trying to improve

    Posted February 27, 2018 8:08am by Derrick French
    Derrick French
    3,370 Points
    • CSS
    • CSS Layout Basics
    • CSS Layout Project
    • Adding Media Queries for Large Screens

    1 Answer

  • tomd
    tomd
    16,701 Points

    I've been stuck for hours. My columns just wont work..

    Posted February 20, 2018 6:43pm by tomd
    tomd
    16,701 Points
    • CSS
    • CSS Layout Basics
    • CSS Layout Project
    • Adding Media Queries for Large Screens

    3 Answers

  • Mustafa Khan
    Mustafa Khan
    6,224 Points

    Where did I mess up?

    Posted February 10, 2018 2:35am by Mustafa Khan
    Mustafa Khan
    6,224 Points
    • CSS
    • CSS Layout Basics
    • CSS Layout Project
    • Adding Media Queries for Large Screens

    1 Answer

  • Adam Maley
    Adam Maley
    5,946 Points

    @media (min-width: 769px) {

    Posted January 28, 2018 10:29pm by Adam Maley
    Adam Maley
    5,946 Points
    • CSS
    • CSS Layout Basics
    • CSS Layout Project
    • Adding Media Queries for Large Screens

    1 Answer

  • gene c
    gene c
    13,630 Points

    How and when do I determine whether to style the CSS using the normal method or using the media queries method?

    Posted December 27, 2017 4:05am by gene c
    gene c
    13,630 Points
    • CSS
    • CSS Layout Basics
    • CSS Layout Project
    • Adding Media Queries for Large Screens

    2 Answers

  • Sean Flanagan
    Sean Flanagan
    33,236 Points

    Where did the li's go?

    Posted November 21, 2017 12:43am by Sean Flanagan
    Sean Flanagan
    33,236 Points
    • CSS
    • CSS Layout Basics
    • CSS Layout Project
    • Adding Media Queries for Large Screens

    3 Answers

  • Brian Besler
    Brian Besler
    11,493 Points

    When you target the .container DIV where should it be wrapped in the HTML for this excercise?

    Posted October 6, 2017 10:43am by Brian Besler
    Brian Besler
    11,493 Points
    • CSS
    • CSS Layout Basics
    • CSS Layout Project
    • Adding Media Queries for Large Screens

    2 Answers

  • Cole Atkinson
    Cole Atkinson
    2,854 Points

    Can't get menu list items to align vertically in the header

    Posted August 9, 2017 2:12pm by Cole Atkinson
    Cole Atkinson
    2,854 Points
    • CSS
    • CSS Layout Basics
    • CSS Layout Project
    • Adding Media Queries for Large Screens

    3 Answers

  • lesak
    lesak
    6,260 Points

    Media queries' widths How do you know which width to set for the different screen sizes when using media queries?

    Posted April 20, 2016 1:25pm by lesak
    lesak
    6,260 Points
    • CSS
    • CSS Layout Basics
    • CSS Layout Project
    • Adding Media Queries for Large Screens

    4 Answers

  • Gabriel Ward
    Gabriel Ward
    20,222 Points

    Centering the main-nav

    Posted January 26, 2016 11:20pm by Gabriel Ward
    Gabriel Ward
    20,222 Points
    • CSS
    • CSS Layout Basics
    • CSS Layout Project
    • Adding Media Queries for Large Screens

    2 Answers

Posting to the forum is only allowed for members with active accounts.
Please sign in or sign up to post.

    Treehouse

  • About
  • Blog
  • Careers
  • Community
  • Stories
  • Shop
  • Contact
  • Gift Card

See Full Catalogue

Techdegree

  • Front End Web Development
  • Full Stack JavaScript
  • Python Development
  • Data Analysis
  • UX Design

Tracks

  • Learn to Code for Beginners
  • Beginning Python
  • Beginning SQL
  • Beginning Java
  • ...see more

Courses

  • JavaScript Basics
  • Intro to HTML & CSS
  • Python Basics
  • CSS Layout
  • ...see more

Explore

  • Plans
  • Affiliates
  • Perks
  • Free Treehouse Near Me
  • Treehouse for Libraries
  • Treehouse for Businesses
  • Twitter
  • YouTube
  • Facebook
  • LinkedIn
  • Instagram
Terms & Conditions | Privacy

© 2025 Treehouse Island, Inc.