css

two column layout, left col height constrains right col height, don't know why...!?!

Hi there, I'm a little stuck, it's due to my inexperience with html/css and iframes. Basically, I've got a LH column, which is my menu. and a RH column which house's my content. the RH column is a iframe. The problem is i can't get the height of the iframe to equal 100%, it's constrained by the height of the LH column. See below; h...

css style overwrite order?

Well i have 2 css includes <link href="Styles/layout.css" rel="stylesheet" type="text/css" /> <link href="Styles/ATJournal.css" rel="stylesheet" type="text/css" /> layout.css Table.infoBox tr td table tr td { padding: 0px; border: 0px; } ATJournal.css table.ATJMainTable tr td { border: 1px solid black; padding: 3px...

Setting a css class to HtmlInputCheckBox in C#

Hello, I am creating an HtmlInputCheckBox in C# and I am trying to set a css for it, but I cannot. Can anyone give me a sample code? For example, the one below is not working. HtmlInputCheckBox FieldCtrl = new HtmlInputCheckBox(); FieldCtrl.ID = "CheckBox1"; FieldCtrl.Style = "CheckBox"; ...

Css overflow not working.

I have a div with css setting overflow auto but noscrollbar appears whereas once i have visited some other page it comes on the page. Also if possible how can I remove overflow style of div? ...

Using Tapestry jwcid attribute and @Block component for CSS classing?

How does the Block component handle CSS classes? I have code like this: <style type="text/css"> .nameColumnHeader { width: 30%; } .nameColumnValue { width: 30%; vertical-align:top; } </style> ... <table> <tr> <th><span jwcid="nameColumnHeader@Block">...</span></th> <th><span jwcid="nameColumnValue@Block">...</span</th> <...

cols, colgroups and css :hover psuedoclass.

I'm trying to create a table to display an individual's BMI. As part of this, I'd like, on :hover, for the <tr> and <col> (or <colgroup>) to be highlighted also, in order for the intersection to be more apparent. As the table will feature both metric and imperial measurements, the :hover doesn't have to stop at the cell (from any direc...

Difficult page make-up with centered elastic blocks

I have 3 blocks: one wrapper and 2 other inside the wrapper. Inside-blocks have same size. Wrapper is elastic and its width is being changed during window resizing. 2 blocks inside wrapper are elastic too. Each of these 2 inside blocks has min-width property. When wrapper is wide enough inside blocks are positioned in one line one af...

CSS overflow with long URL

Ok, so I have google ads inside a 160x600 container. New ads are shown randomly on refresh. When an ad pops up with a long URL that doesn't contain any dashes or any characters for it to break at, it overflows out of the container div. Right now I have overflow:hidden so anything after 160 pixels in hidden. The problem is that if ther...

What web sites are there that gives you the "Developer" the ability to block clients from changing html?

I use to know what it was called but it was years ago. The site basically allowed the developer to add an ID or Class inside tags to let the site know the client is only able to make changes to the code between tags with a certain ID or Class. I hope someone knows. This is killing me. ...

how do call different css for corresponding browsers like using jquery

This is already asked http://stackoverflow.com/questions/848227/how-do-call-specific-css-for-specific-browser-using-jquery I want to use one css file for safari and other for Mozilla and other for IE ...

CSS background-image - What is the correct usage?

What is the correct usage of the CSS background-image property? The key things I am trying to understand is Does it need to be in quotes i.e.: background-image: url('images/slides/background.jpg'); Can it be a relative path (as above) or must it be a full URL? Any other points I should be aware of to make sure it works correctly across...

Google chrome link stylesheet tag at runtime

I'm adding a CSS link tag at runtime, it works in all the browsers except for chrome, which simply refuses to use the CSS, Its a PHP script file in which a header('Content-Type: text/css;); has been added as follows var css; css = '<link rel="stylesheet" type="text/css" href="http:/domain.com/cm.css?c=someval"/>'; $(css).appendTo("body"...

Internet Explorer 6 and 7: floated elements expand to 100% width when they contain a child element floated right. Is there a workaround?

I've got a parent div floated left, with two child divs that I need to float right. The parent div should (if I understand the spec correctly) be as wide as needed to contain the child divs, and this is how it behaves in Firefox et al. In IE, the parent div expands to 100% width. This seems to be an issue with floated elements that hav...

what is the best cross browser html WYSIWYG editor ?

Hello all im looking for cross browse WYSIWYG css/html web editor ( freeware please ) that is desktop , can you recommend me on which should i use ? ...

Css & Asp:Button conflict

Hello, I am working on a webpage and at some point I need to disable a asp:button. This page uses a css file that has the following class: .pagerLinkDisabled { display: none; } So every time I set a button to disabled .net renders it with class="pagerLinkDisabled" and the button is not displayed... At pageload I tried this: m...

Comparing and rationalizing CSS - not file or diff based

I'm in the process of taking a couple of separate asp.net applications, and combining them. One problem is rationalizing the CSS between the two app - app1 has two css files, while app2 has about 8 of them. Much of the CSS between the two apps is the same, but there are some differences. I'm looking for a tool to compare all the eleme...

CSS - Nested DIV : Clear Sub Styles

I am sure sure if this is even possible due to the nature of CSS and being cascading, but I will try anyway. I am creating a Terms and Conditions box which will contain some key elements that the user will select. Since the T&C's will have form components (radio buttons, check boxes). I don't really want to go through the trouble of put...

No space between bottom of div and div it is within

I have a div within a div, and when viewing the web page in IE6, it does not display spacing between the bottom of div class="video-tour" and the bottom of div class="content-body" Here is what it looks like in IE6: http://i42.tinypic.com/20zs7s7.png Here is what it looks like displaying correctly in Safari: http://i44.tinypic.com/2h69...

file type icons using a css rule

Hi there I'm using this approach to display an icon near each link to a file from my web-application. In order to avoid IE history cache problems I display a link as <a href="path/to/the/file.xls?timestamp=0234562">FileName.xls</a>. In this case the css rule doesn't do his job. Do you know how can I solve this problem? ...

howto insert an image from client side into an editor?

like an "insert" menu,by which to insert an image into the editor, using javascript,I've no idea what's the solution at all, should be in 2 steps: 1.let user choose image(this should be doable by a "input type=file") 2.insert the chosen image into editing context(don't know how to implement) ...