css

How to load and apply a CSS stylesheet at runtime in a Flex application?

I'd like to load CSS stylesheets from a URL and apply them to my Flex 3 application at runtime. Is it possible? ...

CSS: What is the proper way to deal with multiple classes of Text

So I'm on commission for a website, and I'm trying to improve my code. When dealing with a website with multiple types of font (here it's large, there it's small, there it's bold, here it's underlined, etc.) is this where we use the h1-h6, or do we reserve those for times when there is a definite hierarchy, using instead <p class="xxx"> ...

CSS margin tweak help

Help me tweak the CSS of this page: http://draw3cards.com/questions/1501/buyback-vs-flashback I tried to understand why the Adsense Ad appears misaligned - I would like it in line with the surrounding box. I looked at it with Firebug but missed any margin or padding in that element. Can you help? ...

Making CSS Render in a simialr way on FireFox 3.0.15/IE 6.0 & 7.0

Following css renders differently depends on the browser (mainly with Firefox) Firefox: the border-left-style:dashed does not seem to take effect as desired and black lines are shown instead. I have captured screen shots FF--> http://pixpin.com/images/81898090171964887806.jpg IE6--> http://pixpin.com/images/32538710129638992535.jpg...

CSS Code is not working in IE 6.

this is the code for menu CSS code. It will work on Firefox but not in IE6. .menu li a:hover .menu ul li:hover a{ background-image:url(images/ye.jpg); color:#000000; text-decoration:none; } ...

Is there a way to set an inline style on an href link on "a:hover" in a html email ?

The question is to know if there is a way to build an HTML email with inline style (no CSS file, nor tags) with the href links that react with the mouse passing over them : just to be able to change the color font. So, no JS, no script, no , just link ...

Variable width columns in a table

I'm using an HTML table for a calendar and I want to fill the cells with various events from my database. Usually they will land on weekends but some will run for long weekend, bank holidays or even the odd week day. How can I get my tables columns to expand and shrink accordingly. I'd like to avoid the use of javascript if possible. ...

how to hide the button value using html

hi , i want to know how to hide button value: i am using style:color: transparent but i didn't know why it doesn't work. thanks ...

noscript tag appears even if javascript is turned on in IE8

ghost noscript tag more info here I am facing exactly this issue, how shall I handle this for Internet Explorer browsers :-( ? Explanation: I have included the following noscript tag in my application's layout <noscript style="background:#ffcc00;font-size:200%;font-family:verdana;text-align:center;text-transform:uppercase;font-weight:b...

Fixed header and footers gotchas and suggestion

I am planning to revamp my blog layout and this time I plan to have position: fixed headers and footers, both will be ~40px tall. The header will contain the logo and search buttons, the footer is going to contain lots of items such as subscribe buttons, related posts, jump to top/comments/bottom buttons and so on (list is not finalized)...

How would I get an img element to render under a background-image in CSS.

Basically, I am trying to put a semi-transparent div over an image to serve as a background for text for a slideshow. Unfortunately, the browser seems intent on always rendering the img over the background-image. Is there any way to fix this? Here is my current CSS for the semi-transparent div: #slideshow .info { height: 80px; ...

Popout/expand links on mouseover without changing text/elements flow

I'd like links to "pop out" of the page when hovering over them, without changing the position/flow of text/elements nearby. See attached example shot. I'm pretty sure this is a simple position trick, but I'm having trouble getting it to work properly. I'd prefer this not to require any JS, if possible. Any advice is much appreciated...

Using indentation to make CSS more readable? (making parents and children more identifiable in CSS)

I've been always guiding myself with the following CSS structure: #nav { } #nav li { } #nac li a { } This structure tells me clearly who is the parent and the child. But in a recent article (I think it was CSS Trick) someone said that CSS is read from right to left. So the more tags I had the slower it will be (and sometimes I think ...

Javascript: Add multiple Lighthbox galleries on same page

I am using a modified version of light house from this page. I want to add two instances of the same code to add two differrent slideshows on the same page. Is this possible? ...

Why won't the vertical margins between <p> and <hr> collapse in IE7

Hello all, Perhaps I am missing something, but I can't explain this from any IE bug I know of. Why in this example do the margins of the <p> and <hr> elements collapse as expected in standards compliant browsers (i.e. FF3, IE8, etc) but not in IE7 (including IE8 compatibility mode)? <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transit...

using the :sass filter with :css

We are currently making a widget that requires some default declared styles along with it(widget html is included by javasacript, along with the default css in style tags) but the problem is i can't "chain" haml filters. What I'm trying to do is to add an internal stylesheet along with the widget like so: <style type="text/css"> p {c...

A very strange problem -> CSS file not detected .Java web application

Hello, If i browse my site using http://localhost:8080/abc/Login/index.jsf, everything works fine. But if browse it using simply http://localhost:8080/abc, the page is shown but all its images and css files are missing. What can be the problem? I have this in my web.xml :- <form-login-config> <form-login-page>/Login/index....

extra padding/Margin in Firefox+CHrome None in IE

There is 20px margin/padding below the catmenuconatiner (second navigation bar). This is only showing in firefox and chrome not in IE 6+ Here is the page: www.fish-and-web.blogspot.com Another problem related to the same issue is between the comments. The comment boxes have 15px margin between them. Again, this is only showing in Firef...

How does this print stylesheet work?

I really like how http://www.honorshaven.com/ looks printed (to pdf). I've looked through the source to try to figure out how they did it (my navigation always turns into ugly bullet lists on print...) -- and I'm at a loss. Anyone know? Any help would be awesome! Thanks, Martin [Edit] I'm familiar with print stylesheets -- but aren'...

How do I change the BackColor of the textbox area in an asp.net DropDownList?

How do I change the BackColor of the textbox area in an asp.net DropDownList from white to another color? The Backcolor property changes only the drop down section. ...