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 December 30th, 2003, 01:57 PM
esthera esthera is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2003
Posts: 138 esthera User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 5 h 2 m 11 sec
Reputation Power: 6
css background help

I created a menu and the menu has a background tab.

Here's the css code:

.menu {
FONT-FAMILY: Arial, verdana, helvetiva, sans-serif;
font-size: 14px;
color: #0050A4;
text-decoration: none;
background-image: url(images/menu.gif);
background-repeat: no-repeat;
background-position: left bottom;

}

Here's the html

<td width="107" height="28" class=menu align="middle" valign="center">
<A class=menu2 href="profile.html" >Profile </A>
</td>



Now the problem is that the menu's are cutting the image on the right. The curve of the image is not coming up. The width in the html is the width of the image.
Does anyone know why this may be happening?

Reply With Quote
  #2  
Old December 30th, 2003, 02:03 PM
nolachrymose nolachrymose is offline
The Forest
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2002
Posts: 321 nolachrymose User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 7
Possibly because of this line:
background-position: left bottom;

Try removing it, or changing it to this:
background-position: top right;

Hope that helps!

Happy coding!

Reply With Quote
  #3  
Old December 30th, 2003, 02:17 PM
john-formby john-formby is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2003
Location: Formby
Posts: 52 john-formby User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 9 m 39 sec
Reputation Power: 5
Are you using any cellpadding or cellspacing in the table? Do you have a link?

Reply With Quote
  #4  
Old December 31st, 2003, 11:53 PM
esthera esthera is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2003
Posts: 138 esthera User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 5 h 2 m 11 sec
Reputation Power: 6
nope the problem is not because of the alignment. I wanted it aligned that way. I finally figured it out. My table was too small so they all mushed and didn't show the whole background. I changed the width of the table and it worked.

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignCSS Help > css background help


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