Posted on: 5/23/2014 1:18:22 PM | Views : 412

I have 2 question regarding asp.net + css. Both questions are quite similar...
a) Let's say i create label and i using css to style it. When i resize the browser size, the position also will different. How can i set the position using css regardless the browser size or screen resolution.Below is my css.
.Label_1Menu{ color: #FFFFFF; font: 20px 'Cambria'; left: 400px; top:42px; margin: 16px 0 0 110px; position: absolute; text-align:left } b) I create two label and i wanted to put on same position, just the left properties value different. In this case. should i create 2 different style for them?

.Label_1Menu{ color: #FFFFFF; font: 20px 'Cambria'; left: 400px; top:42px; margin: 16px 0 0 110px; position: absolute; text-align:left } .Label_2Menu{ color: #FFFFFF; font: 20px 'Cambria'; left: 200px; top:42px; margin: 16px 0 0 110px; position: absolute; ...

Go to the complete details ...