Go Back   CodingForums.com > :: Client side development > HTML & CSS

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 02-19-2013, 05:39 PM   PM User | #1
MonCheri80
New to the CF scene

 
Join Date: Feb 2013
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
MonCheri80 is an unknown quantity at this point
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!
MonCheri80 is offline   Reply With Quote
Old 02-19-2013, 11:47 PM   PM User | #2
CHEWX
Regular Coder

 
Join Date: Dec 2010
Posts: 124
Thanks: 17
Thanked 6 Times in 6 Posts
CHEWX is an unknown quantity at this point
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;
}
CHEWX is offline   Reply With Quote
Old 02-20-2013, 05:52 PM   PM User | #3
MonCheri80
New to the CF scene

 
Join Date: Feb 2013
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
MonCheri80 is an unknown quantity at this point
Awesome

A code that doesn't help and just a touch of sarcasm - AWESOME!
MonCheri80 is offline   Reply With Quote
Old 02-20-2013, 10:59 PM   PM User | #4
CHEWX
Regular Coder

 
Join Date: Dec 2010
Posts: 124
Thanks: 17
Thanked 6 Times in 6 Posts
CHEWX is an unknown quantity at this point
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.
CHEWX is offline   Reply With Quote
Old 02-21-2013, 01:35 AM   PM User | #5
waxdoc
Regular Coder

 
Join Date: Jul 2008
Posts: 155
Thanks: 9
Thanked 13 Times in 13 Posts
waxdoc is an unknown quantity at this point
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 01:44 AM.. Reason: fix up
waxdoc is offline   Reply With Quote
Old 02-21-2013, 11:00 PM   PM User | #6
waxdoc
Regular Coder

 
Join Date: Jul 2008
Posts: 155
Thanks: 9
Thanked 13 Times in 13 Posts
waxdoc is an unknown quantity at this point
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-21-2013 at 11:01 PM.. Reason: typos
waxdoc is offline   Reply With Quote
Old 02-21-2013, 11:12 PM   PM User | #7
Frankie
Regular Coder

 
Join Date: Sep 2011
Posts: 286
Thanks: 3
Thanked 33 Times in 33 Posts
Frankie is an unknown quantity at this point
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.
Frankie is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

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

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

Forum Jump


All times are GMT +1. The time now is 05:24 PM.


Advertisement
Log in to turn off these ads.