Cascading Style Sheets (CSS) is a style sheet language used for describing the presentation semantics (the look and formatting) of a document written in a markup language.

learn more… | top users | synonyms

1
vote
1answer
46 views

Visualforce Styling

I have a VF page in which I have a form (Total two forms) which includes a pageblock section. I want to change the background color of the form using CSS. How do I do it? I have tried creating a CSS ...
1
vote
1answer
18 views

Styling of Component.Apex.TabPanel (Dynamic visualforce tabpanel)

I have created a dynamic tab panel. I wish to style this tab panel's tabs. These might happen using custom css but custom css is working for static apex:tabPanel and not for dynamic tabs created ...
0
votes
1answer
23 views

Get page block table to next page

I am creating and pdf page which is having a Page block table. I am having about 40 + items to display on it. My table is getting break in between. I want to display it on another page with with same ...
-3
votes
1answer
45 views

Can anybody help me showing bullets and numbering when we render as pdf from visualforce [closed]

Want to format description of all records and render as pdf. Formatting includes, Adding bullets and numbering, Font color for description (other than red, yellow, blue, green colors). Thanks in ...
2
votes
3answers
49 views

How can i apply css style for pageBlock title? can i use image as pageblock title?

I want to apply some styles to PageBlock title like changing font color, style and background color. and Can I assign image or logo as pageblock title.. Give me some working example. this is my code: ...
-2
votes
1answer
41 views

CSS is not working with PDF not bale to get alignment and border properly.

I have VF page which I am rendering as pdf. I wrote some css for alignment div. The alignment of div is correct in VF page. But when I convert the page to pdf all the alignment get changed. I have ...
3
votes
1answer
47 views

CSS not working properly

I have VF page where I have css in style. The css works when it is a normal page. Issue comes when we change the page to pdf. When I render the page as pdf the css written on VF page is getting ...
4
votes
2answers
143 views

Visualforce and CSS - nothing

I can't get any CSS to work at all. Am I missing something extremely obvious? EDITED to include URLfor <apex:page standardStylesheets="false" showHeader="false" > <apex:stylesheet ...
3
votes
1answer
51 views

float table to bottom of PDF?

For our quote PDF i am trying to get a table containing the customer invoice/delivery address to float to the bottom of the PDF page, however when I try usual CSS I get a PDF generation error. Is ...
2
votes
1answer
34 views

OutputLink in a list only works for last link

I have a very simple Visualforce page. It is not using a controller, it is mostly a splash page. I wanted to use outputlink tags in a list. I'm using CSS styling to determine how my headers look, and ...
2
votes
1answer
52 views

Floating divs side-by-side that contain Apex:repeat without table?

I'm an Apex developer that's trying to style a few Visualforce components within divs, but I have absolutely no web development experience so I was hoping someone could point out what I'm doing wrong ...
1
vote
1answer
50 views

renderAs pdf is not working with the footer at the bottom

I'm new in Salesforce but I have a quote that I need to show as a PDF with a header and a footer but just in the last page. Actually is working with renderAs="pdf" But is not showing the footer at the ...
0
votes
0answers
28 views

Visualforce inserting blank space in place of <li> on apex:dataList

I have a page with some css. There is a tag inside which I am displaying few items from a list using . My code works in such a way that when the page loads, one row and four columns of data are ...
0
votes
1answer
38 views

CSS style issue for PDF in Visual force email template

I have one visual force email template which sends an attachment in PDF format. I have given style class for fields in the PDF, but the given CSS does not works for the PDF. Please help me out.
1
vote
1answer
43 views

what is the use DOM in sales force where we can use that?

I have understanded the abbrevation of DOM,but iam not understanding what is use of that in sales force.Is there any link between xml and DOM.
0
votes
1answer
36 views

wordwrap css property for rich text fields?

I have a description field of RTA and the text in the field is as below: <p ...
1
vote
0answers
22 views

Is it possible to inject css into standard Salesforce pages

