간단한 VF 탭 인터페이스를 구현하려고합니다. 내가visualforce 배경 이미지가 표시되지 않습니다.
<style type="text/css">body { background-image: url("images/back.jpeg") }
로 내부 "이미지"폴더 배경 이미지와 필요한 CSS를 포함하는 zip 파일을 업로드 한 다음 내가 구현하는 방법입니다.
<apex:page id="thePage" sidebar="false" showHeader="false" tabstyle="Invoice_Statement__c" standardController="Invoice_Statement__c" standardStylesheets="false">
<apex:image url="{!$Resource.header}" width="1250" />
<apex:stylesheet value="{!URLFOR($Resource.myStyles, 'styles.css')}"/>
<style type="text/css">
p { background-color: ;}
tabPanel{ background-color:blue;}
.activeTab {background-color: #236FBD; color:white; background-image:none}
.inactiveTab { background-color: lightgrey; color:black; background-image:none}
</style>
<apex:tabPanel switchType="client" selectedTab="name1" id="theTabPanel" tabClass="activeTab" inactiveTabClass="inactiveTab">
..
..
..
</apex:tabPanel>
</apex:page>
제 생각으로 배경이 표시되지 않습니다. 나는이 링크를 따라 ->http://www.salesforce.com/us/developer/docs/pages/Content/pages_styling_custom.htm 내가
<apex:image url="{!$Resource...}" width="1250" />
하고 작업을 미세
를 사용했다,하지만 난 내 앱의 배경 이미지를 얻을 수 없습니다입니다. 어떤 제안? 사전에덕분에 MNZ
을 이미지를 가정하면 myStyles에 forlder 정적 자원으로 zip 파일을 ps : salesforce.stackexchange.com에서 Salesforce 관련 질문을 매우 환영합니다! –
@Sdry를 제안하는 Thnx. 나는 그날에 합류하여 사랑했습니다. – MnZ
알아 두었던 :-) –