0
Why is it that when i set the height and width of <div> it affects the alignment of my text
Borders in Css
2 Answers
0
Hmm it will surely effect because your text alignment will be settled according to the its container. Suppose if you make any div width of 50% and chose text-alignment to right then what will happen!
It will not totally go to right set the background color of div and you will come to know that how this works ..
Have some exploration
+ 4
Do you mind showing your code? Without it it's almost impossible to find what problem you're facing.