css

body { font-size: 100.01%; } vs body { font-size: 100%; }?

What should i keep for body, {font-size: 100.01%; } or { font-size: 100%; }? what is {font-size: 100.01%; }? and is it really good to mention font-size in html{} even If I'm using body {font-size: 62.5%;} Edit : 3 May 2010 Today i found info about 100.01% at here - http://www.communitymx.com/content/article.cfm?cid=FAF76&print=t...

CSS menu bar wont show!!! class or ID problem?

Hello everyone, Please help me with this insanity: http://imageoneads.com/zenliver/ My menu bar worked fine & I accidently deleted or moved one of class or ID. Now it disappeared. All browsers Wont display the menu, except Firefox for Mac. This drives me nut....Cant believe I have to start over if I can't figure it out....Please help....

How to get same cursor(hand) on links in all browser?

In firefox on link hand cursor is showing which is ok but in IE7 it's showing text cursor. How to get same cursor(hand) on links in all browser? Can i add something in CSS reset to get cursor in all browser on links.? ...

What is the quikest method to see actual color of any hex code #a7a7a7?

What is the quikest method to see actual color of any hex code #a7a7a7? When i work on other's CSS then if i deal with color codes then i quickly wan to see the color of that particular hex code. suppose if i'm editing css in notepad and i found code #a7a7a7 then how can i know what is the color of this code. If i have a color on my s...

How to differentiate between two class of same name in different css on same page.

on my asp.net page i am linking 2 css files which are used by 2 different controls but the main problem is that one class name is same in both so they are conflicting with each other, please tell me how can i distinguish between them. Both are of jquery, 1 is slider control and another one is time picker control. and they are conflictin...

How to give line-break from css, without using <br />?

output: hello How are you code: <p>hello <br /> How are you </p> How to achieve same output without <br />? ...

Can't Prevent Nested Div's from Overflowing when using Percent Sizes and Padding in CSS?

I want to be able to layout nested divs with these properties: width: 100% height: 100% padding: 10px I want it to be such that, the children are 100% width and height of the remaining space after padding is calculated, not before. Otherwise, when I have a document like the below example, the child makes the scrollbars appear. But ...

Does IE6 Really not Allow Me to set width/height from left/right/top/bottom???

Building a site super quick and having it work on all my Mac browsers, I thought I'd take a gander on a friends old dell laptop with Windows XP and IE6. Nothing looks remotely correct. It's because I used lots of left/right/top/bottom (constraint) declarations to size elements proportionally to their parent's size (I didn't use percen...

how to apply scrollBar to the form manually in palm application

hi in my project that is developed using palm technology ie webos ,in this application form is not get scrolling option automatically,so i have to apply scrollbar manually.with this user can feel userfriendly.could some help me in this isue hoe to apply scrolling manually. thanking u ...

Should we bother about IE < 8?

Hi there. It might look like philosophical question, however it really bother me. We're expecting HTML 5, we're using JS, Ajax, Flex, all this stuff, but when older browsers were devleoped, nooone even dreamed about such technologies. IE6 can't see transparency in PNG's. Some correct W3C techniques, are bad interpreted by IE6. It's ju...

unwanted space before and after nested html table using Internet Explorer 8

I have an html table nested in an html table cell. I want the nested table to use the full size of the cell it is nested in. When I use firefox or google chrome I get the result I want but when I use Internet Explorer 8 (even if I use td style="height="100%") the height of the nested cell depends on it's content. As a result I get whites...

IE7 left:%; bug

I'm working on a project, I use the latest IETester, and I bumped into a IE7 specific alignment bug. view this in IE7 and then in any other browser, for example Firefox, IE8 and even IE6. Notice how the little "|" between the lower links is not visible in IE7, yet it looks fine in the other browsers. Removing the left:-100%; from on line...

What is ".foo{}" in the beggining of a stylesheet?

Hello people, this is my first question, so i do not know if i am doing it ok... I would like to know what is the meaning of ".foo{}" It is placed at the beggining of a css stylesheet i have been modifying. Regards. tomano ...

How to hide any text from sighted user and search engine but not from screen reader?

What is the best tested way to hide any text from sighted user but not from popular screen readers? and without affecting SEO. for example if i adding any hidden text only for screen-reader users then that text should not be crawl by search engine when search engine will crawl that page. ...

Centering CSS Page - Classes conflicted

Hello everyone, I cant center this page, no matter what. It's a simple task. Sorry Im so new to CSS. Please help.... http://imageoneads.com/zenliver/ ...

Why first paragraph not taking this style p:first-child?

Why first paragraph not taking this style p:first-child #content p:first-child {color:#4C4C4C; font-size:1.2em; font-weight:bold; line-height:1.8; margin-bottom:0.5em;} <div id="content"> <h1>Welcome</h1> <p>first paragraph</p> <p>second paragraph</p> <p>third paragraph</p> </div> How to select first paragraph from css? ...

How Do I get 'font-weight: lighter' to work in Google Chrome?

There doesn't appear to be any difference between 'font-weight: normal' and 'font-weight: bold' in Google Chrome (and probably Safari). Has anyone found a way to invoke the 'font-weight: thinner' in Chrome the way that Firefox does? ...

How do I make image hyperlinks have a background image?

I want all .jpg links to have a certain background image. so a link on a page like 'http://mysite/myimage.jpg' would automatically be prefixed with a small icon. Actually all links to images, ie .gif .png as well with the same icon. If the link is to a website, ie .htm/.php/.html/.asp it should have a different image. I want it to be thr...

why width not working here?

code <a href="#" style="width:50px;white-space:normal">Hello how are you</a> output Hello how are you Why it's not rendering like this I need like this. Hello how are you how to achieve output like this without changing in HTML? <p style="width:165px;height:80px;border:1px solid red"> <a href="#" style="width:80px;white-spa...

How can I solve this CSS links inheritance problem?

It's stumped me an I've tried a couple of things - then again I'm not very experienced so I may just be going about it the wrong way. Basically I want to have different link styles for both the navigation and the pagination. The #navigation styling is overriding my .pagination styling though, and it doesn't appear to matter if the pagina...