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

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

49 ratings | 11232 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 (10)
Ronit's VLOGS (1 year ago)
how to increse a text form size in code
Joy Dhar (1 month ago)
ryûuzaki- sama You had better learn css first
ryûuzaki- sama (7 months 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 (3 years ago)
thanks mate
TechnicalCafe (3 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 (3 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.