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

0
votes
1answer
19 views

Remove the Extra Space between Labels

Here is my VF Code: <span style="padding:10px;"> <label>{!wrapper.used}</label> / <apex:outputLabel value="{!wrapper.total}"/> USED ...
1
vote
1answer
8 views

Cannot create custom themes for salesforce

We are trying to create a custom salesforce theme following these instructions: https://www.youtube.com/watch?v=EdNJwzhok_M Navigate to Setup | Personal Setup | App Setup | Customize | User ...
0
votes
1answer
29 views

How to style radio button labels in VisualForce Page

I am having a lot of trouble styling the radio button labels in my page. In the image below you can see that the style of the radio button labels is completely wrong - they should all be the same as ...
1
vote
1answer
15 views

Single apex message coming in red but not multiple apex messages [duplicate]

Couple of days back , I had a problem like i have a page message and I want the text to be in red color. after applying some css it worked out well.But if i am showing more than one error ,then only ...
2
votes
1answer
14 views

standardStylesheets attribute doesn't work properly

I can't get it work as it should. The code rendered even for an empty page: <apex:page standardStylesheets="false" standardController="Opportunity"> </apex:page> Includes: <link ...
1
vote
1answer
18 views

Is it possible to line up PanelGrid with PageBlockTable or hard code a pageblocktable

So I have a data entry grid that is a pageBlockTable. I'd like to put instructions below the grid. What control can I use to make the grids line up? This is the data entry section ...
0
votes
0answers
28 views

Display All the Images from static resource zip file in One Div element for carousel effect

I Want to do a carousel effect in visualforce page and I achieved that somewhat. I have static resource zip file which contains four images in it. For carousel effect am just giving the names of the ...
0
votes
0answers
9 views

Lineup Embedded Visualforce Page

I have a very simple embedded VF page that displays a colored box with text if a checkbox is checked. All works fine, but I would like to line up the right edge of my colored box with the right side ...
0
votes
1answer
35 views

ReRender Page using Anchor Tag

How can I make the whole tab, using an anchor tag in <li> tag, be clickable and to render resultant page? Code: <div id="tabs-container"> <ul class="tabs-menu"> <li ...
0
votes
1answer
42 views

How to refer SVG/Images from Lightning Design System static resource to Lightning app?

Please guide me in using SVG/Icons given in Lightning Design system in Lightning component. Is it through ltng:require? EDIT: I need to refer SVGs in the LDS Bundle(static resource).
0
votes
0answers
27 views

SLDS grid flexbox CF

Trying to mimic the layout of the default New Case modal that displays with two columns side-by-side in the form. Can't seem to figure out what I'm missing here but it's rendering all kinds of weird ...
0
votes
1answer
31 views

what css framework suits better for embedded js applications?

I have some embedded js application consuming remote scripts from Force.com, right now I'm using bootstrap but it has a lot of conflict with the Force.com default css. I want to know if there is a css ...
0
votes
2answers
38 views

ExactTarget support of Bootstrap CSS v3.3.5

Can you please let me know if ExactTarget Support Bootstrap CSS v3.3.5. I am trying to use it on a landing page and it doesn’t seem to work. I have an HTML that works fine, but when I copy the HTML ...
1
vote
1answer
26 views

Css is not working when rendering a visual force page in site.com

