Front Office Football Central  

Go Back   Front Office Football Central > Archives > FOFC Archive
Register FAQ Members List Calendar Mark Forums Read Statistics

Reply
 
Thread Tools
Old 02-12-2008, 12:18 PM   #1
Yossarian
High School Varsity
 
Join Date: Jul 2003
PING Css / Web Gurus. Background image / floaty div / transparency problem.

Hi All,

I am working on a site just now and I want to use a fancy border that our art team has designed.

The border is built from a top section, a 1 pixel high mid-section that I use as a background to allow the border to scale with content and a bottom section.

The way they've drawn the bottom section requires me to float the bottom image up so that there isn't a huge gap between the bottom of the content and the bottom border image.

When I float the bottom image up though, the transparent areas of it allow the 1 pixel high 'middle border' to show through.

I don't know if this is clear in text - so please have a look at my two examples.

With the bottom image sitting naturally after main content, the site looks like this:

http://paidiasoftware.com/borderproblem/example1/

When I shove the bottom image up to make it fit snugly with the main content, i get this:

http://paidiasoftware.com/borderproblem/example2/

Can anyone think of any way that I can move the bottom border image up (by about 100->120px) but not have the side-bar 1px border image showing through?

I can get the designers to remove the transparent areas but this obviously hurts the look.

You can view source from the links above.

Cheers!

David

Yossarian is offline   Reply With Quote
Old 02-13-2008, 06:44 AM   #2
Yossarian
High School Varsity
 
Join Date: Jul 2003
Simple fix. Obvious in retrospect (as usual!)

For anyone interested, you just give a negative margin the div above the bottom image.


http://paidiasoftware.com/borderproblem/example3/
Yossarian is offline   Reply With Quote
Old 02-13-2008, 08:58 AM   #3
Passacaglia
Coordinator
 
Join Date: Oct 2000
Location: Big Ten Country
Css Suxx
Passacaglia is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

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 On
Forum Jump


All times are GMT -5. The time now is 11:56 AM.



Powered by vBulletin Version 3.6.0
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.