Hi Ernst,

- there is no real reason for not scaling the images myself to 103 x
103 except for the fact that when wants another size one has to do a
rescaling from the original again. When a program can do an automatic
scaling this is better. The problem with IE8 is known to me, in IE9
this problem looks like to be solved)

- I've done some more experiments and I came up with the following:
#projectlogo img
{
        width: 103px;
        height: 103px;
        background-repeat: no-repeat;
        background-position: 0% 50%;
}

#titlearea:before
{
        content: "";
        position:absolute;
        right:0px;
        width: 103px;
        height: 103px;
        background-repeat: no-repeat;
        background-position: 100% 50%;
        background-size: 103px 103px;
        background-image: url('germany.gif');
}
#titlearea
{
        padding-right:105px;
        width: -moz-calc(100% - 103px);
        width: -webkit-calc(100% - 103px);
        width: calc(100% - 103px);
}

I've not been able to test it on a lot of browsers. I tried opera (as
you suggested), here it unfortunately does not work (and will not work
in the near future either as they say on
http://caniuse.com/#feat=calc_

Best regards,

Albert


On Mon, Oct 1, 2012 at 8:41 AM, Peche <pe...@aon.at> wrote:
> Hi!
>
> * Is there a reason why you want to scale the images in the browser and
> don't scale the images themselves to 103x103?
> (when testing with IE8 the "#titlearea.background-size"-entry was not used
> correctly anyway)
>
> * I used the doxygen.css and it still works OK here. The titlearea is 100%,
> but padding-right is so that the image fits into. Of course you must
> increase it to 103px if you use bigger images.
> * Scaling the image in the :before pseudoelement seems not working
>
> -- Ernst

------------------------------------------------------------------------------
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
_______________________________________________
Doxygen-users mailing list
Doxygen-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/doxygen-users

Reply via email to