Go Back   CodingForums.com > :: Client side development > HTML & CSS

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 07-13-2005, 02:13 AM   PM User | #1
tns123j
Regular Coder

 
Join Date: Oct 2004
Posts: 117
Thanks: 0
Thanked 0 Times in 0 Posts
tns123j is an unknown quantity at this point
background image uneven with regular image

Code:
div.top {
border: 10px solid #CCCCCC;
border-bottom-width: 0px;
padding: 0px;
background-image: url(menutile.jpg);
}
The code above yields this .

It is uneven with the normal image, though both are the same size. I simply want to tile the bg image to the border even with the normal menu images. What am I doing wrong?
tns123j is offline   Reply With Quote
Old 07-13-2005, 03:50 AM   PM User | #2
Pepe, the bull
Regular Coder

 
Pepe, the bull's Avatar
 
Join Date: Feb 2005
Location: Vancouver, WA
Posts: 163
Thanks: 1
Thanked 16 Times in 16 Posts
Pepe, the bull is on a distinguished road
I'm not exact sure how "correct" this code is, but it does the job. Just add this to your css. I only tested it in FF, and it worked there.
Code:
div.top img{
vertical-align: bottom;
}
__________________
Pepe, the bull
Pepe, the bull is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 06:13 AM.


Advertisement
Log in to turn off these ads.