Inserting Text
#1
Posted 06 April 2009 - 10:03 PM
#3
Posted 06 April 2009 - 10:07 PM
<div> <span> <p>this is your 1st line </p> <p>this is your 2nd line </p> </span> </div>
This post has been edited by Sam G: 02 February 2010 - 08:54 PM
Reason for edit: added [code] tags
#4
Posted 06 April 2009 - 10:10 PM
#5
Posted 06 April 2009 - 10:36 PM
#6
Posted 07 April 2009 - 01:46 AM
#7
Posted 07 April 2009 - 06:50 AM
#9
Posted 07 April 2009 - 09:23 AM
Christina, on Apr 6 2009, 23:03, said:
Link?
#10
Posted 07 April 2009 - 09:30 AM
Quote
What about if i have 3 text styles in 1 div ?
I dont like adding class or id to <p> so im adding to <span>.
That's my way to do it, thats all.
#11
Posted 07 April 2009 - 09:35 AM
If at the end of a line, you press Enter, it closes the p tag. However, if you press Shift/Enter together it breaks onto a new line.
#13
Posted 09 April 2009 - 02:39 PM
caraewilton, on Apr 6 2009, 20:46, said:
I am not using floats. I imported my layout from photoshop and then selected the slice I want to put text in, deleted it and then created a div tag for it.
When I type in the first line it is fine, but when I push enter to type in the next line that's when it gets distorted. The slices are spread out.
Here is the CSS code:
<td solspan="5"><div id="product_content"> <p>Product Groups</p> <p> </p> </div></td>
This post has been edited by Sam G: 02 February 2010 - 08:55 PM
Reason for edit: added [code] tags
#14
Posted 09 April 2009 - 04:55 PM
I think I figured it out...unless it's a temporary fix. I guess we'll see.
I realized that I needed enter in the height of the div tag box After I enter in my text.
Thanks for all your help!
Christina
Help



















