HighDots Forums  

CSS text control

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss CSS text control in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Brian
 
Posts: n/a

Default CSS text control - 11-15-2005 , 10:21 AM






I would like to give my line breaks more space. You can see what I am
talking about here:
http://www.harmonygardens.com/test/

I would like to have more space between paragraphs, how would I do that?
I would also be able to indent the last line and just the last line(just
the name). I tryed the following but it did not work.

Thank you for any help!
Brian


..indentedtext
{
text-indent:30px;
}

Reply With Quote
  #2  
Old   
Osgood
 
Posts: n/a

Default Re: CSS text control - 11-15-2005 , 10:33 AM






Add these two styles to your css:



td#textcell p {
margin: 0;
padding: 0px 0px 25px 0px; /*top/right/bottom/left */

}
td#textcell span {
padding-left: 30px;
}


Add a <span> tag around the name in your code, as below


<p>Thank you for visiting Harmony Gardens.<br>
<span>— Dustin Kahn</span></p>






Brian wrote:

Quote:
I would like to give my line breaks more space. You can see what I am
talking about here:
http://www.harmonygardens.com/test/

I would like to have more space between paragraphs, how would I do that?
I would also be able to indent the last line and just the last line(just
the name). I tryed the following but it did not work.

Thank you for any help!
Brian


.indentedtext
{
text-indent:30px;
}


Reply With Quote
  #3  
Old   
Brian
 
Posts: n/a

Default Re: CSS text control - 11-15-2005 , 10:56 AM



Osgood, the p works great! Thank you.
The span does not work for some reason. Any idea what could be causing
the problem? This is what I have in my html right now:

Thank you for the help!

....
<p>Thank you for visiting Harmony Gardens.<br>
<span>— Dustin Kahn</span></p></td>

Reply With Quote
  #4  
Old   
Osgood
 
Posts: n/a

Default Re: CSS text control - 11-15-2005 , 11:04 AM



Brian wrote:

Quote:
Osgood, the p works great! Thank you.
The span does not work for some reason. Any idea what could be causing
the problem? This is what I have in my html right now:

...
p>Thank you for visiting Harmony Gardens.<br
span>— Dustin Kahn</span></p></td

It should work ok. I've just tested it in

PC IE6 and Firefox

Mac Safari/firefox and IE5x]


You have included this css?


td#textcell span {
padding-left: 30px;

}


What browser are you using?




Reply With Quote
  #5  
Old   
Brian
 
Posts: n/a

Default Re: CSS text control - 11-15-2005 , 11:16 AM



OK, I solved it, thank you!!!

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.