/    Sign up×
Community /Pin to ProfileBookmark

[RESOLVED] General styling – incorrect coding

Styling several elements together and getting all their positions right presently pushes the limits of my CSS knowledge. Please see URL:

[url]http://www.medledger.com/Medledger10/support.shtml[/url]

The code starts with “You guys are wonderful…”, where I need to create about 5 more testimonials down the page. I thought I had everything right, but when I laid in a horizintal rule as a seperator for the next testimonial, it displays [B]inside[/B] my ‘clientbox’ div, even though it’s coded outside of it:

[CODE]<div class=”clientbox”>
<div class=”quote”><p class=”said”>You guys are wonderful! Your software and personnel have made my job so easy. I appreciate all the support. Working with you has been like working with a friend.</p>
</div>
<div class=”pic”><img src=”images/ClientPix-Dianne.jpg”></div>
<div class=”siginfo”>
<p><strong>Dianne Ganley</strong><br>
Business Manager<br>
<span class=”practice”>Ashland Internal Medicine</span></p>
</div>
</div><!–end ‘clientbox’–>

<hr size=”2″ noshade color=”#93CCE9″><br />[/CODE]

These styles are embedded on the page:

[CODE].quote {display:block;}
p.said {font-style:italic; font-size:14px;}
.clientbox {width:100%;}
.pic {float:right; margin-left:15px;}
.siginfo {float:right; width:auto; text-align:right; margin-top:5px;}
.practice {font-size:10px;}[/CODE]

Can you tell me how to straighten out this code so that the .clientbox should encompass all of these elements except for the <hr>, so that I can then repeat the .clientbox code down the page, seperated by the <hr>s in between?

Thanks so much,

John

to post a comment
CSS

2 Comments(s)

Copy linkTweet thisAlerts:
@FangMar 05.2010 — .clientbox {overflow:hidden;}
Copy linkTweet thisAlerts:
@johndoveauthorMar 05.2010 — You are the man. Thanks so much!

J
×

Success!

Help @johndove spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.20,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...