Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 7 of 7
  1. #1
    New to the CF scene
    Join Date
    Feb 2013
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Need Help W/ Formatting Homepage Paragraphs - PLEASE!

    I recently took over web duties for the company.

    I have been banging my head to try and figure out how the last designer set up the homepage. There are two paragraphs, of unequal proportion and I can't seem to fix it to be more aesthetically pleasing. Right now it just looks like crap. Please help!

    You may view the page here: www.practicalrecovery.com. You cannot miss the area I am referring to - just below the blue slider.

    HELP!

  • #2
    Regular Coder
    Join Date
    Dec 2010
    Posts
    139
    Thanks
    17
    Thanked 6 Times in 6 Posts
    You've taken over web duties and you don't know how to change the code ? Use Firebug, it makes the world go round.

    Code:
    #home-marketing-content p {
        margin: 5px 35px 0px 0px;
    }

  • #3
    New to the CF scene
    Join Date
    Feb 2013
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Awesome

    A code that doesn't help and just a touch of sarcasm - AWESOME!

  • #4
    Regular Coder
    Join Date
    Dec 2010
    Posts
    139
    Thanks
    17
    Thanked 6 Times in 6 Posts
    Please explain how it does not help ? You want to add margin right to the p on the left. Without going too extreme that answers your question.

  • #5
    Regular Coder
    Join Date
    Jul 2008
    Posts
    157
    Thanks
    9
    Thanked 13 Times in 13 Posts

    if you could find the .css file

    I do not envy you. There so much stuff there I could not locate
    the .css file which contained
    Code:
    #home-marketing-content p {
        margin: 5px 35px 0px 0px;
    }
    If I had found it, I would have added to margin-top: 2px; {or margin: 7px 35px 0px 0px -- or whatever it was)

    So I cheated (do not recommend you do this) and edited the <h2> and <p> that was not in the <section> by subtracting margin-top: -2px;

    Code:
    <section id="home-marketing-content">
    <h2>Non-12-Step Addiction Treatment</h2>
    <p>Overcome addiction and build a meaningful life. Practical Recovery, in beautiful San Diego, California, ,,, Be prepared to think about recovery in radically new ways!</p>
    </section>
    
    <h2 style="text-align: left;"><img class="padding: 1px; border: 1px solid black; margin-top: 5px; margin-bottom: 5px; alignright" style="margin-left: 5px;border: 1px none" src="http://www.practicalrecovery.com/wp-content/uploads/Tom_Horvath-150x150.jpg" alt="Dr. Tom Horvath" width="150" height="150" />Dr. Tom Horvath</h2>
    <p style="margin-top:-2px; margin-left: 18px;text-align: left">Practical Recovery was founded in 1985 by internationally recognized addictions expert Dr. Tom Horvath. Dr. Horvath is the President of ... Chocolate: A Workbook for Overcoming Addictions</a>.</p>
    Last edited by waxdoc; 02-21-2013 at 02:44 AM. Reason: fix up

  • #6
    Regular Coder
    Join Date
    Jul 2008
    Posts
    157
    Thanks
    9
    Thanked 13 Times in 13 Posts

    sadistic boobytraps ?

    Thinking about the overly-complicated markup used at that site, I wondered if a sadistic showoff set out to design a site that was unmanagable ? Or is all that jumble the result of personnel turnovers, with each new webmaster adding a bandage here and thereto patch up the mess ?

    If I were you, I'd try to strip down some of that clutter to see if each elemlent/file really does anything productive. Certainly with all those .css files, template variations, etc., you shouldn't be needing inline style attricutes if the linked files were of any value.

    In any case, wishing you the best of luck.
    Last edited by waxdoc; 02-22-2013 at 12:01 AM. Reason: typos

  • #7
    Regular Coder
    Join Date
    Sep 2011
    Posts
    343
    Thanks
    3
    Thanked 37 Times in 37 Posts
    The whole layout is a mess. As a professional company, they should hire a professional to make a decent website. Or pay you or at least allow you the time to become a webmaster. Let me know if you want to know how to become a webmaster the fastest and cheapest way.
    Frank

    How to: Target IE in, Position in, Center in, Create a Fixed ('Sticky') Footer with, and Create a Drop-Down/Fly-Out Menu with CSS: Website Laten Maken Amsterdam.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •