css

What is the best CSS editor available for free

Hi everyone, I am looking for a CSS editor that is decent and free to use. I looked at couple but not sure which one to use or even if there is a better one that I am missing out on. ...

Resources for building public information displays using HTML/CSS?

I would like to displays schedules, maps and other informations on displays in a building for visitors. These displays would provide at most mouse input but no keyboard. Ten years ago this was the domain of Macromedia Director but today I believe that browsers and content management systems provide a better architecture. However, I coul...

In firefox, how can I change an existing CSS rule

In firefox, I have the following fragment in my .css file tree (negative){ font-size: 120%; color: green;} Using javascript, how do I change the rule, to set the color to red? NOTE: I do not want to change the element. I want to change the rule. Please do not answer with something like ... element.style.color = 'red'; ...

If a CSS rule changes, does the browser need to be refreshed

If I have changed a CSS rule via javascript, do I need to do anything to "refresh" the browser to redisplay the current page using the updated rules? ...

Removing [selected] borders in a DetailsView control

I have a DetailsView control which includes several rows that form an address. Ideally I'd like to 'merge' the Address row with the following two rows - essentially removing the borders between them. I'm guessing that I could use a asp:TemplateField to create an approximate solution (use a single row, but us line breaks in the seconf (d...

Are there any WYSIWYG HTML editors that don't mess up the code?

I've tried various editors, both desktop applications and web-based RTEs, but have not found anything that works very well. All too often, they mess up code, adding in "tag soup". Even the ones that claim to only produce valid code often produce a total mess of span tags and style attributes. Here are some of the features I'm looking fo...

Align photo position with css

My current project is a news portal. Some users are capable to put the news with some media related to it, like pictures. Currently, the CSS places the pictures in the right lower corner, after the text. I would like to put the photos in the right upper corner, around the text, like in this example. Any ideas? ...

What is better: CSS hacks or browser detection?

Commonly when I look around the Internet, I find that people are generally using CSS hacks to make their website look the same in all browsers. Personally, I have found this to be quite time consuming to find all of these hacks and test them; each change you make you have to test in 4+ browsers to make sure it didn't break anything else....

How to do browser detection with jQuery 1.3 with $.browser.msie deprecated?

How should browser detection be done now that jQuery 1.3 has deprecated (and I'm assuming removed in a future version) $.browser.msie and similar? I have used this a lot for determining which browser we are in for CSS fixes for pretty much every browser, such as: $.browser.opera $.browser.safari $.browser.mozilla ... well I think tha...

Browser detection for CSS: Use separate CSS files or inline CSS or...?

I'm wondering which is best for speed: Option 1: Loading separate CSS for each browser (separate JS file included through a <script/>): // for internet explorer 6 & 7 if ($.browser.msie) { document.write('<link rel="stylesheet" type="text/css" href="/css/styles-ie.css" />'); } // for opera if ($.browser.opera) { document.write...

How to grey out the full browser window and display a form in the center?

Have you come across those websites that grey out the full browser window and show you a notification or ask you to fill in a survey .. etc? This used to happen with myspace, if you mistyped in the email or password the full browser window would grey out (it's transparent though, you still can see the contents of the page through it) and...

JQuery DatePicker, how to highlight current input value date?

I'm using the datepicker control for jquery and all is well except that I cannot get it to highlight the currently selected input value (or the current date for that matter). Even though I have s valid date value in my text input and can get the datepicker to return the correct month / year, I cannot get it to highlight that date on the ...

Any way to synchronize table column widths with HTML + CSS?

I have a number of tables with the same columns and it would look a lot nicer if they shared the same column widths. Is such a thing possible? Putting them in the same table with some rows with no borders between them isn't an option. Edit: Yeah I'm aware I can fix the widths myself but I was hoping for something that would tie in to ...

CSS, WordPress and IE

I would like to position three items in CSS using float. In the top left--logo To the right of the logo, the navigation, which is an unordered list, ie floating left. In the top right, a 2 line sign up for newsletter field--copy top row and form field with submit bottom in the second I've given each it's own Div tag but can't see t...

Z-Index IE bug fix???

Hi Folks, Does anyone know of a working fix for the ie z-index bug? I have come across a few solutions but interested to see if anyone here knows of a better fix. Thanks! ...

Text wrapping around an image (or any element)

Is there a way with CSS to wrap text on both sides of an element (an image for example). I am trying to have an image positioned in the middle of a paragraph and would like text to flow over it. Please see the image for an example. http://i42.tinypic.com/14mvp69.jpg Positioning an element typically takes it out of the document flow; ...

Text-shadow for position: static

Is there any way to do text shadow for Position static with somewhat decent crossbrowser support? The CSS3 text-shadow is ultimately what I'm after, but of course only Safari/Opera/(not yet released FF3.1) out of the major browsers support it. All javascript/css techniques I've seen forces the text into position:absolute, which will no...

CSS for the "down arrow" on a <select> element?

Is it possible to stylize the down arrow on a drop down select element? i.e., (-->) I suspect the answer is no because of the way IE handles that particular element. If there isn't a way, does anyone know of a 'fake' drop down box using javaScript that would mimic that behavior but give me the ability to customize? ...

Want to get CSS Text Wrap working in IE7

The following code renders great in FF3 but doesn't work in IE7. Does anyone have an idea how to fix it? <div style="padding-top:3px;padding-bottom:5px;width:650px;background:blue"> <div style="height:50px;float:left;display:inline;width:500px;background:gray">http://www.brainsolis.com/2008/10/twitter-tools-for-comunity-and-love-for...

HTML/CSS: Table getting out of a cell. Is it normal? How to fix?

I have a table inside a cell, and that table is "getting out" of the cell, as see in this screenshot: I see this on Firefox. Is this "normal". How can I fix this? The code: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"&gt; <html xmlns="http://www.w3.org/1999/xhtm...