View Full Version : Text not aligning correctly

06-27-2007, 08:34 PM
Hi, I'm pretty new to all of this - I've been trying to design a site in DW using CSS styles. I've put in all the div tags but I went to change the default content to what i want to write and the text won't do what I want it to!
I simply want to write 3 words of text, then on a new line write a bit more text. But by pressing enter it leaves a huge gap in between the first line and the next. Pls help - I'm sure I'm just doing something really stupid! :roll:


06-27-2007, 08:47 PM
There are several ways to get around this. The most simple would be that when you go to press the enter key to go on to the next line, hold down the shift key and then press enter.

06-27-2007, 10:50 PM
When you press enter, you create a new paragraph. You'll see this as <p> tags in your sourcecode. To change margins on your paragraphs, you can add a line like this in your CSS:
p {margin-top: 5px; margin-bottom: 0;}
Or use the CSS panel to change the properties for <p>