HomeНаука и техникаRelated VideosMore From: TechnicalCafe

CSS Tutorial 14 - Styling Divs (Height, Width, Borders)

57 ratings | 13245 views
In this tutorial, we talk about how to style divs using CSS, which is pretty important when it comes to designing and laying out webpages and websites. In particular, we talk about how to change a div's height, width, and border, and specifically talking about a border's width, color, and style. Please feel free to leave a comment with any questions, comments, or suggestions! Thank you for watching! TechnicalCafe Blog: http://TechnicalCafe.com TechnicalCafe Forms: http://TechnicalCafe.net TechnicalCafe Twitter: http://Twitter.com/TechnicalCafe Jamie's Twitter: http://Twitter.com/Jamiemcg
Html code for embedding videos on your blog
Text Comments (12)
Naol Fekadu (4 months ago)
Bruh this video is not in ur playlist Do something about it
TechnicalCafe (4 months ago)
Oops - sorry about that! I just added this video to the "CSS Tutorials" playlist. Thanks for watching and for letting me know that it wasn't included in the playlist! I certainly appreciate it!
Ronit's VLOGS (1 year ago)
how to increse a text form size in code
Joy Dhar (5 months ago)
ryûuzaki- sama You had better learn css first
ryûuzaki- sama (1 year ago)
text-width: 300%;
tes (2 years ago)
How to move the text to the middle of the div?
Video4u (1 year ago)
te s <style float: center></style>
TechnicalCafe (2 years ago)
This could be done using some CSS code, but a quick (but depreciated) fix would be to use the <center></center> tags in HTML. Thanks for watching!
Tim S (4 years ago)
thanks mate
TechnicalCafe (4 years ago)
+Tim S Any time! I hope you are enjoying the tutorials, and if you ever have any questions, comments, or suggestions, please feel free to ask! Thank you for watching!
Sagar Panchal (4 years ago)
How do you change the border color without adding to the overall size
Tim S (4 years ago)
if u want red just put red and if u want specific colour http://html-color-codes.info/ use this site

Would you like to comment?

Join YouTube for a free account, or sign in if you are already a member.