css

CSS Height Set Dynamically

So I'm inspecting this site: http://www.grittirollo.it/ and it appears that the content that slides out has a fixed height. Is there no way to set this dynamically? ...

CSS/HTML problem in IE - how to fix?

I'm working on this page here: http://noasimon.co.il/ It looks fine in firefox, chrome, opera and IE8 But when I turn on the "compatibility view" in IE8, the menu images go below the text. Another problem which happens only in this view is in this page: http://noasimon.co.il/exhibition2010 The thumbnails go too far left outside the v...

CSS- Fill remaining width of page with a fixed position DIV

Hi, I have a DIV in a fixed position on the bottom of a page which is 354px from the left. I need the DIV to fill the remaining width of the page. How can I do this? Thanks Take a look at the image... http://www.freeimagehosting.net/uploads/a1b6e2946e.gif Edit <html> <head> <style type="text/css"> body, div, dl, dt,...

adobe flash builder 4: css type selectors are not supported in components spark.components.Label

Hiya. I created a new MXML component that contains some labels and the following style: <fx:Style> @namespace s "library://ns.adobe.com/flex/spark"; @namespace mx "library://ns.adobe.com/flex/mx"; @namespace local "*"; s|Label { font-size:12; font-weight:bold; color:white; } #timeLeftHGro...

Webkit won't let me set marker in input field

I have a input field for signing up to a newsletter. When I have entered some text and try to click between some of the letters webkit (Safari and Chrome) won't set the cursor there. I can only highlight the text. I'm running a couple of javascripts on it (overlabel and validation), which I'm assuming is fault. That, or it's the absolut...

IE7 - absolute positioning offset different to Firefox?

Hi, I'm tidying up another developer's work who seems to have done a shoddy job with the CSS. There is the main "wrapper" div on the page, and inside this is a logo and images for the navigation. The images are using "position: absolute" and using the CSS "top" property to offset them. However, Firefox and IE seem to start their offset...

Is it inefficient to specify default rules to CSS?

As an example, imagine I have a table. The standard alignment behaviour (not sure if this is html specification or just the browsers I use?) seems to be to left align the body elements and center align the head elements. So if I wanted everything left aligned, is it less efficient to write #MyTable td { text-align: left; } than t...

jQuery dynamic tabs - animating borderTopColor breaks css

I am using jQuery dynamic tabs. I have the following set up for hover and selected effects: /* normal tab */ .ui-tabs .ui-tabs-nav li { border-top-style: solid; border-top-width: 3px; border-top-color: #fff; } /* hover tab */ .ui-tabs .ui-tabs-nav li:hover { border-top-color: #f00; } /* selected tab */ .ui-tabs .ui-t...

How SEO's are done for dynamic webistes? Whether each pages are seperately built static?

I had a food takeaway website, where the users can search the restaurants by giving their area name. I want my website's LONDON search page to be listed when user search in google 'TAKEAWAYS IN LONDON'. I think google dont crawl websites with query string. HOW CAN WE ACHIEVE THAT? Plz help Any help will be highly appreciated ...

Zend_Form - add CSS Class :: How can I add css class to label in Zend_Form?

Hi, How can I add css class to label in Zend_Form? This is html way: <dt><label for="foo" class="label-design">Foo</label></dt> How can I write above row with Zend_Form? (I know how to write label but i dont know how can i add ccss class. $model = new Zend_Form_Element_Text('model'); $model->setLabel('Model'); ) Thanks, ...

Creating nested tables using div

Can anyone tell me how to create the below structure using div ...

CSS horizontal centering of a fixed div?

Hey guys, #menu { position:fixed; width:800px; background: rgb(255, 255, 255); /* The Fallback */ background: rgba(255, 255, 255, 0.8); margin-top:30px; } i know this question is a million times out there, however I can't find a solution to my case. i got a div, which should be fixed on the screen...

How to make desktop browsers ignore the iPhone css3 media query

i'm including an alternate stylesheet for iPhone/iTouch devices. Initially i wanted to simply use the handheld media type: <?xml version="1.0" encoding="utf-8"?> <?xml-stylesheet type='text/xsl' href='/css/homepage_handheld.xsl' media='handheld'?> <?xml-stylesheet type='text/xsl' href='/css/homepage.xsl' media='all'?> which i add to t...

ADF - Customize a <af:commandButton> width the property styleClass

I all, I'm new to the ADF language and after a long search and failed tries, I have to ask how can I change a button layout - background, border, ... - using the CSS and the property "styleClass" of the ADF? In my .jspx I have something like: <af:commandButton action="#{backing_test.echoAction}" id="echo1" text="Save 1" styleClass="co...

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...

contenteditable div with 'text-align: right' in IE8 doesn't show caret

I'm creating a contentEditable div within a table cell to capture user input. The problem is, when I align the text to the right IE8 does not show a text input caret. Every other browser I've tried works. It works if I don't use "text-align: right". It also works if the caret is anywhere other than the far right of the div. Here's some s...

css animated cursor

I have set an animated gif as the cursor using the css cursor's url property. However it's not being animated, only first frame is shown. What's the problem? Do I have to use cur files or something? Thanks. BTW, this is a game where animated cursors are important. ...

need to hide/slide div once link is clicked

I display the div by clicking the link, but now I want to hide it when it is clicked again. This is what I have currently: $(document).ready(function() { $('#our-future-intro-slide').click(function() { //$(".our-future-intro").delay(2400).slideDown(3600); $(".our-future-intro").slideDown(200); }); }); So each ti...

How to apply dynamic CSS for the label in IE7

Hi, i am having a server control (Asp:Label) and i want to apply the css class dynamically but it is applying to the label in all browsers except in IE7 in all browsers the dynamic css classes are applying but in IE7 it is not applying can u give any solution or any alternate solution Thanks and Regards, Vara Prasad.M ...

Dynamic CSS Height and Width

I am trying to create a webpage which perfectly fits on the screen of any resolution, for that I need to detect the users resolution, compute it to fit my layout and then deploy the properties to my layout. I know how to do this, using Jquery and Javascript, but I want to know if there is a genuine CSS method to do this. Here is somet...