About This Course
"Unlock the essentials of web development with our HTML & CSS course by azad chaiwala. Dive into the building blocks of web design as you master HTML for structuring content and CSS for styling. Create visually stunning and responsive websites with the skills gained in this hands-on course."
Question Asked by Students
M
Muqadas Gulzar
21-09-2024
sir mene website develop ki ha Lekin wahaa container tag kam ni kr raha to kindly bta dyn kaha mistake ha meri website without container tag achi ni lg rhi to iska koi solution bta dyn
Replies
1
C
Course Teacher
23-09-2024
Container tags, typically used in CSS frameworks like Bootstrap, are essential for creating responsive, structured layouts on websites. If your container tag isn’t working, it could be due to several reasons.
If you are using Bootstrap, make sure that it’s correctly linked or installed in your project.
Custom CSS could be overriding the Bootstrap styles. Look into your stylesheets or inline styles for any conflicts that might be overriding the container's layout, such as width, max-width, or padding properties.
Make sure the container is well-placed in the HTML structure and not nested inside elements that break the layout, like elements with position: absolute;
Ensure your website includes a viewport meta tag for proper responsiveness:
<meta name="viewport" content="width=device-width, initial-scale=1">
farah faheem
thanks sir l have a lot from this course(HTML&CSS).