Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > Basic CSS help (text "blocks")

Basic CSS help (text "blocks")
Thread Tools
Wes
Junior Member
Join Date: Apr 2001
Status: Offline
Reply With Quote
Jan 27, 2006, 10:55 PM
 
I'm sure this has been answered here before, but I couldn't find it.

I'm working on designing a site and would like to have news articles in "blocks" of text. These blocks have a background image (a simple inner shadow). I can get the text to look fine using a 1 pixel high backing image, but I can't get the image across the top to work quite right (or the bottom for that matter).

The background image is a rounded rectangle, and I just want to know a way to get the top and bottom image connected to the text.

I saw a way to do this using headers, but was rather confused by it. If anyone can offer up a simple way to do it, or point out a guide that would be great.
     
SirCastor
Professional Poster
Join Date: Jan 2001
Location: Salt Lake City, UT USA
Status: Offline
Reply With Quote
Jan 30, 2006, 02:10 AM
 
Do you have a visual example of what you're trying to accomplish?
2008 iMac 3.06 Ghz, 2GB Memory, GeForce 8800, 500GB HD, SuperDrive
8gb iPhone on Tmobile
     
Wes  (op)
Junior Member
Join Date: Apr 2001
Status: Offline
Reply With Quote
Jan 30, 2006, 03:11 AM
 
Here is a basic shot of what (I think) I'm going for. If there is an easier way feel free to enlighten me.



The paragraph text will have a set background image one pixel high to accommodate varying paragraph lengths. The top and bottom portions (containing the rounded edges) have to align correctly with the paragraph.

...how?
     
skalie
Mac Elite
Join Date: Mar 2002
Location: Clogland
Status: Offline
Reply With Quote
Jan 30, 2006, 04:10 AM
 
Originally Posted by Wes
I'm sure this has been answered here before, but I couldn't find it.
Check out this thread ( search seemed to be working all of a sudden )

http://forums.macnn.com/showthread.p...hlight=rounded
     
   
 
Forum Links
Forum 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
Top
Privacy Policy
All times are GMT -4. The time now is 07:37 AM.
All contents of these forums © 1995-2017 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.8 © 2000-2017, Jelsoft Enterprises Ltd.,