PDA

View Full Version : Text not aligning correctly


nicolec
06-27-2007, 07: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:

thanks!!

Andromeda
06-27-2007, 07: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.

domedia
06-27-2007, 09: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>