Skip to main content

Making CMS in jsp use jmaki framework

2 replies [Last post]
dalai_developer
Offline
Joined: 2008-07-27
Points: 0

hi all, i am mongolia.
i am working cms project for 1 month. i desided to use jmaki framework. i write jsp. But, i have some problem. i want to enter background image banner.i changed "jmaki-standart-footer.css", but style of the mypage didn't change.
....
#banner {
margin: 0px 40px 0px 0px;
padding: 5px 0px 0px 5px;
display:table-cell;
vertical-align:middle;
font-size:35px;
}....
changed
#banner {
margin: 0px 40px 0px 0px;
padding: 5px 0px 0px 5px;
display:table-cell;
vertical-align:middle;
font-size:35px;
background-image: url(../web/images/cmsheader.png);
width: 359px;
height: 60px;
background-color: #6666ff;
}

how to enter background image banner? Help me pls.

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
gmurray71
Offline
Joined: 2003-07-31
Points: 0

For the background you may want to try something like:

background: url(../web/images/cmsheader.png) top right;
width:100px; height:80px;
background-repeat: no-repeat

Images need to loaded relative to the .css file and that might be your problem.

So make sure your image is in the correct location and let us know if this doesn't work.

dalai_developer
Offline
Joined: 2008-07-27
Points: 0

thanks.