Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

HTML Forum


You are currently viewing our HTML Forum as a guest. Please register to participate.
Login



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Reply
Old 02-26-2010, 07:13 PM Help With Blockquote
dcloud's Avatar
Experienced Talker

Posts: 49
Name: Doug
Location: Michigan
Trades: 0
I am trying to make a blockquote for my blog. You can see a screenshot of the blockquote I designed here. I tried doing this with CSS, but couldn't get it to work. Next I tried making it out of divs. Finally I tried a combination of both.........

Code:
<style type="text/css">
<!--

#container {
background:#FFFFFFF;
width: 364px;
margin: auto;
}

#top {
width: 364px;
margin: auto;
}

#quoteleft {
float: left;
width: 7px;
background: url(/img/quoteleft.png);
}

#quoteright {
float: right;
width: 3px;
background: url(/img/quoteright.png);
}

#content {
text-align:center;
background:#FFFFFF;
font-family: 'Trebuchet MS', Arial, Helvetica, sans-serif;
color: #4F3314;
font-size:11px;
margin: auto;
}

#bottom {
clear: both;
width: 364px;
margin: 0;
}

-->
</style>


<div id="container">
<div id="top"><img src="/img/quotetop.png"></div>
<div id="quoteleft"><img src="/img/quoteleft.png"></div>
<div id="quoteright"><img src="/img/quoteright.png"></div>
<div id="content">Sound effects lack punctuation with the one exception of when you intend to seem cartoony. A noise is not a word, and the emphasis and design aesthetic you impart when designing your sound effects should be enough to give it "punch". SFX punctuation may seem trite these days because designers in mainstream media often try to invoke a "comic book feel" with graphics campaigns using affected sound effects. The best example I can think of is recently Gap Kids created a campaign of in-store banners that featured comic book sound effects reminiscent of the 60's Batman TV show - these types of uses are designed to instantly read "comic book" to consumers who really have no idea how actual comic lettering looks.</div>
<div id="bottom"><img src="/img/quotebtm.png"></div>
</div>
This still doesn't work and I've been at it all day. You can see the results of my poor attempt on my test blog here. If anyone could give me a hand with this I would sure appreciate it.

Thanks.
__________________
-- “I draw therefore I am...”

Last edited by dcloud; 02-26-2010 at 08:12 PM..
dcloud is offline
Reply With Quote
View Public Profile Visit dcloud's homepage!
 
 
Register now for full access!
Old 02-26-2010, 07:50 PM Re: Help With Blockquote
dcloud's Avatar
Experienced Talker

Posts: 49
Name: Doug
Location: Michigan
Trades: 0
Here's another version I tried....

Code:
<div style="width: 364px; margin: 0 20px 0 30px;"><img src="/img/quotetop.png"></div>
<div style="width: 364px; margin: 0 20px 0 30px; background: url(/img/quotemid.png) repeat;">Sound effects lack punctuation with the one exception of when you intend to seem cartoony. A noise is not a word, and the emphasis and design aesthetic you impart when designing your sound effects should be enough to give it "punch". SFX punctuation may seem trite these days because designers in mainstream media often try to invoke a "comic book feel" with graphics campaigns using affected sound effects. The best example I can think of is recently Gap Kids created a campaign of in-store banners that featured comic book sound effects reminiscent of the 60's Batman TV show - these types of uses are designed to instantly read "comic book" to consumers who really have no idea how actual comic lettering looks.</div>
<div style="width: 364px; margin: 0 20px 0 30px;"><img src="/img/quotebtm.png"></div>
This one seemed to work better, but the problem is the text runs over the edges and the background image is repeating horizontally.
__________________
-- “I draw therefore I am...”
dcloud is offline
Reply With Quote
View Public Profile Visit dcloud's homepage!
 
Old 02-26-2010, 07:50 PM Re: Help With Blockquote
Webalized's Avatar
Experienced Talker

Posts: 33
Trades: 0
I would make it with 3 divs, one that is for the top rounded part, which is a photoshop image. Another that is the middle part, which will just have a background and will also contain the text, and a 3rd one that will contain the rounded part for the bottom. Then use the margin element of css to position the divs to your liking.
__________________

Please login or register to view this content. Registration is FREE

Webalized is offline
Reply With Quote
View Public Profile
 
Old 02-26-2010, 07:56 PM Re: Help With Blockquote
dcloud's Avatar
Experienced Talker

