css

HTML, CSS - classes , Editors

Hello, I have a project with 1 css file and a lot of templates (.tpl), so I know that in my css file there are a lot of classes which I don't use . How can I find these classes? Is there an editor, plugin or other way, without searching each class in the whole project? ...

How can I produce a "floating" object below an inline element in HTML?

Hi! I have a slew of normal inline < a > links that I want to open up small "floating" objects on click. These objects would be simple html divs (with some CSS) that would load on top of the page and below the link. I don't want to use relative positioning which would push the page around and I can't think of a way to use absolute posit...

Inheriting from another style in a another style

Hi, If have a style like this .Style1 { background-color:white; } And style 2 like this. .Style2 { border: black solid 1px; } How do I get Style2 to have Style1 as a base style??? Malcolm ...

Complex CSS Text-Shadow and cross browser compatibility

<html> <body> <style type='text/css'> body { font: 100% myriad, arial, sans-serif; font-size: 12px; color:white; font-weight:bold; } .shadowtext { text-shadow:-0.1em 0 0.1em #626262, 0.1em 0 0.1em #626262, 0 -0.1em 0.1em #626262, 0 0.1em 0.1em #626262; } .shadowtext_text { ...

SelectedRowStyle Not Changing BgColor of Cells With Defined CSS Style

I've got GridView with selection enabled. Some columns in GridView have CssClass set, setting their background color. Also, there is SelectedRowStyle defined in GridView. Problem is, after row is selected, it's background color is changed as defined in SelectedRowStyle, except columns with own CssClass set. Their background color remain...

Text decorations in CSS

I've just learned how to make a text to blink (<div style="text-decoration:blink">text</div>). How about the other decoration modes such as color changing? Are they available in CSS? Thanks. ...

CSS column layout

Hi peeps. I'm going round in circles with a CSS layout. I basically want it like: <-------><--------------> <------><------> 400px 50% 50% So its 3 colums, one fixed size, and the other two taking up 50% each of the remaining space. I cant seem to make the second and third take up 50% of the remaining space. Any h...

Can I prevent text in a div block from overflowing?

Can I prevent text in a div block from overflowing? ...

CSS Pullquote with images

I'm trying to make a style for a pullquote that includes an image at the top left and bottom right corners of the div. My current solution is working in Safari, but in Firefox, only the end quote displays, although the space for the beginning quote is there. This is the HTML: Lorem ipsum dolor sit amet, consectetur adipiscing elit...

Simulating two backgrounds...

http://www.libertyseguros.pt/ On the example page, you can see both a gradient background, and a drop-shadow background. How is this achieved? ...

ASP.NET form designer & the DPI/em issue

This issue is obviously bigger than I thought! Using the VS2008 form designer for web pages, it'd a doddle to lay everything out using pixels. In fact, as far as I can tell, it's very hard to use absolution positioning and anything but pixels. So my webapp has developed nicely until somebody mentioned the 120DPI issue and I've wandered ...

border-radius not applying to ul element?

I've got the following CSS code, but the -moz-border-radius and -webkit-border-radius styles aren't being applied to the UL. Is there something obvious I'm missing as to why, or does -border-radius not support UL elements? ul.navigation { margin-top: 7px; margin-bottom: 10px; list-style-type: none; -moz-border-radius: 7...

Firefox 3.5 fixed-position scrolling annoying flicker

Please try to scroll down this page with the newest version of Firefox (3.5) http://resopollution.com/rentfox/html5/dashboard.html =( Is there any way to fix the flickering? Thanks in advance for help! Solution Found you have to add overflow:auto on all flickering divs using position: fixed version here: http://resopollution.com/ren...

How to rid of empty div that contains a GridView

In ASP.NET Gridviews generate a table which generates a parent div container. This can break CSS layouts since there is no way to attach styles to the generated div. Is there a way to prevent the div from generating or a way to apply a style to it? This was asked and marked as resolved here but MS just said that the div is needed for t...

100% width header doesn't fill browser

When the browser window is small enough to force a horizontal scrollbar and you scroll right the background color of the header ends before the edge of the browser. I am using a css class. .s_header { margin: 0; width: 100%; display: block; border-bottom: 1px solid #000; background-color:#b8dbec; height:133px; } ...

set inline style for dynamically created asp panel.

I'm taking values from a database and dynamically placing points on a 2d cartesian plane. I need a way to set the top and left css properties. Any help would be much appreciated. Thanks in advance ...

Background images disappearing in IE6

I've seen a lot of IE6 bugs, but this one beats everything. A page will display fine, but if I start loading a Table tag on the page sometime, most of the background images will disappear. I'm not 100% sure that it's because of the Table tag per se, but the only pages that break are the one with tables in them. I'm creating these tabl...

Anyone know a good tool for validating XHTML/CSS offline?

I'd like to find a command-line tool for Linux that will validate both XHTML and CSS. As silly as this may sound, I'd like it to be able to operate offline. ...

CSS relative - absolute

Hi all ... I have these two divs one inside another and I have the styles defined .. encapsulating one is relative and the child is absolute .. Now isn't the child supposed to be positioned according to the left top corner of the outer div, #RightSection? .. but its doing it according to the browser window ... any leads? thx in advance ...

programatically remove all html and inline formatting

i have taken over a code base and i have to read in these html files that were genreated by microsoft word, i think so it has all kinds of whacky inline formatting. is there anyway to parse out all of the bad inline formatting and just get the text from this stream. i basically want a purifier programatically so i can then apply some se...