Skip to main content

Timeline for Visualforce and CSS - nothing

Current License: CC BY-SA 3.0

20 events
when toggle format what by license comment
Apr 21, 2015 at 19:30 comment added jaw999 I don't know why the simple CSS isn't doing anything. I can get more complicated CSS from others to work, but not all. I was hoping to be able to test my own and found this odd inability to get the simplest to work.
Apr 21, 2015 at 0:04 history tweeted twitter.com/#!/StackSalesforce/status/590305148729167872
Apr 20, 2015 at 20:39 history edited jaw999 CC BY-SA 3.0
deleted 81 characters in body
Apr 20, 2015 at 20:29 answer added Matt and Neil timeline score: 7
S Apr 20, 2015 at 20:15 history suggested Caspar Harmer CC BY-SA 3.0
formatting
Apr 20, 2015 at 20:15 comment added jaw999 Close tags? i don't know how to close, don't see any close tags in the samples i am building from
Apr 20, 2015 at 20:12 comment added jaw999 No, I can only get result when I use the SF provided zip example and use this line: <apex:stylesheet value="{!URLFOR($Resource.stylesSF, 'styles.css')}" /> Very unclear why I can't even get a basic CSS to do anything
Apr 20, 2015 at 19:53 comment added Caspar Harmer So, any luck there?
Apr 20, 2015 at 19:34 review Suggested edits
S Apr 20, 2015 at 20:15
Apr 20, 2015 at 19:33 comment added Caspar Harmer Your css file definition has no closing tag - make sure it's closed properly.
Apr 20, 2015 at 19:29 comment added Caspar Harmer Also, to prevent any other errors, make sure the name of the zipped CSS file is exactly the same name and the name of the static resource. ie, the file should be called cssSampleGREEN and so should the static resource in the web upload interface.
Apr 20, 2015 at 19:28 history edited jaw999 CC BY-SA 3.0
added 83 characters in body
Apr 20, 2015 at 19:26 comment added Caspar Harmer Keep your page definition as you have it. It's fine and if you remove useStandardStylesheets="false" your css may get overridden.
Apr 20, 2015 at 19:24 history edited jaw999 CC BY-SA 3.0
updated to show updates that still don't work
Apr 20, 2015 at 19:21 comment added the_phantom I m saying to keep only showheader as false and remove the other two attributes
Apr 20, 2015 at 19:20 comment added jaw999 I have made false both sidebar, header, and standardstylesheets
Apr 20, 2015 at 19:18 comment added the_phantom If its a zip file then use URLFOR function to reference your static resource.
Apr 20, 2015 at 19:17 comment added the_phantom The code looks ok to me. Try removing both sidebar and standardStyleSheets from apex page definition. Keep showheader as false.
Apr 20, 2015 at 19:11 answer added Caspar Harmer timeline score: 1
Apr 20, 2015 at 19:01 history asked jaw999 CC BY-SA 3.0