Answer the question
In order to leave comments, you need to log in
How to make the width of the top block depending on the content?
I have a #background block:
#background {
background-color: red;
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
}
#text {
position: relative;
z-index: 1000;
background-color: black;
color: #fff;
text-align: center;
}
<div id="background"></div>
<div id="text">Текст</div>
Answer the question
In order to leave comments, you need to log in
Microsoft's book co-authored with intuit, C# for high school students is a great start.
And then Troelsen.
work on more theory and bases on algorithms and OOP, since you are at school again and again C #, and then take on this language. the classic C for the base will also work, but not deep, C ++ is also in principle, but not deep.
Learn English, at least to the level of free reading MSDN
I just also started studying C#, I study from the book by Andrew Troelson "The C# 5.0 Programming Language and the .NET 4.5 Platform", and also by Flenov "The C# Bible". Everything is clearly laid out. I like the first one better.
padabum.com/d.php?id=352
I learned from it, consider it my desktop :) Only under the 4.0 version of the language.
Books for learning C#/.NET
An extensive article on this topic.
Well, there are a million questions. the answer is always the same - with the creation of applications. The first - as in all textbooks: a calculator. Then a converter, an alarm clock, a matrix. And then you will see that you can do it more difficult .....
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question