tagged [css]

How to preserve aspect ratio when scaling image using one (CSS) dimension in IE6?

How to preserve aspect ratio when scaling image using one (CSS) dimension in IE6? Here's the problem. I have an image: Note no height or width specified. On certain pages I want to only show a thumbna...

Html table (text) to image using C#

Html table (text) to image using C# Can anyone point me to some sample code in C# for converting an html table to image? I know how to convert text to image but i need to create an image of well forma...

20 Apr at 17:35

Style input element to fill remaining width of its container

Style input element to fill remaining width of its container Let's say I have an html snippet like this: This isn't my exact code, but the important thing is there's a label and a text input on the sa...

21 Apr at 16:37

Side-by-side list items as icons within a div (css)

Side-by-side list items as icons within a div (css) I am looking for a way to create a `` of items that I can put within a `` and have them show up side-by-side and wrap to the next line as the browse...

6 May at 01:47

Implementing columns in HTML/CSS

Implementing columns in HTML/CSS I have a bunch of DIVs that contain textual information. They're all the same width (maybe 400px or so), but different heights. For space reasons, I'd like to have two...

9 May at 13:32

Radio/checkbox alignment in HTML/CSS

Radio/checkbox alignment in HTML/CSS What is the cleanest way to align properly radio buttons / checkboxes with text? The only reliable solution which I have been using so far is table based: This may...

20 May at 21:57

Show and hide divs at a specific time interval using jQuery

Show and hide divs at a specific time interval using jQuery I would like to show divs at a specific interval (10 seconds) and show next div and as go on and repeat the same. ** > ** On 10th second sho...

27 May at 10:21

How can I hide a TD tag using inline JavaScript or CSS?

How can I hide a TD tag using inline JavaScript or CSS? How can I hide a `` tag using JavaScript or inline CSS?

27 May at 15:54

Is there a way to make a DIV unselectable?

Is there a way to make a DIV unselectable? Here is an interesting CSS questions for you! I have a textarea with a transparent background overlaying some TEXT that I'd like to use as a sort of watermar...

29 May at 08:10

Check this web optimization report - how can I fix it?

Check this web optimization report - how can I fix it? Hi guys I ran the analyser on [http://www.websiteoptimization.com/services/analyze/](http://www.websiteoptimization.com/services/analyze/) and I ...

31 May at 09:22

HTML/Text Spacing Problem

HTML/Text Spacing Problem [HTML Spacing Problems http://img19.imageshack.us/img19/705/ohdear.png](http://img19.imageshack.us/img19/705/ohdear.png) As you can see from the image above, I'm having a few...

7 Jun at 22:57

CSS: fixed to bottom and centered

CSS: fixed to bottom and centered I need my footer to be fixed to the bottom of the page and to center it. The contents of the footer may change at all time so I can't just center it via margin-left: ...

9 Jun at 16:28

How to style the UL list to a single line

How to style the UL list to a single line I want to render this list in a single line. - - Should be shown as *List item2 *List item2 What CSS style to use?

10 Jun at 17:1

Selecting only first-level elements in jquery

Selecting only first-level elements in jquery How can I select the link elements of only the parent `` from a list like this? ``` Link Link Link Link Link Link Link

10 Jun at 20:20

How do I style a div to make it run with the text?

How do I style a div to make it run with the text? I want to make a small text-height div run with the text. My code looks like this: it should come out to look like: but it always comes out as:

15 Jun at 22:14

How to use a global selector to respond to all click events except on one element?

How to use a global selector to respond to all click events except on one element? If I have a button: Normally I would write: But I want to define a function that responds to all click events when so...

Change alpha for an image hover in CSS2 standard?

Change alpha for an image hover in CSS2 standard? i'm trying to add alpha effect for my image. the image is in rounded corner rectangular shape. i know there is attributes to change the alpha in CSS3,...

23 Jul at 19:53

CSS How to set div height 100% minus nPx

CSS How to set div height 100% minus nPx I have a wrapper div which contans 2 divs next to each other. Above this container I have a div that contains my header. The wrapper div must be 100% minus the...

28 Jul at 08:50

Scrolling a div with jQuery

Scrolling a div with jQuery I am attempting to create a div in a container within a container which is scrollable with up and down arrows in jQuery. The only thing I can find which I wish to use was [...

28 Jul at 11:12

How to reference embedded images from CSS?

How to reference embedded images from CSS? I have a CSS file that is embedded in my assembly. I need to set a background image for certain elements using this CSS file, and the image needs to be an em...

28 Jul at 21:8

Is there a way to use use text as the background with CSS?

Is there a way to use use text as the background with CSS? I would like to use dynamic text as background of certain elements in my tag. Because of this, I can use images (dynamic text). How do I do i...

29 Jul at 04:35

How can I add a css class to an updatepanel in ASP.Net?

How can I add a css class to an updatepanel in ASP.Net? How can I add a css class to an updatepanel in the c# code behind file of asp.net

29 Jul at 19:17

IE6/7 link overlapping + text-indent

IE6/7 link overlapping + text-indent I need a little guidance here... I have 2 links: ``` RAM Moudles

Is there a pure CSS way to make an input transparent?

Is there a pure CSS way to make an input transparent? How can I make this input transparent? I've tried this but it doesn't work.

31 Aug at 11:56

Landscape printing from HTML

Landscape printing from HTML I have a HTML report, which needs to be printed landscape because of the many columns. It there a way to do this, without the user having to change the document settings? ...

8 Sep at 10:26