Hello, I am working on this website. I have tried hard to keep the website Valid. So far so good. Although I found it interesting that some times to validate I would have to insert this " " to this <div style="padding:50px;"> </div> to make it valid. Weird, if there is an explanation, please let me know.
But my problem is that in the contact us form, the input field does not want to listen to my CSS, so the input is larger than what I say. I am using Contact 7 form builder in WordPress. But I can not find the CSS to change or how to over write it. I am usually pretty good to find it, but I had not success. :-(
To answer your other question, ‘ ’ is a non-breaking space character. Browsers read it as a normal space, except they never send the text to the next line when they read it.
A div is not valid unless there is content in it. In your case, I assume that div you provided for example helped align something else on the page. But why insert a div to align something else when you can just specifically align the exact div (or whatever it is) that you want to be moved? In other words, why give padding to object 1 in order to move object 2, when you can just move object 2?