[WSG] p tag
Hello All, I am using the p align='justify' to justify my text. I am getting a huge break between the picture above and where the text starts with the tag mentioned above. What is the best way to rid the white space? I've seen this problem a lot but have come to no conclusive way of getting rid of it. Anyone have a good suggestion for this? Thankstg
Re: [WSG] p tag
Hello Todd, the idea 0 (I had to learn) is: Add padding:0; margin:0 Then see, if the problem exists again. Regards Juergen Auer Jürgen Auer, www.sql-und-xml.de Web-Datenbanken zum Mieten Friedenstr. 37, 10 249 Berlin Tel.: (030) 420 20 060 Fax: (030) 420 19 819 [EMAIL PROTECTED] ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list getting help **
RE: [WSG] p tag
It would help to have a page to look at. Heres my first guess. Are you floating the image and text? If so, perhaps justify is extending the width of the text to make it too long to fit in the same space as the image and it drops down below the image? Does this make sense? CSS will over-ride any inline attributes, such as align=justify. That should be placed in your CSS instead of the tag. Try p class=wackyparagraph p.wackyparagraph {text-align:justify;} Try sending a link for better feedback. Ted From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Todd Gleaton Sent: Wednesday, January 11, 2006 11:16 AM To: wsg@webstandardsgroup.org Subject: [WSG] p tag Hello All, I am using the p align='justify' to justify my text. I am getting a huge break between the picture above and where the text starts with the tag mentioned above. What is the best way to rid the white space? I've seen this problem a lot but have come to no conclusive way of getting rid of it. Anyone have a good suggestion for this? Thankstg
Re: [WSG] p tag
Todd Gleaton wrote: Hello All, I am using the p align='justify' to justify my text. I am getting a huge break between the picture above and where the text starts with the tag mentioned above. What is the best way to rid the white space? I've seen this problem a lot but have come to no conclusive way of getting rid of it. Float the image. p style=text-align: justify; This is some justified text. This is some justified text. This is some justified text. This is some justified text. This is some justified text. This is some justified text. This is some justified text. This is some justified text. img style=float: left; padding: .5em; src=pic.jpg alt=my image / /p ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list getting help **
Re: [WSG] p tag
Well first of all, you should use CSS instead of your attribute: p { text-align: justify; } The issue you are talking about is the margin of the p tag. You can remove it by adding margin:0; to the CSS above, however, I strongely suggest you not to. Signed, Svip - sviip.dk On 11/01/06, Todd Gleaton [EMAIL PROTECTED] wrote: Hello All, I am using the p align='justify' to justify my text. I am getting a huge break between the picture above and where the text starts with the tag mentioned above. What is the best way to rid the white space? I've seen this problem a lot but have come to no conclusive way of getting rid of it. Anyone have a good suggestion for this? Thankstg ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list getting help **