Our designer wants to change the look and feel of the header and sidebar of the salesforce pages including standard ones. I can't think of the way of injecting css code into standard pages. Is that ...
1
vote
1answer
23 views

Mismatch of alignments of fields in CSS

This may be pretty simple, but for me its like a hell. The code I tried was in both apex and html5. I want to get the fields in a proper way.I want to get state field under city and country field ...
0
votes
1answer
38 views

Custom styles getting overrided by salesforce default CSS after rerendeing

I have visual force pages where i have put custom CSS and everything was working fine till yesterday. For eg I have CSS file style.css which i have included at the top my my salesforce page and it has ...
2
votes
2answers
177 views

How to improve inputField alignment and width in Visualforce?

I am displaying inputFields in a pageBlockSection. Input fields do not seem to be aligned properly. I see fields of different sizes. They are only left aligned. Right side is varying. How to align ...
2
votes
1answer
16 views

Shifting an image down

I have a search bar along with a search and clear button. What I would like is for the clear button to be centered with the search button. I have tried using padding-top on the image as well as it's ...
0
votes
0answers
18 views

Changing the table layout according to the number of characters of a cell

I have formatted the following tables, as it's shown in the figure below. Actually the png describes the usecase when one of the cells, is really long. I would like to adjust: the layout of the ...
1
vote
2answers
141 views

How to add white space to visualforce page?

I'd like to add white space to visualforce page I created, so that there is much more white space under Force.com Dashboards. For example, I have the below visualforce code, and I've tried to add ...
0
votes
0answers
52 views

arshaw Jquery full calender not working in force.com enterprise edition

I have used this http://www.codebycody.com/2013/06/create-calendar-view-in-salesforcecom.html to integrate jquery calendar.. It's working fine with developer edition but same code if i copy in ...
0
votes
1answer
52 views

Pass border in Table

now i am creating a visualforce page and in VF page, i am passing map list and display using apex repeat. now i am facing problem when i want to get border in table. VF Page:- <apex:page ...
0
votes
2answers
124 views

Use standard stylesheet with custom for Chatter VF page

I am designing a custom styled vf page that will show the user's chatter feed. I am trying to use the chatter:feedWithFollowers component but all the styling goes away when I use the ...
1
vote
2answers
20 views

Which, if any, of the licences give you access to custom CSS styling?

I work for a charity that uses salesforce for an online database. Our admin profiles have full 'platform' or admin licences that appear identical to the what you get when signing up for a new ...
2
votes
2answers
42 views

Handling styling CSS in renderAs PDF with Escape option

I'm using escape attribute to have my exact design to be printed on PDF. BUt, i can't able apply styling for this output text: <apex:outputText value="{!tic}" escape="false" styleClass="h2" > ...
0
votes
0answers
31 views

Saving CSS in SalesForce website

I keep getting this error that's driving me nuts whenever I try to save my CSS file. What are SalesForce' restrictions on CSS? What would cause this? I'm quite certain that there is nothing wrong ...
1
vote
1answer
136 views

Changing color of field label when Checkbox == True

I asked this question on another forum, but I guess it would make a bit of sense to ask on a SalesForce forum. My goal is to have a checkbox field named "Inactive" and whenever the checkbox == false, ...
1
vote
1answer
123 views

Can't add a font to a custom email template

I've been trying for a while to add a custom font to a custom email template. The issue is the following: on the preview screen, the text font is correct and I see the email as it should be; whenever ...
0
votes
2answers
422 views

Add CSS classes and repeating header to Visualforce PDF

I have a Visualforce page that renders as a PDF. It displays a table of data and an image on the header on each page: <apex:page renderAs="pdf"> <head> <style type="text/css" ...
1
vote
1answer
190 views

Embedded visualforce page get truncated at the end while shown from IE9, but works fine in chrome with default page resolution

grid shown from Chrome: grid shown from IE9 : is there any solution to show the datatable automatically adjust to the salesforce default page size, and what is the mechanism of doing this? ...
1
vote
0answers
139 views

apex:outputfield on hover display value using tooltip

