css

Accessing a frame within a frame

Ok, here is the situation. I have a site that I subscribe to that lets you add your own code, etc. They have a forum editor that I am unable to skin to match my site, so I'd like to just change the colors of the inner most frame (doc3 in the example below). Here is the basic setup... yes, all documents are from within the same domain bu...

Simple CSS MasterPage layout.

I'm helpless, tried my best understanding CSS but it's just not for me. I would like to make a really simple MasterPage: at the top a div of full width and height 40px (1) at the bottom also a div of full width and height 40px (2) in the middle: on the left: a div of width 200 px (3) on the right side of the left div: a d...

<input> multi-line capable via CSS

Is there a way to get an <input />-field in HTML to wrap lines if the text is longer than the field using CSS? I don't want to use <textarea /> as I want to avoid users entering hard line-breaks by pressing enter. ...

Parsing CSS with ANTLR - edge cases

I'm trying to parse CSS, or at least the basics, using ANTLR. I'm running into a few problems with my lexer rules though. The problem lies in the ambiguity between an ID selectors and hexadecimal color values. Using a simplified grammar for clarity, consider the following input: #bbb { color: #fff; } and the following parser rules: ...

How to layer specificity

Within the posting at http://www.smashingmagazine.com/2009/08/17/taming-advanced-css-selectors/ in the context of defining the rules of 'specificity' is stated: For example, if you want to change the background color of all the div elements that are posts on your blog, you can use the an attribute selector that targets every...

Floating Bottom Bar jerky when moved

Hi all, I created this sample page with the bottom floating bar http://www.innovie.com/Untitled-3.html The problem is that when I move the scroll bar on the right, the floating bottom bar is moving jerkily although it eventually is at bottom. I tried to fix the jerky movement by either removing the background img for BODY or removing...

Complicated CSS layout

Hi, could somebody help me with freaking complicated tile layout as it specified under the link. I have tried to use float:left for widgets but I getting the red block always below #2. I should be able to dynamically add widgets to black dashboard. I can use html5, css3 and jquery. There are not just 2 columns. If the dashboard has fre...

How to disable browser or element scrollbar, but let scrolling with weel or arrow keys?

I want to hide scrollbars from div element or whole body, but let user scroll it with mouse wheel or arrow keys. How to achieve this with raw javascript or jquery? Any ideas? ...

How do I stop table data from breaking my layout?

I have a table of data that is being dumped from our database but because some of the information is extremely long it is breaking the layout of my page. If one of the fields contains a string that makes the table wider than its conatiner or even the screen then the table drops below my left-hand menu div. If you need more information,...

CSS : How do I vertically-center align text in a div ? (or any other elements which is not a table)

To vertically-center align text in a table-cell, I use vertical-align: middle in the td. But the above doesn't work with divs, spans, header and other non-table elements. So how can I vertically-center align text in such elements ? ...

HTML CSS LAYERS

i created a page on which i tried to attain the effect of bottom aligned tool bar like the one face book has. For that i made a div with highest z-index set the position to fixed and set the bottom 0 like #bar { z-index : 11; position : fixed; bottom : 0; height : 50; left : 0; right : 0; } it works fine but while sc...

Does GTK kill CSS and HTML?

I have heard that GTK covers all controls so that developers do not care about CSS and HTML any more. Do you guys agree with this idea? ...

flex3 button state

Hi there, I would like to change the state of a flex button component with actionscript (on the fly) to present it as mouse-down/mouse-over/mouse-up, in order to use the css skining with out the existence of the mouse cursor. I tried to do this with button.currentState but this doesn't work. thanks in advance ...

Any other built-in light colors besides "gray" in css?

Those fit for background colors. I need as many as possible:) ...

Creating and editing CSS in Flex3 Air

Hi, I need to create a CSS file via the Flex 3 Air application. I need to create and edit the CSS file and access individual styles by class name. Please give any examples or related links of which you aware. Thanks & Regards Vinod.P ...

Does IE ignores custom css selectors?

Hey guys, IE is freaking me out. my css code looks like this: kl { font-size:10pt; font-weight: bold; color:#6e90a6; } and my html code looks like this: <div id="testid"><kl>test</kl> Why does IE ignore my CSS code? Please could someone help me :)? Update: Great responses guys, that was really fast :) Thank you all...

ASP.NET Page handling for CSS files.

I know ASP.NET can be configured to handle any file type in any way, but most of us have other work to do, even on weekends. I'm becoming very interested in an asp.net handling pipeline for, say, *.csx files, where I can do something like: .module-div h2 { margin-top: 5px; color: [css:Color runat="server" Selector-Include="h2" ...

How to generate simple pop up using Jquery

I am designing a web page. In that when we click the content of div named mail, a popup window should be shown containing a label email and text box. I searched in google as simple popup in Jquery but the code is weird. Please help me by providing very simple jquery pop up. ...

Are forums considered tabular data?

Stackoverflow uses tables for questions/answers, I was told by many SO users that this was wrong and that questions and answers are not tabular data. So now I ask, are forums tabular data? Most major forums (vbulletin) I beleive all are using tables. I am assuming this is considered tabular but I would like a second or more opinion ...

Listexpander not working

my website the list expander is not working. I think it might be because I changed the CSS, but I cannot figure out how to make it work. Sorry the url is [http://hpcommtoolkit.com/Communication%5Ftools.html%5D%5B2%5D not the original. [2]: http://hpcommtoolkit.com/Communication_tools.html ...