css

IE or Firefox,which one has a more logical CSS handling ?

hello there , i know that there is some rules and standards in css handling but i mean which one is closer to a human thinking. for example : when i give a DIV tag a height property of 100px i just want it to be 100px! but in Firefox i should work on min-height or max-width and so on ! there is many like this examlpe , i think IE read c...

jQuery not taking effect immediately.

Is there any reason for my jQuery effects not to be taking effect immediately? I have jQuery hover fade effects, but then I also have CSS rollovers as backups for anyone who has javascript disabled. What happens is when you load a page and roll over a link, you get the CSS effect, but any time after that, you get the nice, smooth jQuery ...

CSS Background-Image Path Issues

Hi, In amongst my CSS I have the following: #framecontentTop{ position: absolute; top: 0; left: 120px; right: 0; height: 100px; overflow: hidden; background-image: url(/Users/myname/Website Project/logo.jpg); color: white; } Where the path to the image I want to use as the background-image is /Users/myname/Website Project/logo.jpg Ho...

Print.css issue in Webkit

The page in question is featured here: http://www.allwebcafe.com/news/news-article.php?id=78 For some reason, when a user attempts to print any article of this type from a Webkit-based browser (I've confirmed this in both Safari and Chrome), the pages are all blank. On the flip side, everything behaves as expected in both Firefox and In...

css problem in top:??

i have to fix the header in a gridview and i use this in style Class <style type="text/css"> .gridFixedHeader { background-color:white; position:relative; top:expression(GridView1.offsetParent.scrollTop-2); } </style> but i get an error that expression(GridView1.offsetParent.scrollTop-2);is not valid... what all do i need to do to ma...

Ignoring hover style in inside image

I want the style to apply on the "a" elements, and not the img. Here's an example: a:hover {background: #555;} I tried to do something like this: a:hover img {background: none;} though I knew it's not going to do anything. The solution I found in this question didn't work for me, because the "display: none" is moving the ima...

How to top-level a rich:panelMenu with it's rich:outputPanel with an h:panelGrid?

Hello I'd be greatly appreciative of some expert opinion on what to do with the above problem. Broadly it breaks down like this: I've implemented a dynamically created rich:panelMenu and as per the RichFaces demo, put an a4j:outputPanel to it's right to contain the content which will appear when the user clicks an item in the menu. Co...

How do I make Pseudo classes work with Internet Explorer 7/8?

I've written the following code to create a three-column layout where the first and last columns have no left and right margins respectively (by definition, the three columns will have the exact same class as they're dynamically generated--see last paragraph): #content { background-color:#edeff4; margin:0 auto 30px auto; pad...

asp.net ajax control toolkit combobox displays incorectly when in fieldset with style of position:relative

I currently have an Instance of the ASP.net ajax control toolkit combo box residing in a field set with a style of position:releative applied. The control also sits in a very plain table (please no comments about using tables for lay-out, I know it is evil and try to avoid it). There are two problems with the display of the list: The...

color code in X/HTML , CSS..

In how many ways we can give color info in X/HTML, css? I know some Hex color name rgba is there any other method? and which method is preferred to use and which not? Please give explanation. ...

Title Background Wrapping

Ok, I am pretty experienced at CSS but at this point I am at a loss. I layed out how I want the title to look like in photoshop: however, the closest I can approach it with css is: I need the black background to extend to the edges of the image and padding on the right side of the title. I hope you understand my question! thanks...

moving header in css to align correctly

i have this header at the top: http://yoursdproperty.com/ how do i move the swf a little bit to the left to make it align correctly? ...

When use GWT ensureInjected()

Hello there, I created a few styles into a CSSResource and it works well whether I use GWT.<MyResources>create(MyResources.class).myStyles().ensureInjected(); or not. Could anyone shed a light on this and explain when to use ensureInjected or not? Thank you! Daniel ...

semicolon in css..

if IDE by default adding ; at end. should i remove? selector {property:value;property:value;property:value;property:value;} I read on an article semicolon not required at end. ...

in CSS , what is the difference between Cascading and inheritance?

in CSS , what is the difference between Cascading and inheritance? are both same thing? ...

Should we only use Web-Safe Colors while in design/coding/development for website/apps?

Should we only use Web-Safe Colors while in design/coding/development for website/apps? ...

HTML default link color

I want to set color of some elements to default link color with CSS. <a href="/">That color</a> is the same as <span style="color: link;">that</span>. Any way to do that? This website don't change default browser's link color. ...

how to get li width + margin using jquery

hello my code is something like this //css li{display:inline-block} //html #li margin and width are dynamic <ul> <li style='margin:30px;width:100px;'>Pic</li> <li style='margin:40px;width:200px;'>Pic</li> <li style='margin:10px;width:500px;'>Pic</li> <li style='margin:50px;width:300px;'>Pic</li> </ul> how to make a jquery function ...

IE7 CSS bug aligning <img> with text in a <ul>

I've been banging my ahead on this IE7 bug for the last few days and it's time to resort to the mind of the crowd. I have the following HTML and CSS: http://beerpla.net/for_www/ie7_test/test.html The goal is to have a <ul>, with each <li> containing a small icon and some text. Multiline text would be aligned to itself and not wrap unde...

37signals-style layout template

Hi! My wording may be off, but I wonder if there's an open-source HTML/CSS template/framework for creating 37signals-style layouts, much like this: Of particular interest is the tabbed layout and the sidebar to the right. ...