css

Gimp vs Inkscape vs Fireworks for website development?

InkScape users, can you recommend Inkscape for website-template development. I have to learn a tool for website templating, to create layout and export slices, one of my friend is suggesting fireworks i have seen him working ie why i am aware about slicing/css, and web-says lnkscape shall be fine, nothing detailed review. Has someone, yo...

table-layout: fixed in Internet Explorer breaks large tables

I seem to have stumbled upon a bug (or at least I think so). The bug occurs in Internet Explorer 7 and Internet Explorer 8 in "compatible mode". Here is a test-page which reproduces the bug: <%@ Page Language="C#" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd...

sharepoint custom theme behaving oddly

I'm deploying a sharepoint theme as a feature. the theme contains my css and images etc. when i deploy the theme and activate it it doesnt work. i accidently got the theme to work by opening up the masterpage i created in sharepoint designer checking it out and saving it without making any changes. then deactivating and then reactivat...

How can I create an HTML table with a fixed header that works in mobile phones like IE for windows mobile?

How do I create an HTML table with fixed header that works in mobile phones like IE for Windows Mobile? I have found this demo. It is great, however, it does not work in IE in Windows Mobile. ...

How to position absolute inside a div?

I'm having a strange problem positioning a set of divs inside another div. I think it will be best to describe it with an image. Inside the black (#box) div there are two divs (.a, .b) that have to positioned in the same place. What I'm trying to achieve is pictured in the first image, second one is the effect I get. It looks like if th...

Asp.net mvc grid with each cell having its own record

I am wondering about the most elegant solution of having a grid with each cell having its own record and specify say 3 records across 5 down for example. It is having a "tile" effect of records ...

CSS not updated during debugging ASP.NET MVC application

I am working on a test application based on ASP.NET MVC. I am new to CSS stuff so I am learning that as well. I have created a master page called "new.master" and created a new css "new.css". I am calling the view from controller as: return View ("About", "new"); What I am doing is that I am frequently updating the css and master pag...

Is there an open source CSS validator that can be run locally?

I want to check internal web pages, so I cannot use the W3C validation service directly. I managed to run the XHTML validator locally, however, I have some problems with the css-validator. I do not really want to setup Tomcat or Jigsaw in order to be able to run Java servlet, and the commandline option give me an error message Exception...

IE image spacing issue

I have an image above a div, and IE (7, and presumably 6) insists on putting a space between the two. How can I get rid of that space? <html> <body> <img src="http://www.google.com/intl/en_ALL/images/logo.gif" style="margin: 0; padding: 0; border: solid 1px black" /> <div style="margin: 0; padding: 0; border: solid 1px ...

CSS3 worth it or not.

Ok, I need a little help. For quite some time now I've been using CSS2, it works with most browsers and it's pretty easy to modify. But all of a sudden I'm hearing about CSS3 and that it works with only certain browsers, so.... What are the benefits of using CSS3 when most of your viewers won't be able to see it in action? ...

CSS Tables, Invert order of displayed content

I know this is a bit bleeding edge, but here's the question anyway: Given <div id="one">First Div</div> <div id="two">Second Div</div> ... #one, #two { display: table-cell; } ... which gives me a lovely side-by-side arrangement of the div's with #one on the left and #two on the right. Is there anyway to put #two on the left and #...

Javascript CSS Woes - DOM Styling

Hey, I have the following as part of a script: // JSON object out into DOM Nodes, and appends them to 'searchResults' DIV) var amzJSONCallback = function(tmpData){ if(tmpData.Item){ var dv = cel('div'); var gDiv = getEl('searchResults'); gDiv.innerHTML=""; var tmpItem = tmpData.Item var ig = cel('img'); ig.setAttribute('s...

What happened to my page title?

I created a new ASP.NET MVC application. The home page looks like this: I tried to move the [ Log On ] link to the bottom of the page and got this: What did I do wrong? EDIT: Here's the CSS code, here's the original file, and here's the changed file. ...

selecting jquery children with hover

Hi, I have the following (broken) code: $(".old_post").hover(function(){ $(this > ".post_right_nav").show(); post _ right _ nav is a div(containing other divs) that holds some controls for the user to press. I'd like to only show these controls when the user is hovering over a post. How can I properly select the child element of ev...

Tabs in ASP.NET MVC

Hi, I want to bring the TAB structure in asp.net mvc page. How I can do this ? Thanks in advance. ...

Detecting if Firefox 3.5, or Firefox 3.0 or lower

I have to admit I never had to worry about Firefox versions before when it came to CSS, but for some reason, FF 3.5 is not positioning some of my elements properly as compared to how FF2 and FF3.0 do. Now I am faced with having to detect if its FF 3.5. Here is what I do now for handling CSS across FF and IE: <!-- MAIN STYLESHEET --> <...

making style display before p tag

Is there any way to get a .body_content p:first-child {yada yada} to work if there are elements that come before the first <p>? Like an H1 or H2 Trying to find the answer for: http://twitter.com/jackmcdade/status/2673916752 We need to target the first p's font-size in a div, even if there are html elements before, such as an h1 or h2...

What's css style "p + p"?

Using firebug, I found that blueprint css framework is applying this style to my <p> tags: p + p { margin-top:-1.5em; text-indent:2em; } I don't know what the + means. What's the difference between this and just definining a style for p without + p? ...

three columns fluid layout

You can copy&paste the following markup and css to see the effect. The problem exists in the "footer" part. Now "column1" and "column3" are absolutely positioned. It works only when "column2" is highest. How to make the "footer" not interleave with column1~column3 under all conditions? markup: <body> <div id="mainwrap"> <div id="he...

indented div with flexible width

I am trying to create a div that starts 200px from the left and extends to the edge of the page on the right but not beyond. Right now with 100% as the width it extends 200px beyond the page to the right. Without the width, it still extends beyond by 200px. Any idea how to make this work? #MsgBanner{ position:relative; background...