I have a visual force component and I added it to a visual force page. The component contains a css code as: @media only screen and (min-device-width : 320px) and (max-device-width : 480px) { ...
-1
votes
1answer
32 views

Unable to apply styles through DOM for renderAs pdf pages

I have a page .I'm using it as pdf page.I made some css changes using jQuery.Without using renderAs="pdf" tag ,everything is working fine.But if I use renderAs="pdf" tag, the changes through DOM are ...
0
votes
3answers
44 views

How do you style the command buttons so they are bigger?

I have a few command buttons on 2 different VF pages. How do I style the buttons so they are bigger? <apex:commandButton value="do something" action="{!myAction}" /> When I do it, it looks ...
2
votes
1answer
28 views

CSS styles of a chatter page in iframe don't update

I have inserted the chatter page of salesforce in an iframe: <iframe id="showPage" src="{!$Site.Prefix}/_ui/core/chatter/ui/ChatterPage" style="width:100%; height:600px; margin:0px;" ...
1
vote
2answers
104 views

Adding footer on every page generated using Visual Force

Hello I have the below VF page which I use to generate a letter. I am not using "visualforce page that is rendered as PDF". I searched about "visualforce page that is rendered as PDF" but when I tried ...
1
vote
1answer
42 views

Standard CSS for Edit Page

Does anyone know how I can access the standard CSS styling that SFDC uses for a record's edit page? I used pageBlock, pageBlockSection,a dn pageBlockSectionItem tags to mimic the styling, but I'm ...
0
votes
1answer
59 views

Any solution found for word-wrap in VF PDF?

Searched nearly one day but could'nt find the solution for this. There are lot of questions regarding word-wrap is not working on pdf but none of them have answers. am just fetching the contacts ...
1
vote
2answers
84 views

How to center align tab panel tabs

say I have the following. <apex:tabPanel selectedTab="Tab 1" > <apex:tab label="Tab1" name="Tab1" id="tabOne" /> <apex:tab label="Tab2" name="Tab2" ...
1
vote
1answer
26 views

Border not showing for Button Group with hidden Button

I have a Button Group with three buttons in it. However the left most Button is hidden by default and only becomes visible when the center Button is clicked. My problem is that the left border of the ...
0
votes
1answer
55 views

ExactTarget and CSS use on templates

I created an e-mail template, of Paste HTML type, with the code below: <html> <head> <style type="text/css"> .test1{color:#FF0000} .test2{color:#00FF00} ...
0
votes
0answers
16 views

Article rendering different in community

My article rendering in community is not working fine . It is taking the default CSS theme , and showing some ambiguous result. Is there any possibility to override the css for article rendering in ...
1
vote
1answer
18 views

VisualForce Global Template

I'm relatively new to Salesforce, and I've been tasked with cleaning upon some of our VisualForce pages as they are in a bit of a mess. At the top of every page we are constantly including various ...
1
vote
1answer
51 views

How to ensure that a non-cached version of external script will be loaded using <ltng:require> in Lightning Components?

As described here http://docs.releasenotes.salesforce.com/en-us/spring15/release-notes/rn_lightning_load_resources.htm you can load external JS or CSS files (stored as static resources) like this ...
0
votes
1answer
68 views

Css in Vf page not working

Trying to use this css to display page numbers from second page...it should start page number from second page like this 2,3 and so on...this my css class.It is starting from page 1 and coming as ...
-3
votes
1answer
58 views

merge Bootstrtap in visualforce

I have a page made in bootstrap and i want to merge that page in visualforce. Is it possible..Can someone please help me out here and let me know hou this can be done
2
votes
0answers
65 views

Make 2nd page blank when render as PDF

I have varying content tables in my visual force page. There will be only one table in first page. But when it overflows, it should extend to 3rd page instead of 2nd page. I am also having a running ...
0
votes
2answers
86 views

Border css not working in my visualforce

i have an issue, my visualforce css not working. when i use renderAs="PDF". somehow my border css does not working but another css working properly. i already try all answer on this forum but still ...
0
votes
0answers
30 views

how to get the filename and filebody?

$(function(){ $('#clickme').click(function(){ $('#uploadme').click(); }); $('#uploadme').change(function(){ $('#filename').val($(this).val()); }); }); <input ...
0
votes
1answer
22 views

Changing CSS of narrow visualforce homepage component

Since the HTML area component has a bug when using its tool to add URL links, I'm attempting to create a VF page for use on our sidebar. It's quite simple: Just a text message followed by an external ...
0
votes
1answer
57 views

How to call multiple functions when using onRowClick in datatable?

I have a table with rows and want to highlight the selected row and render row details underneath the table when that row is clicked. I'm currently using method from this question which I will copy ...
2
votes
2answers
50 views

Help with apex pages and css

I have an apex class with the following content public class RemoteGoogleController { transient public string googleHome { get; set; } transient public string googleHome1{ get; set; } ...
1
vote
1answer
214 views

How to open a visual force page as modal window from another visual force page

I have visual force page with a custom "Login" button.I need to open login visual force page as modal window, when we click on login button. I have implemented the code like below: ...
0
votes
1answer
34 views

Can the tab menu in the service cloud be horizontal and customize with CSS

Can the tab menu in the service cloud be horizontal and customize with CSS
0
votes
2answers
296 views

Center Commandbutton in Embedded Visualforce Page

I have created a Visualforce page that is just a commandButton and is embedded in the Opportunity layout. All works fine, however, I am having an issue with formatting. I would like this VF page ...
1
vote
1answer
93 views

SelectRadio in HTML Table forces linebreak

So I have a table, and I'm looking to have and inline SelectRadio. The Issue is that it is being pushed to the next line. I've tried a few things, but haven't been able to figure it out. Any ...
0
votes
2answers
283 views

Multiple tables not vertically aligned inside a PanelGrid

So I have three tables, side-by-side, in a panel grid (columns=3). The first two are aligned perfectly. The third is horizontally aligned... but vertically, it's at the bottom. See pic. ...
-1
votes
1answer
52 views

Put Self-Service Login Page in an iframe to avoid repetition when loggin in / I frame not loading

I need help with my Self-Service Login Page as is working OK when you load the page. However, when you log in you get a white screen can you help me please with this problem ASAP. ...
0
votes
0answers
74 views

Using bootstrap without using VisualStrap

I know this has been asked multiple times but as usual there was no definitive conclusion. Same old story - I amk using bootstrap but my Salesforce UI gets distorted. I know the solution of using ...
1
vote
1answer
38 views

Reference Image in Salesforce Documents as CSS Background-Image

Is this possible to use a image stored in documents as a background image in css? So something similar to this -- background-image: ...
1
vote
1answer
23 views

CSS file version will not update in Site.com. How to force it?

For some reason, an update to Site.com is not updating the version call for the css file. Site.com forces the call to the css file in the head to have a version number. (eg, ...
1
vote
1answer
901 views

How to change color on One particular pageBlockSection?

I have Change the color using CSS. But i want change the color on one particular pageblocksection. How can i do that. I tried several methods, but does not work. Thanks <apex:pageBlockSection ...
0
votes
1answer
93 views

Salesforce Apex pages not rendering CSS properly on mobile devices

I've added styling to two pages in one of our SalesForce sandboxes that are using a shared external stylesheet as well as Bootstrap. They're sign up forms for a program that we're going to be ...
1
vote
1answer
102 views

apex:repeat styling does not work with renderAs PDF

I am creating custom quote PDF and trying to apply alternating colours for the Product Line table and here is the code that I am using: This below code, does not show alternating colours. ...
0
votes
0answers
114 views

how to hide menubar from a browser without refreshing a page using jquery

I need to hide the menubar from a browser onloading of a visualforce page(onclicking of a custom tab). By using window.open() in jquery we can hide menubar but the page will open in a new window. I ...
0
votes
0answers
48 views

CSS not included in PDF attachment

I am having trouble attaching and emailing a PDF that uses Bootstrap CSS. When opening the visualforce page of the PDF myself there are no issues because the styling is loaded. But in Apex when using ...
1
vote
1answer
21 views

Edit css of standard email page in salesforce

Cases > Activity History > Send an email This "send an email" page has fields like To, Additional To, CC, BCC, Subject, Body My requirement is I have to hide/ not show BCC on this page. I thought ...
1
vote
1answer
205 views

How to render bullet in pdf using css?

I have visualforce page render as pdf.I want to put bullet.The bullet works well in web but not display in pdf. <apex:page controller="MyController" renderAs="pdf" applyBodyTag="false"> ...