I have a datatable with css overflow : hidden. Now for big digit numbers, I want for a particular column, 15th here, enable on hover show value using tooltip. The hover part is working fine and ...
1
vote
1answer
90 views

Visualforce renderAs PDF sandbox - production difference (Failed to load resource: net::ERR_CACHE_MISS)

We have a visualforce page rendered as PDF that uses some tables and css for simple styling, the problem is that in the production org it's not displaying any of the css (we are even using some old ...
0
votes
2answers
43 views

Populate CSS value from the controller

I have a data table on my vf page and I want to set the width of td and th. Now this width depends on the number of columns present in the table which are dynamic. So if there are 8 columns the width ...
0
votes
1answer
110 views

how to add img url to apex css style

I am trying to add a background image to a tab in my salesforce Account tab. Below is the code that i am using. Active should give me an url to image that looks like this. Which should be the ...
2
votes
1answer
33 views

commandbutton changes its postion when shown using inline-edit shownonedit from when shown using javascript function

I have 2 commondbutons inside a div, initially display hidden . <div style="width:1000px;height:50px;text-align:left;"> <apex:commandButton value="Save" ...
1
vote
1answer
45 views

Display a pdf pages rerendred with visualforce horizontally

I have a visualforce rerenderAs pdf, my question is if there is a way to display my pdf pages horizontally, not vertically. Thank you
1
vote
1answer
63 views

How to highlight the CommandLink in Visualforce page

Can anyone tell me how to highlight the command link(similar to tabs) in visualforce page? For example There are four command links in my vfp. like commandlink1,commandlink2,commandlink3 and ...
2
votes
1answer
315 views

Is it possible to add the custom style for Dependent Picklist

Is there anyway to add the custom style for dependent picklist in viusalforce page? I have created the visualforce page with custom style dependent picklist . But it works for only contolling field ...
2
votes
1answer
407 views

Font files in Static Resources resolve to 404

I have a CSS file in the Static Resources and in that I have styles for specific fonts. These fonts are also in the Static Resources. If I paste the URL for the font files (ie. font.ttf) into the ...
1
vote
2answers
118 views

Column background color in pdf

Please someone let me know how to get a colored background of a column in pageblocktable in an apex visualforce page with renderAs pdf. I have tried with this. It works in pages but fails for pdf. ...
0
votes
0answers
137 views

Windows Surface Pro Tablet media queries in S1

Are there media queries that will target the Windows Surface Pro Tablet in portrait and in landscape modes? I've tried the following but the styles are not changing on orientation change. @media ...
0
votes
0answers
26 views

How to restrict the data according to the dimension of a table in VF page rendered as PDF

Please consider the following scenario and help me with a probable solution: I am rendering a VF page into a pdf. At a pre-defined location on the page, there is a (using apex:repeat) with specific ...
2
votes
1answer
125 views

Theme for all of salesforce pages

I have been tasked with modifying our salesforce page to look like our company's theme, but it seems like Visualforce is the only way and that I have to create one for each page that exists within ...
7
votes
1answer
84 views

Should I add Sandbox support to VFFiddle? [closed]

I'm working on some updates to to VF Fiddle. I want to gauge the interest in running fiddles in sandbox and get some feedback on the security concerns. Because fiddles are not reviewed they could ...
1
vote
2answers
75 views

Add transparent color code in apex tag

Hi in my meter gauge I have to add a transparent white color <apex:gaugeSeries dataField="size" donut="50" colorSet="#78c953, #FFFFFF" tips="true" /> i.e. I need: colorSet= "#78c953, ...
2
votes
0answers
130 views

Get print of visualforce page containing different charts

I am creating a dynamic dashboard using Vf Charts. I am having about 18 different charts on a single visual force page. I have added a print button on the visualforce page to print all the charts on ...
1
vote
1answer
105 views

Print AMPscript Variable inside HTML <tag> as attributes

So I am using ExactTarget templates and content areas to build my emails. In my templates I have AMPscript variables defined in the < head > and that will determine how elements in my content areas ...