Quote:
Originally Posted by Amalthia
what would happen if i just applied <div> text here</div> to a line of text? would the create a line break or a paragraph break?
|
The tags are just places to hang CSS off of. The <div/> tag creates a block-level element with no extra margins or indent by default, so with no extra CSS it will just make whatever is within the element have line breaks before the start tag and after the end tag.
But what I was suggesting was literally just put the entire document in a single <div/>. Try right after your <body> tag adding a <div> tag and right before your </body> tag adding a </div> tag. That will make sure that none of your <br/> tags are direct children of the <body/> element.