Paid affiliate advertisement

UPDATE- Answer found, Thanks - $5 Paypal Bounty; point me to the relevant CSS for a spacing issue.

kellyllek - October 27, 2009 - 15:43

Here is the home page and a node:

http://ecreativearts.com/tester/wynnenv/
http://ecreativearts.com/tester/wynnenv/content/welcome

How do I reduce the spacing between the paragraphs!!! ??? I'm hoping and assuming this is a simple question!

I'm new to theming and am simply playing around with a contrib theme; namely Newswire. I've read a bit about theming and thought I'd experiment. I'm using the Web Developer toolbar in IE to trace the various elements and CSS. So I thought as a first experiment, "I want to reduce this spacing between the headings and paragraphs". I'm no CSS guru but I figured it was some kind of margin element, either top or bottom, on a p, br or div tag. But I've tried everything for the past hour+ with no luck! I have no idea where or what the element is that I'm after?

I'll send $5 paypal to anyone (the first helpful response) who can point me to where and what the relevant CSS is. It's so frustrating when you can't even make it out of the starting blocks!

Also, I don't know if it is normal practice to post this here? I just need a quick answer and really feel a small-time paid support option for these little nagging questions would be a benefit. I would post this in the normal forum but I don't want to wait all day for a response, or worse, receive no response. Any comment you have please let me know. Is it OK to post things like this? Is the price adequate? I'm guessing those who'd know the answer would have it within a couple minutes, hence the small fee. There are many newbies like me who spend countless hours trying to figure out issues that others with experience can demonstrate in minutes.

=-=

VM - October 27, 2009 - 15:46

from link 1:

<p></p><P>Located in Warwick, PA, with a complete line of Mist, Dust, Smoke, and Fume Collection Systems, Wynn Environmental is ready to tackle your toughest air quality problems.</p><br />
<P>Please be sure to see our selection of AER Control Systems Filters, Aercology Filters, Torit Filters and Cartridges, Airflow Systems Filters, Royal Filtermist Filters, HEPA Filters, Hobbyist Woodworking Filters, Flexible Hose, and Leaf Collection Hose.</p><br />
<P style="TEXT-ALIGN: center"><B>Important:<BR />We have moved our operation to Warwick, PA effective Monday, May 1st 2006<BR />Our new phone number is (215) 442-9443.<BR /></b></p>

from link 2:

<p></p><P>Located in Warwick, PA, with a complete line of Mist, Dust, Smoke, and Fume Collection Systems, Wynn Environmental is ready to tackle your toughest air quality problems.</p><br />
<P>Please be sure to see our selection of AER Control Systems Filters, Aercology Filters, Torit Filters and Cartridges, Airflow Systems Filters, Royal Filtermist Filters, HEPA Filters, Hobbyist Woodworking Filters, Flexible Hose, and Leaf Collection Hose.</p><br />
<P style="TEXT-ALIGN: center"><B>Important:<BR />We have moved our operation to Warwick, PA effective Monday, May 1st 2006<BR />Our new phone number is (215) 442-9443.<BR /></b></p>

The above is the source of the rendered pages relative to your content where this 'spacing issue' is, I presume. From where I sit, this isn't a css issue. Look at the extraneous p tags and br tags throughout the HTML above. It can also help to run the offending pages through a validator to pick up the errors and correct them. The extraneous br and p tags could be comimg from an incorrectly set or not set filter on the input format in use. The upper case tags on the other hand is another issue altogether. That looks like you are copying and pasting HTML from previously contructed HTML pages.

To obtain more specific help, we'd need to know:
what method is used to add content?
what modules are in use where it concerns content input?
what input format is in use?
what filters are enabled/disabled on the input format in use?

tucking in to som humble pie

kellyllek - October 27, 2009 - 16:00

tucking in to som humble pie here.

thanks so much. I saw the tags but figured the theme had put them there! I didn't look at the actual source! Yes, I copied it directly from their old site retained a bit of the formatting (paste from word).

As far as the bounty goes, if it's OK I'll post little things like this all the time. I've got plenty of them! Or maybe I can put you on retainer VM?!

Thanks very much

=-=

VM - October 27, 2009 - 16:05

Running web pages through a validator (online or offline) is always a good idea before starting to pull out your hair.

It's best to reformat the content being pasted into content by removing all tags that aren't needed and let drupal's input format system handle. Tweak as necessary based on need beyond what included filters are already doing from a presentation/formatting stand point.

Please send your email

kellyllek - October 27, 2009 - 16:11

Please send your email VeryMisunderstood. Thanks to both of you. I know it's just so obvious! I can't tell you how many things like this have made me stumble. I'm committed to Drupal but at times I really need a support team. I'm much appreciative of the documentation, forums and the many folks who help out. But a paid option like this is certainly worth it too.

=-=

VM - October 27, 2009 - 16:12

I can be contacted through my d.o profile contact tab.

In short, you can adjust the

HershelSR - October 28, 2009 - 10:50

In short, you can adjust the margins of the p tag, but the real issue is that there is a BR tag between your paragraphs. That adds the vertical space.

 
 

Drupal is a registered trademark of Dries Buytaert.