css

CSS letter-spacing parts of a word

I want to do something like this in HTML: "T i t l e" The W3C recommends using the CSS property letter-spacing rather than inserting spaces. So, I can do the following: &quot;<span style="letter-spacing: 0.5em;">Title</span>&quot; which gives the following result: "T i t l e" (sometimes IE), "T i t l e " (all other browsers) The a...

HTML support for column formatting using GWT?

In GWT I am using the following CSS to apply a format: .watchListHeader { background-color: #2062B8; color: white; font-style: italic; } Here is what I get when I apply the format in two different ways. stocksFlexTable.getColumnFormatter().addStyleName(0, "watchListHeader"); stocksFlexTable.getRowFormatter().addStyleName(0,...

how to apply background iframe to an image?

Hi, I am using wordpress blog on my site: http://sunite.co.uk I want to rotate background image on the current theme:Techified The background image i want to rotate using openx is: http://sunite.co.uk/images/background.html The code on the stylesheet.css for this is: /************************************CONTENTAREA*********************...

prettyphoto not working

I can't get it working anyone out there can help I use this in the head <script src="js/jquery-1.3.2.min.js" type="text/javascript"></script> <link rel="stylesheet" href="css/prettyPhoto.css" type="text/css" media="screen"/> <script src="js/jquery.prettyPhoto.js" type="text/javascript"></script> I use this for photos rel="prettyPhot...

CSS How to place a submit button on a new line?

How can I place an input type=submit on a new line following a text area element? without using a br tag or a div, ideally I like to do it using css. ...

Ajax entire page - display only one div and retain CSS and other header material?

A client wants a merch shop on their site, and has set one up. I could iFrame in the whole page to the merch page, but frankly the merch site is an eyesore, and their site has a very particular feel to it. So I'm considering using an AJAX GET to grab the whole page, then javascript to display only the div with the merchandise in it. H...

Consistently sizing a TEXTAREA under IE, FF, Safari/Chrome

I have a TEXTAREA that needs to fit into a space whose size is not pre-determined (is a percentage of the screen size). I can get good results if FireFox by setting the regular CSS properties: #container { width: 70%; height:70% } #text_area { width: 100%; height: 100%; margin: 0; padding:0; } However in IE 6 and 7 I get different, od...

Removing unwanted table cell borders with css

Hello everyone, I have a peculiar and frustrating problem. For the simple markup: <table> <thead> <tr><th>1</th><th>2</th><th>3</th></tr> </thead> <tbody> <tr><td>a</td><td>b></td><td>c</td></tr> <tr class='odd'><td>x</td><td>y</td><td>z</td></tr> </tbody> </table> I apply different background-...

Webpage loading in internet explorer problem?

Using CSS Style Sheet, HTML, XML When i run my website, my page was properly displaying in the firefox, but the page was not properly displaying in the internet explorer. Most of the people using only the internet explorer, but why my web page is not properly loading in the internet explorer. I have to change the setting of internet e...

How to align the top lines of two <div></div>?

I want the top lines of two <div></div> to be aligned horizontally, how to do it? ...

Why does my site look like garbage in IE?

<!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/xhtml"&gt; <head> <title>Davey Whitney</title> <link rel="shortcut icon" href="http://daveywhitney.com/images/favicon.ico" /> <script src="js/jquery.js" type="text/javascript"><!--mce:0--><...

Why are there so many underlines in this HTML file? The layout is out of shape too, how to correct it?

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt; <html xmlns="http://www.w3.org/1999/xhtml"&gt; <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Uターンラッシュがピーク 新幹線や空の便、ほぼ満席 -Tenxian</title> <script src="http://ajax.googleapis.com/...

Fixed 3 Column Site

I know this has been asked before but im curious to see if things have changed. I'm looking for a html/css fixed 3 column layout with the main content (middle) area located first (of the 3 columns) in the DOM - for SEO. Any ideas? ...

Should we use strict doctype if our code is valid with Transtional doctype?

What are cons to use transitional doctype with presentational or deprecated element, if our code is valid in W3C validation with transitional doctype? Will we have to rewrite/edit site's code again after few years for the site's in which we are using XHTML/HTML transtional doctype.? This is not semantic but using less character, and it...

Correcting 100% Width Problem with Anchors

Ok, so I have a class that modifies the looks for a specific type of anchor that I'm using, but the problem is that the browsers keep adding the 30 pixels of padding that I have set onto the defined 100% width, so it's stretching out past the box which the anchor is located in. div.box div div div a.option_line { cursor: pointer; displa...

How to style an Horizontal Splitter panel in GWT 1.5

I have this requirement to style a right side of a horizontal splitter panel. From what i know, GWT 1.7 has support for the individual panel (left and right) styles, But we are using GWT 1.5 here. gwt code: HTML div1 = new HTML("Div 1"); div1.setWidth("200px"); div1.setHeight("200px"); HTML div2 = new HTML("Div 2"); div2.setWidth("400p...

How to fix this kind of problem?

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt; <html xmlns="http://www.w3.org/1999/xhtml"&gt; <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>test</title> </head> <body> <br /><br /><br /> <div style="line-height:150%"> <span...

What's the difference between line-height:1.5 and line-height:150% in css?

Anyone knows about it? ...

Customization of Css for huge number of users

Hi folks, I have a website where user can select themes, customize background,text and many more. I want to save all the changes. Which one would be a better read?? a database read or a file read. any suggestions? Thanks in advance !!! ...

Automatically convert CSS file to be used on dark backgrounds

I have about 200 CSS files like this: /** * GeSHi Dynamically Generated Stylesheet * -------------------------------------- * Dynamically generated stylesheet for bnf * CSS class: , CSS id: * GeSHi (C) 2004 - 2007 Nigel McNie, 2007 - 2008 Benny Baumann * (http://qbnz.com/highlighter/ and http://geshi.org/) * --------------------...