stylesheet

use a style.css file from a .swc and build the Flex project with ANT

I have an .SWC library with a style.css file inside. The .SWC file is added to my project and the style.css is used this way: <fx:Style source="assets/style/style.css" /> If I want to build my project with an ANT-script it says that "the external stylesheet couldn't be found". In ANT you need to write the path for assets with an leadi...

Cleaning up CSS files

I have a bunch of CSS files with a bunch of classes. I know a lot are not used. Is there a tool that will scan your site and clean up your CSS files or tell me which ones aren't used? ...

What styles are used by tabStyleName?

The language reference says "Name of CSS style declaration that specifies styles for the tabs. The default value is undefined." But, what is the "type" of style that is being used? That is, what style properties can I put in that style definition. For example, I wish to set the disabledColor of the text on the tab. I couldnt seem to do ...

Overriding css with jquery/javascript

I have a table whose border is set as 1px solid silver from an external style sheet(some .css file). I have no control over this file. This is the css: my_table tbody td { font: 8.5pt verdana, sans-serif; border-top: solid 1px silver; border-bottom: solid 1px silver; overflow: hidden; padding: 0px 3px 0px 2px; } Now I want to change ...

Changing Three20 navigationBarTintColor Causes Gap at Top of Image Gallery ThumbView

I have implemented a Three20 Image Gallery into my App. I want to change the color of the Navigation Bar at the top of the Image Gallery Screen. I have gone into TTThumbsViewController.m and found the lines that read: self.statusBarStyle = UIStatusBarStyleDefault; self.navigationBarStyle = UIBarStyleDefault; If I change these values, ...

Apply different css stylesheet for different parts of the same web page

Hi, I have a web page with different parts which require different css stylesheets to be applied to each. What I would like to know is how to specify which css stylesheet to use for each different part of the web page. if I leave them all together, the components do not get displayed properly. Thanks C. ...

Is the downside of coding styles (css) in jQuery genuinely prohibitive?

I was just reading an article about the non-compatibility of some CSS, when it occurred to me that maybe I should be writing all of my CSS in jQuery. Aside from javascript-disabled browsers, which any ajax website isn't going to support anyway, what's the downside? The benefit, aside from greater browser support, would be the use of var...

Register stylesheet from web control on page with UpdatePanel

What is the best method to register a stylesheet once on a page from a customer web control? Please keep in mind that the page uses an UpdatePanel for async calls. I tried just putting the <link> tag in ScriptManager.RegisterClientScriptBlock(), but I get this error: The script tag registered for type 'MyControl' and key 'MyKey' ...

Flash, actionscript...load and parseXML with scrolling

Hi, I would like to add a component in my flash website which will, 1.load xml data. 2.parse it using stylesheet 3. Have a scrollbar incase xml data is a lot. any suggestions will be helpful ...

Wanting to print a single large image per page, using a print stylesheet on Windows browsers

Hello. I have looked for answers to this on here, but not really found a solution. I basically have print quality images (300dpi) that are taken from PDFs. In this particular project we cannot just resort to PDFs, the button clicked must trigger the print command in the browser so 1 or 2 large print quality JPGs can be printed, one per...

Add style switcher to Rails App admin section?

Hi Everyone, I have been working on a Rails template recently called BaseApp2. You can see it on GitHub here: http://github.com/dannyweb/BaseApp2 There is an administrators section setup which allows the management of Users and I am working on the ability to add announcements to the public site via the admin section. What I would rea...

Valid workaround for <style> tags inside of <body> to add custom CSS?

I know putting <style> tags inside of <body> is not valid. What other techniques are possible to get around this limitation? In my design I have a few static pages created with server side includes. For each page I need a few extra lines of CSS to control the display of a few DIVs. What is the best valid way to achieve this effect? ...

Adding stylesheet to XML breaks formatting

I wanted to add a stylesheet to my xml file. But when I add the xml-stylesheet the whole formatting disappears, and I'm getting pure string of data. How to do it right ? <?xml version="1.0" encoding="UTF-8"?> <?xml-stylesheet type="text/css" href="sitemap.css"?> <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"&gt; {% spaceles...

Styling <BR> to have margins like <P>

I want to style my <BR> elements to have margins more like <P> elements. How can I do that? ...

CSS Styles - Fonts

Hi guys, Im trying to replicate a design into HTML / CSS. The problem is that the text within the site changes between two different colours, multiple font sizes and different font weights. Also the text can be stand alone or multiple types on one line. I am including a sample below.. These font styles are used all over the site. S...

Setting pdftitle and pdfauthor automatically in a LaTeX stylesheet

I use the code below to set the title and author in the pdf document properties. \usepackage[pdftex]{hyperref} \hypersetup{ pdftitle = {The documents title}, pdfauthor = {me} } I would like to automate this by putting it in a stylesheet (.sty) Below is my attempt, but it is not working. The pdf is compiled (pdflatex) with erro...

Borders doubling up

Hi! I'm adding a new design to my website. The main menu ul stretches across the screen and the items are demarcated by simple borders. I'm having problems with the left and right borders for my menu items. What's happening is that I can't properly display the borders on mouseover (a:hover) unless I space the margins so that in the nor...

Where can i set the location of the css file in wordPress using php?

I am using wordpress and am trying to link to the stylesheet: <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" /> It is not recognizing that link tag, because I think the bloginfo('stylesheet_url') part is not working correctly. Where can I set the location of the stylesheet url in wor...

CSS pages not equal even with the same css-file

Hello! This is the site i am using as a test site: http://test.pafo.net/ My problem is that the pages, even thou they are equal, they change in position. If you click on Seite 2 and then Start and keep clicking on them, you will see that the entire container is moving a little. The only difference between those pages are that Seite 2 ...

Firefox and remote XSL stylesheets

I’m trying to load local XML files with a remote XSL stylesheet. IE seems to handle this just fine but not firefox. Is there a fix for this? ...