views:

38

answers:

1

I am using joomla 1.5 for one of my cms projects. In the top-left corner there is a box with a curve image. But it shows a rectangle box. When I view the source using firebug its shows the curve image so please help me whats problem besides it.

my site url is http://sunflowerhospital.in/

thanks in advance

Praveen Kalal

A: 

Wow, you should seriously consider recoding all of those tables in to some clean DIVs. You've got like 5 nested tables right around the news box that makes it near impossible to tell what is going on.

Anyhow, I digress. The problem is that the image is 184px wide while your box is only 170px wide. The curves are there, but they are outside the bounds of the table.

Brent Friar
thanks but i din get what you actually want to say.
Praveen kalal
Your image is wider than the box. Change background: url(../images/box-top.gif) no-repeat top center to this: background: url(../images/box-top.gif) no-repeat top left;
Brent Friar
ok thanks man thanks a lot
Praveen kalal
but if i use this one background: url(../images/box-top.gif) no-repeat top left; its show the curve on left side only but not on right side we need the curve for both side
Praveen kalal
Right, you will either have to make the image smaller or the box wider.
Brent Friar
ok thanks a lot sir
Praveen kalal