css

Visual Studio find usages of a CSS class

Is there a way in Visual Studio to find usages of a CSS class? Right now I have to do search the entire project to find all usages. Sometimes its hard if the class is named as something generic like "title". I will get all of these search results that have nothing to do with usage of that class. ...

Website menu displays funny in all IE before IE 8

Hi all, I am new to CSS and have coded my first site with CSS. I will admit to not fully understanding CSS yet but would like to learn. I have heard about special XHTML & CSS coding being needed for older IE browsers but really don't know what CSS code is causing the trouble. The website is here. The problem is with the top and bottom ...

height: 100% inside another div with unknown height in IE6

I have a simple HTML layout: <div style="position:relative; width:200px"> <div style="position:absolute; top:0; left:0; background-color:red; z-index:-1; width:100%; height: 100%"></div> Some text goes here.... </div> Something like this works fine in all the browsers, except for IE6. As the text is added the top div is stretche...

Advanced css/html table styling

I'm trying to achieve table similar to this using css/html only. Is it possible ? http://img687.imageshack.us/img687/6139/11717002.png So the white area is the 'places' table. This is the HTML for the table : <table class="places"> <tr> <td class="solid">K</td> <td>&nbsp;</td> <td>&nbsp;</td> <td cl...

CSS3: Transparent Rounded Corner Problem.

Site is located here: CLICK TO VIEW THE WEBSITE Here is an image of the problem: As you can see, using CSS3 border-radius, and background: transparent I was able to make what looks like a "cutout" from the div. The problem should be obvious that the corners are transparent as well. I know I could just use an image and problem would b...

How to keep the header static, always on top while scrolling?

How would I go about keeping my header from scrolling with the rest of the page? I thought about utilizing frame-sets and iframes, just wondering if there is a easier and more user friendly way, what would be the best-practice for doing this? ...

Apply style to plain text inside DIV without affecting DIV's other children

Given a DIV with this general structure (class="post", from an extracted message board post) <div class="post" id="1575524"> I'm not sure why these items in the construction updates caught my eye, but they did...<br /> <br /> <div style="margin:20px; margin-top:5px; "> <div class="smallfont" style="margin-bottom:2p...

Prevent HTML Browser from Clipping Text & Showing 1/2 a Text Line

Let's say my browser window is 105 pixels high and I show a text block where each line of text is 10 pixels high - the browser will show me 10 and 1/2 lines in the window (i.e. The bottom line will be clipped vertically). Is there some way to prevent this behavior and see only 10 lines? The reason I want to do this is that I am using a...

can i set a font family inside <li> tag

im guessing not cause i've been trying it with examples and nthing works... but im curious why not? and how im gonna set it ? thnx! ...

CSS body background image fixed to full screen even when zooming in/out

Hi all: I am trying to achieve something like this with CSS: I'd like to keep the body background image fixed on fullscreen, this is sort of done by the following code: body { background: url(../img/beach.jpg) no-repeat fixed 100% 100%; } Now I can verify the window is indeed filled up with that image, at least this works on my ...

width/height 100%

Is it same like to omit width/height CSS properties and to specify them as 100%? ...

DIV scroll bar , not scrolling content

I have a div with it's CSS style property set to overflow:scroll. This does show a vertical and horizontal scrollbar when the content is large. Now when I click on the scroll bar it is not actually scrolling the div content. Anything wrong , please advise. ...

CSS - prevent image upscaling?

In my CSS, I'm currently using this: img.info { max-width: 620px; max-height: 800px; } Unfortunately, when my image is smaller than max-width and max-height, it gets upscaled. I thought the standard behavior was that no scaling would occur, but apparently, this is not the case. Is there any way to prevent the image from upscal...

a:active a href not working

Hi there, I'm trying to apply the css on the a href, basically i need to apply the same style as hover when the a href has been clicked to indidate the users on which page that they are on. any ideas? ...

background for checkbox at IE

Hi, I have a list of check-boxes and in IE the last one has strange color. In FF it's perfect. http://img693.imageshack.us/img693/3987/40401854.jpg <p> <span>abc:</span> <br /><br /> <label><input type="checkbox" id="a" name="a" <?php echo $a; ?> /> 1</label> <br /> <label><input type="checkbox" id="b" name="b" <?ph...

when is the :visited pseudo-class applied to a hyperlink

I have some questions about the :visited pseudo-class: Based on what do browsers decide when the :visited pseudo-class should be applied to a hyperlink? Do they take this information from the browser's page history or is it stored per-session or somewhere else? Is it possible (for the developer of a web page) to control for how long th...

How to make uneven text wrapping (not square or round) like this with semantic and clean HTML, CSS?

How to make text wrapping like this with semantic and clean HTML, CSS ? With compatible in all browser. Adding different classes to <p> is the only solution I'm thinking if there is no other solution. but with that way every time client would not be able to change classes, which is drawback. ...

Mime type for WOFF fonts?

What mime type should WOFF fonts be served as? I am serving truetype (ttf) fonts as font/truetype and opentype (otf) as font/opentype, but I cannot find the correct format for WOFF fonts. I have tried font/woff, font/webopen, and font/webopentype, but Chrome still complains: "Resource interpreted as font but transferred with MIME type...

Title goes up if added more text

hi I'm wondering why it is happening here. If delete the text: "Sed ut persp iciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque." Then the title of the site will go up,please see the image here: http://www.freeuploadimages.org/images/sgazmtxj4f92ywdkqn82.jpg And here is the...

CSS: z-index issue

I am using jquery UI Dialog (ver 1.8) to create dialog boxes. In this dialog box, I use the datePicker plug in for display 2 calendars. Everything works fine in FF but the cals don't dispaly at all in IE. How do I got about fixing this issue? I've tried to modify the css z-index of the dataPicker to be 999999 but that didn't help. Thank...