harshad1994 Posted December 14, 2009 Share Posted December 14, 2009 okay i understand that if u want to change the space between lines u raise the number for the "line-height"what i CANT figure out is to change the spacing of when u press enterfor example:_____on my site, when u press enter ONCE it looks likei pressed it twice... like this. what i want though is for it to look normal when i press enterlike this, single spaced._____heres my site: http://myboobear.tumblr.com/heres my code: http://docs.google.com/Doc?docid=0AVQogVd7...GJocA&hl=enPLEASE HELP!thanks in advance Link to comment Share on other sites More sharing options...
jeffman Posted December 14, 2009 Share Posted December 14, 2009 If I get the set-up correctly, when you hit the enter/return key, you create a new <p> element. This is the CSS for your <p> element:p {margin:0 0 1.5em;}The last number defines the bottom margin for your paragraphs. So that's your space.Many kinds of CSS definitions create space. padding is another. The difference isn't always clear unless you add things like background-color.And FWIW? No guy ever "stole" someone else's girlfriend without the girl's permission. Link to comment Share on other sites More sharing options...
harshad1994 Posted December 14, 2009 Author Share Posted December 14, 2009 THANK YOUUUU!!!AHHHHHHim a newb to this sorryand though i dont agree with ur standpoint on life... lolUR AWESOMEthanks again If I get the set-up correctly, when you hit the enter/return key, you create a new <p> element. This is the CSS for your <p> element:p {margin:0 0 1.5em;}The last number defines the bottom margin for your paragraphs. So that's your space.Many kinds of CSS definitions create space. padding is another. The difference isn't always clear unless you add things like background-color.And FWIW? No guy ever "stole" someone else's girlfriend without the girl's permission. Link to comment Share on other sites More sharing options...
bladexhunt Posted December 15, 2009 Share Posted December 15, 2009 That fix changes the paragraph to paragraph though, if you want to change space in paragraphs use padding values, change it so its a negative value usually % or px, dunno if em works though, since there is no standard padding. Link to comment Share on other sites More sharing options...
thescientist Posted December 15, 2009 Share Posted December 15, 2009 THANK YOUUUU!!!AHHHHHHim a newb to this sorryand though i dont agree with ur standpoint on life... lolUR AWESOMEthanks againIt takes two to tango... Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.