CSS Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb DesignCSS Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old February 2nd, 2004, 08:48 PM
iso iso is offline
Contributing User
Dev Shed Novice (500 - 999 posts)
 
Join Date: Sep 2003
Posts: 506 iso User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 Day 10 h 14 m 25 sec
Reputation Power: 6
using 2 background pics in css

I would like to make a menu title bar, but one that will expand depending on the amount of text that is in the menu. so to do this I would like to have a picture at each end of the title that match the background. Is this possible. I tried setting 2 background-images, but that didn't work.

Thanks for the help

Reply With Quote
  #2  
Old February 2nd, 2004, 10:23 PM
vbrtrmn's Avatar
vbrtrmn vbrtrmn is offline
4:04 Time Not Found
Dev Shed Regular (2000 - 2499 posts)
 
Join Date: Jan 2004
Location: Northern Virginia
Posts: 2,003 vbrtrmn User rank is Captain (20000 - 30000 Reputation Level)vbrtrmn User rank is Captain (20000 - 30000 Reputation Level)vbrtrmn User rank is Captain (20000 - 30000 Reputation Level)vbrtrmn User rank is Captain (20000 - 30000 Reputation Level)vbrtrmn User rank is Captain (20000 - 30000 Reputation Level)vbrtrmn User rank is Captain (20000 - 30000 Reputation Level)vbrtrmn User rank is Captain (20000 - 30000 Reputation Level)vbrtrmn User rank is Captain (20000 - 30000 Reputation Level)vbrtrmn User rank is Captain (20000 - 30000 Reputation Level) 
Time spent in forums: 1 Week 1 Day 10 h 13 m 52 sec
Reputation Power: 227
Send a message via ICQ to vbrtrmn Send a message via AIM to vbrtrmn Send a message via MSN to vbrtrmn Send a message via Yahoo to vbrtrmn
You could put all of the items into different <SPAN> tags or tables, though I don't prefer using tables for non-tabular data.

Reply With Quote
  #3  
Old February 3rd, 2004, 01:50 AM
iso iso is offline
Contributing User
Dev Shed Novice (500 - 999 posts)
 
Join Date: Sep 2003
Posts: 506 iso User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 Day 10 h 14 m 25 sec
Reputation Power: 6
I thought about the table one as well, and even in creating a function for it, but there is just something about that approach that doesn't seem right. I thought that there might be a way through css styles

Reply With Quote
  #4  
Old February 3rd, 2004, 10:48 PM
vbrtrmn's Avatar
vbrtrmn vbrtrmn is offline
4:04 Time Not Found
Dev Shed Regular (2000 - 2499 posts)
 
Join Date: Jan 2004
Location: Northern Virginia
Posts: 2,003 vbrtrmn User rank is Captain (20000 - 30000 Reputation Level)vbrtrmn User rank is Captain (20000 - 30000 Reputation Level)vbrtrmn User rank is Captain (20000 - 30000 Reputation Level)vbrtrmn User rank is Captain (20000 - 30000 Reputation Level)vbrtrmn User rank is Captain (20000 - 30000 Reputation Level)vbrtrmn User rank is Captain (20000 - 30000 Reputation Level)vbrtrmn User rank is Captain (20000 - 30000 Reputation Level)vbrtrmn User rank is Captain (20000 - 30000 Reputation Level)vbrtrmn User rank is Captain (20000 - 30000 Reputation Level) 
Time spent in forums: 1 Week 1 Day 10 h 13 m 52 sec
Reputation Power: 227
Send a message via ICQ to vbrtrmn Send a message via AIM to vbrtrmn Send a message via MSN to vbrtrmn Send a message via Yahoo to vbrtrmn
I haven't heard of any CSS method for doing multiple images as a background, sorry.

Reply With Quote
  #5  
Old February 4th, 2004, 03:01 AM
kk5st's Avatar
kk5st kk5st is offline
Thanks Johnny Hart (BC) R.I.P.
Dev Shed Demi-God (4500 - 4999 posts)
 
Join Date: May 2003
Location: Dallas
Posts: 4,659 kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level) 
Time spent in forums: 1 Month 3 Days 11 h 53 m 47 sec
Reputation Power: 687
While you can't put 2 background images into an element, you can fake it. This article at A List Apart describes a method.

cheers,

gary
__________________
There are those who manage to build a web site without knowing what they're doing; thereby proving to themselves they do, indeed, know what they're doing.

My html and css workshop, demos and tutorials.
Ask a better question, get a better answer.

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignCSS Help > using 2 background pics in css


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway
Stay green...Green IT