css

Do you validate your websites?

I recently read a great resource by the Opera developers, entitled, "Introduction to The Web Standards Curriculum". I thought the articles put forth some good reasons why you should look at validating your website, but I realize that not everyone validates their sites, including most of the big names (Google for instance). Do you validat...

Can I get away with not being a designer

Hi, I want to get into web development but that fact of the matter is I don't really enjoy doing the design work and IMHO CSS and the like seem overly complicated and not something I'd really feel like investing my time in, it simply does not capture my interest the same way the business logic side does. Can I get away without doing the...

Broken Menu

I am referring to the #controller div. It works fine locally. But I'm racking by brain trying to get the menu items to show up on the same line. Link: http://philzit.com/products ...

How can I override a table width property in CSS

I have the following style in an external CSS file called first.css table { width: 100%; } This makes the tables fill their container. If there are only two small columns they appear too far from each other. To force the columns to appear nearer I have added this style table { width: 50%; } to a new file called second.css and link...

Div 100% height works on Firefox but not in IE. What to do?

I have a container div that holds two internal divs; both should take 100% width and 100% height within the container. I set both internal divs to 100% height. That works fine in Firefox, however in IE the divs do not stretch to 100% height but only the height of the text inside them. The following is a simplified version of my style s...

What Could Cause Intermittent Issues with Images Loading in Internet Explorer 6?

I am having issues with a website that I am working on in which images and background-images fail to load in Internet Explorer 6. Here is an example of a page on which you might experience this issue: Example Page So far I have looked at the following possible issues and pretty much ruled them out: XML/Extraneous data in the image f...

Positioning flash content using CSS

I have a generated HTML page with flash content in it. I am trying to reposition the flash content and make it "absolute". I have tried to wrap the object tags with a div tag, but to no avail. Can anyone tell me how to do this? Removing the generated positioning attributes does not work. See relevant code below (it is not very neat, bu...

HTML newspaper columns

I'm trying to create newspaper style columns using a block of text. I would like the text to be evenly spread out across 2 columns which could react to change of length in the text. Is this possible using just HTML/CSS, if not could javascript be used? Thanks ...

Printing from the web with few steps

I need to add functionality to my J2EE-based wep application: 1) Take some page, probably with form controls, convert it to some printer friendly format. 2) Print this rendered format a) without showing it and b) without a print dialog. I'm not too worried about 1, but have no idea if 2a and 2b are even possible. Thanks for any help. ...

How do I customize the print layout of a SharePoint list item?

i need to be able to produce a "pretty" printout of an individual list item's values, with the goals being: get rid of all navigation organize data as it would appear on a typical paper form (a customer requirement) i'm avoiding using InfoPath at this time due to other issues (which i'll post separate questions for...) for example, ...

How to edit CSS style of a div using C# in .NET

I'm trying to grab a div's ID in the code behind (C#) and set some css on it. Can I grab it from the DOM or do I have to use some kind of control? <div id="formSpinner"> <img src="images/spinner.gif" /> <p>Saving...</p> </div> ...

What is the preferred way to do a CSS rollover?

When setting up a rollover effect in HTML, are there any benefits (or pitfalls) to doing it in CSS vs. JavaScript? Are there any performance or code maintainability issues I should be aware of with either approach? ...

Dynamically sizing tab made of images.

I'm trying add a tab to my web page that looks like this: Using this example as a basis, I've gotten it partially working. My case differs because I want the text section to be a fixed with, but the tail section to dynamically resize to take up the rest of the tab's container. It looks good in IE 6, but doesn't really take up the ful...

Is there a way to have content from an IFRAME overflow onto the parent frame?

I have a UI widget that needs to be put in an IFRAME both for performance reasons and so we can syndicate it out to affiliate sites easily. The UI for the widget includes tool-tips that display over the top of other page content. See screenshot below or go to the site to see it in action. Is there any way to make content from within the...

(CSS?) Eliminating browser's 'selected' lines around a hyperlinked image?

The attached screenshot is from OS X/Firefox 3. Note that the center tab (an image) has a dotted line around it, apparently because it was the most-recently selected tab. Is there a way I can eliminate this dotted line in CSS or JavaScript? (Hmmm...the free image hosting service has reduced the size of the image. But if you could see it,...

How can I modify a CSS file programatically?

I have a legacy application that I needed to implement a configuration page for to change text colors, fonts, etc. This applications output is also replicated with a PHP web application, where the fonts, colors, etc. are configured in a style sheet. I've not worked with CSS previously. Is there a programatic way to modify the CSS and ...

Where can I get materials to begin learning CSS?

I will be designing some web forms shortly... my boss told me to use CSS. Never used it before, please guide me ... where do I start? ...

Best Practice: include( or <script src="

I have minified my javascript and my css. Now, Which is better? <script type="text/javascript"> <? $r = file_get_contents('min.js'); if($r) echo $r; ?> </script> OR <script type="text/javascript" src="min.js"></script> Same question for CSS. If the answer is 'sometimes because browsers fetch files simultaneously?' Which brow...

Change Theme / CSS based on user

I am building a product that we are eventually going to white-label. Right now I am trying to figure out the best way to facilitate these requirements programmatically so the user can update the basic design of the site (ie header color, etc) via their profile/settings form. Requirements: - User can update the logo (this is complete) ...

How do I make a tag cloud in ASP.NET?

I'm venturing into web programming for the first time and would like a nice way to display a frequency indicator of some data, in the form of a tag cloud. For example, pretend I have some simple data of three types of pets: Dog, Cat, Monkey. There are 5 Dogs, 27 Cats and 101 Monkeys. Given this data, what's the best way to make a tag...