Posts: 49
Name: Doug
Location: Michigan
Trades: 0
Thanks, but isn't that what I've already done? I used three divs (in the second example) and gave them margins to postion them. Maybe I'm not understanding what you said.
__________________
-- “I draw therefore I am...”

Last edited by dcloud; 02-26-2010 at 08:16 PM..
dcloud is offline
Reply With Quote
View Public Profile Visit dcloud's homepage!
 
Old 02-26-2010, 08:35 PM Re: Help With Blockquote
dcloud's Avatar
Experienced Talker

Posts: 49
Name: Doug
Location: Michigan
Trades: 0
Oops, I see I had the width wrong - it should be 346px. I changed it and now the background image is adjusted correctly, but I still have spaces above and below the middle section.
__________________
-- “I draw therefore I am...”
dcloud is offline
Reply With Quote
View Public Profile Visit dcloud's homepage!
 
Old 02-26-2010, 09:55 PM Re: Help With Blockquote
Webalized's Avatar
Experienced Talker

Posts: 33
Trades: 0
try to use a negative margin. In css you can do something like
Code:
#div-name-here {
margin-top: -20px;
}
this brings the top of the div up 20 pixels from where it is currently
__________________

Please login or register to view this content. Registration is FREE

Webalized is offline
Reply With Quote
View Public Profile
 
Old 02-26-2010, 10:04 PM Re: Help With Blockquote
dcloud's Avatar
Experienced Talker

Posts: 49
Name: Doug
Location: Michigan
Trades: 0
Ok, I tried putting everything inside a table to see how this would look.....

Code:
<table cellpadding="0" cellspacing="0" border="0" width="346px" align="center"><tr><td><img src="/img/quotetop.png"></td></tr>
<tr><td style="padding-left: 20px; padding-right: 20px; color: #663300; background: url(/img/quotemid.png) repeat;">Sound effects lack punctuation with the one exception of when you intend to seem cartoony. A noise is not a word, and the emphasis and design aesthetic you impart when designing your sound effects should be enough to give it "punch". SFX punctuation may seem trite these days because designers in mainstream media often try to invoke a "comic book feel" with graphics campaigns using affected sound effects. The best example I can think of is recently Gap Kids created a campaign of in-store banners that featured comic book sound effects reminiscent of the 60's Batman TV show - these types of uses are designed to instantly read "comic book" to consumers who really have no idea how actual comic lettering looks.
<p class="cite">- Nate Piekos, <a href="http://blambot.com">Blambot Fonts</a></p></td></tr>
<tr><td><img src="/img/quotebtm.png"></td></tr>
</table>
Now it looks great and the only issue is a small blank space right below the top (quotetop) image. Otherwise everything looks great. The "align=center" only works in IE though, it doesn't align it centered in Firefox.
__________________
-- “I draw therefore I am...”
dcloud is offline
Reply With Quote
View Public Profile Visit dcloud's homepage!
 
Old 02-26-2010, 10:22 PM Re: Help With Blockquote
dcloud's Avatar
Experienced Talker

Posts: 49
Name: Doug
Location: Michigan
Trades: 0
I fixed the alignment issue in Firefox with....

Code:
<div align="center">
<!-- table code goes here -->
</div>
Now to get rid of the blank space below the top image and I think I'm all set.
__________________
-- “I draw therefore I am...”
dcloud is offline
Reply With Quote
View Public Profile Visit dcloud's homepage!
 
Old 02-26-2010, 10:26 PM Re: Help With Blockquote
dcloud's Avatar
Experienced Talker

Posts: 49
Name: Doug
Location: Michigan
Trades: 0
Sheesh...scratch that. I thought I had the centering problem fixed, but now I have a new issue. The text itself is fine in Firefox (left aligned), but in IE the text is now centered. I tried "text-align: center;" and that didn't help, either. Plus for some odd reason I have a ton of space above the whole table. Weird. Here's what it looks like on my test blog.

Update: I added a style of "margin: auto;" to the main table and that centered it (in both IE and FF) and it didn't effect the text. I hate having all these styles and tables, but whatever works, eh?
__________________
-- “I draw therefore I am...”

Last edited by dcloud; 02-26-2010 at 10:39 PM..
dcloud is offline
Reply With Quote
View Public Profile Visit dcloud's homepage!
 
Reply     « Reply to Help With Blockquote
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.66570 seconds with 12 queries