stylesheet

How to style HTML compatible tags in XSL definition using extenal CSS?

I am following w3c schools to learn XSLT. in An example. In-line styling is performed here. How can I link an external (CSS) style sheet to style HTML compliant tags? ...

use a style sheet in flex using no MXML

Hi, I have a few styles that I want to apply to a slider. I'm aware of the MXML method of definig a mx:Style tag <mx:Style> HSlider{ } .SliderHighlightTrackSkin{ } .SliderTrackSkin{ } .SliderThumbSkin{ } </mx:Style> Instead of doing it this way I want to ...

MS Word to Stylesheet

Is there an easy way to automatically convert a bunch of MS Word documents to xslt stylesheets that can be displayed in the browser? What I have is a large collection of forms in Word format that have to be displayed in the browser, or sent to the user, with known fields populated from a data source, edited by a user and, finally, print...

Resetting Qt Style Sheet

I've managed to style my QLineEdit to something like this: void Utilities::setFormErrorStyle(QLineEdit *lineEdit) { lineEdit->setStyleSheet( "background-color: #FF8A8A;" "background-image: url(:/resources/warning.png);" "background-position: right center;" "background-repeat: no-repe...

wordpress plugin development - using images - path not found

I'm writing a plugin for wordpress and am having trouble with images. If I have my plugin in wp-content/plugins/my-plugin/ and in there, a folder images/test.png - how do I reference that image in my code? I don't want to have to put the images in to the theme, as when other users come to get my plugin, the image won't work! so my struc...

Proper way to use multiple stylesheets...so it WORKS?

I am making a site where I need to have styles separated for layout, colors and typography. So basically I took my main style sheet and just copied it 3 times, and in removed everything but coloring from one, everything but type related in another and etc. But when I link to them now there must be some cascade issue or something, because...

"user-select: none" and strange behaviour in Firefox

I am trying to prevent text highlighting in Firefox for some, but not all elements on the page. Consider the following: <div style="-moz-user-select: none;"> I cannot be highlighted <div style="-moz-user-select: text;"> I should be highlightable, but am not. </div> </div> As I understand it, using the above css rules, th...

Stylesheets for content?

Forgive my ignorance since this seems like its something I should know by now. I know I could make a stylesheet that will allow me to make changes in my CSS throughout several pages that use the CSS. I also know that you can make an external javascript file that could contain functions you want to reuse. But lets say I had pure HTML con...

Sticky Footer, but only sometimes...

I've got a basic site with header, content, footer. What I'm looking for is a way to style the footer so that, depending on screen resolution, if the content doesn't fill the page it sticks to the bottom, but if content overflows it pushes the footer down (have to scroll the browser to see the footer). <div id="wrapper"> <div id="headw...

Sticky Footer, but only sometimes...continued

OK, so now there's a new wrinkle. The original problem I was having: http://stackoverflow.com/questions/3118932/sticky-footer-but-only-sometimes. I have a scroll bar in my browser, and I can't seem to make the extra 70px margin go away... <div id="wrapper"> <div id="headwrapper"> <div id="header"></div> <div id="menu"> <ul>...

CSS Reset with attractive default styles?

I'm looking for an open source css that performs a reset and adds a reasonable default level of attractiveness. For example, it might use better colors for the table, or give you some nice background images for a table. It might also give you some simple css classes to make lists attractive like listmatic.. Is there something like t...

Is there any plugins or frameworks or tools to make the web pages nice, for a programmer?

I'm a programmer, I can build a web site, but the pages looks ugly. I don't know how to choose the colors, how to design the icons. Building a simple website cost me several hours, but tried to make it beautiful will cost me several days. I don't want it as nice as those famous websites, but I want it clean, and all pages have same styl...

Graphviz: how to assign the same style to a group of edges?

I've got a graph that I want graphviz to layout and visualize for me. The graph has 122 edges and 123 nodes. The edges are of 4 different kinds and I want them to be visually distinguishable. However I've not yet decided what would be the best way of doing that, I'd like to play around with the dials a bit. Unfortunately I do not see any...

VS2010 Express: Theme "New Item..." Stylesheet; Where Is It?

Started checking out VS2010 Express. I have it installed on my home laptop and my work PC. This "problem" occurs on both systems. In past versions of VS I thought I was able to add style sheets to a theme by right-clicking on the theme folder, selecting "New Item...", then clicking the Style Sheet item. In VS2010 Express, Style Sheet is ...

is it ok to use different css files for different browsers and load it accordingly

I am getting rid of browser compatibilty issues. so i come up with idea to load the only css according to browser. So say if user uses IE then only styleIE.css get loaded if firefox styleFF get loaded and so on. my question is it correct method if not what care should taken to avoid this compatibilty issues. because when i solve issue...

XSL for converting all rows and columns of XSL for Export to Excel. dynamic looping

Hi, I have an xml resultset which has to be converted using XSL for display into an excel spreadsheet in a vb.net application. The xml resultset has 15 columns (15 properties of client like firstname,lastname,address etc) and I don't want to hardcode the select attribute of xsl/xpath with property or xml element names. I need an XSL tha...

Injected link stylesheet takes precedence over existing styles in IE7+

There seems to be a bug in IE when cascading dynamic stylesheets. Does anyone know if there is a workaround? Consider this: <head> <style>#test{background:red;}</style> </head> <body> <div id="test">test</div> <script> var link = document.createElement('link'); var style = document.getElementsByTagName('style...

Can jQuery change css style definition? (not individual css of each element)

I haven't seen any docs saying jQuery can change any CSS definition such as changing td { padding: 0.2em 1.2em } to td { padding: 0.32em 2em } but either have to change a whole style sheet, or change class of each element, or change css of each element. Is changing the style definition possible? ...

default textbox appearance in firefox/safari

Firebug claims that an unstyled textbox is border: 3px inset #F0F0F0; However, <input type="textbox" style="border: 3px inset #F0F0F0;" /> and <input type="textbox" /> produce very different looking borders. What's going on here? This is true in Safari, Chrome, and Firefox—I don't have IE though, so I dunno about that. ...

How do I change the tab container properties from the ajax tool kit using CSS stylesheets?

Currently, I am working on a C# / VB project that is using tab containers from the ajax toolkit. I would like the tab panels customized as below in the css style. I have tested the css stylesheet in a clean web application and it works very well. However, when i tested it in my current project the padding between the tabs is gone. I h...