3 replies [Last post]
znaps
Offline
newbie
Last seen: 18 years 36 weeks ago
Joined: 2003-10-30
Posts: 3
Points: 0

Check out this page:

http://www.addr.com/~aidano/tabs/brokenTabs.htm

Why is the background messed up on the long tab? I've adapted this from an article on alistapart.com.

briski
briski's picture
Offline
Elder
London
Last seen: 10 years 3 weeks ago
London
Timezone: GMT+1
Joined: 2004-02-16
Posts: 1066
Points: 0

Please help me fix this display problem

Because you right000.gif image needs to be wider.

If you want ANY size of tab to be accounted for you would need a third image, one with the left corner one with the right corner and then one with the just the middle but.

Then you would need an extra span or something to apply it to.

Personally I would just make the image a bit longer.

ClevaTreva
ClevaTreva's picture
Offline
Guru
A hilly place, UK
Last seen: 3 years 35 weeks ago
A hilly place, UK
Joined: 2004-02-05
Posts: 2902
Points: 0

Please help me fix this display problem

Hi

It's because the background image (right000.gif) is only 400 pixels wide. When the tab gets too wide, it can't fill it. Edit the image and make it longer.

Trevor

znaps
Offline
newbie
Last seen: 18 years 36 weeks ago
Joined: 2003-10-30
Posts: 3
Points: 0

Please help me fix this display problem

thanks guys. I realised the error after I posted this. I'll experiment and try and get a 3-image background.