xhtml

Large gap at bottom of webpage

What usually causes a large gap in excessive whitesapce on webpage like this one: http://beta.globerunnerseo.com/contact/ ...

How do I apply a different background image to the <html> tag?

I need to apply different background images to the home page < html > tag and the inside pages of a site. In order to do this the references need to be unique. Without using class or id, how do I differentiate between the tags? I tried this, but it doesn't validate: <html class="inside"... Thanks! ...

Google analytics https iframe does not work on chrome and safari

So I'm trying to embed the google analytics login page onto a page. Works fine on IE and Firefox. The website is hosted on a local machine. Code: <iframe src="https://www.google.com/analytics/settings/?et=reset&amp;hl=en" height="1000px" width="100%">Your browser does not support iframes.</iframe> Is this a bug in chrome safari or ca...

CSS link styling troubles.

Hi there, I've been making websites for years and theres on thing that really bugs me and confuses me. I set a link style in the css file for a content div in my website and this successfully styles the links. However if i create a span or div inside this div with a new link style i end up having to add in !important to various attribu...

How can you resize li labels without resorting to coupling or absolute sizes?

I am under the impression that the best way to style a list item is to wrap its content, apply a style to ol, and override that style via the wapper (as discussed on http://stackoverflow.com/questions/862878/make-abc-ordered-list-items-have-bold-style). This is straightforward and fine, but since relative sizes are calculated based on i...

What is the means of "margin collapse"?

Possible Duplicate: For what reason margin collapse rules were introduced in CSS? What is the means of "margin collapse"? ...

jquery slider alternative?

Hello, Are there any alternatives to jquery-ui slider? It doesn't do what I want it to be (allow images to be used rather then the default css, well it does but the handle goes above the images). Thanks! ...

How to get alternate colors div with pure css and with IE 7 support?

This is HTML. <div class="container"> <div> background of this i need in white </div> <div> background of this i need in red </div> <div> background of this i need in white </div> <div> background of this i need in red </div> </div> I want to select alternate div without adding c...

How does web server detect Content-Type for a response document?

I have 2 identical xhtml-documents which are in html (1st) and xhtml (2nd) extensions. The difference is in extension only. Using ajax (jQuery 1.4.1) I try to get 1st, but web server (IIS 5.1) sends response with Content-Type: text/html instead of application/xhtml+xml. If I try to get 2nd, there are no problems. For both documents I ...

xslt problem (namespaces?)

I have a document like this: <?xml-stylesheet type="text/css" href="http://ltw1001.web.cs.unibo.it/svg.css" encoding="UTF-8"?> <!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" xmlns:svg= "http://www.w3.org/2000/svg"&gt; <body> <sv...

How to make overlap tab effect, without using image?

How to overlap selected tab over 2nd level tab using css only? This is HTML code <div class="tabcontainer" id="tabcontainer"> <ul id="tabitemscontainer1"> <li class="selected"><a href="#">item 1</a> <ul class="level2"> <li><a href="#">sub item 1 </a></li> <li> <a href="#">subit...

using jquery clicking on Div1 , Div2 should be open/close....

I want to add a + button to div 1 only if JavaScript enabled (otherwise it should not be there) and when user will click on + button then div 2 will be open/close like accordion. if div 2 is opened then + icon should be changed into - by default div 2 should be closed and if JavaScript would be disabled then it should open by default a...

How to convert any .htc file into .js file?

How can I convert any .htc file into .js and use the resulting JavaScript? For example, this is a .htc file: http://curved-corner.googlecode.com/files/border-radius.htc. I want to convert it into .js. I want to convert it because the CMS I'm working with will not allow me to attach the .htc file. I think it's because of a mime type i...

Which border radius property will work in IE9?

In IE9, which border radius property will work? border-radius:20px -webkit-border-radius: 20px; -moz-border-radius: 20px; border-radius:20px or ms-border-radius:20px ...

What is the difference between "All browser compatibility" and "Cross browser compatibility"?

What is the difference between "All browser compatible" and "Cross browser compatible"? What is the means "Cross" is it means different OS? Can we say for any site that it is cross browser compatible, if it's working fine on Desktop version of IE 7, 8 FF 3+ , Safari 3+? or cross browser means all latest and Ancient browser on all OS a...

I want to know the use of these options in firefox "Web Developer Toolbar"

I want to know the use of these options in "Web Developer Toolbar" Disable > Disable Javascript > Strict Warnings Disable > Meta Redirects Disable > Meta Referers Disable > Disable minimum Font size CSS > Use border box model Information > Display Table Information Information > Display Table Depth Miscellaneous > Show Comments ...

Problems referring a css from an XHTML

In my JSF Application (My faces 1.2.3) , I am referring to a css file as <link href="css/nav.css" type="text/css" rel="stylesheet" />, This worked when the rendered HTML is accessed as an HTML file using the browser but not inside my customized servlet container. It wasn't referring correctly, eventhough the relative path was corre...

Which Javascript solution(Not .htc) can really make Antialiased round corner in IE7 and 8?

Which JavaScript solution (Not .htc) can really make Anti aliased round corner in IE7 and 8 like CSS3 gives in supported browsers? I tried many http://www.ruzee.com/blog/ruzeeborders/ http://blue-anvil.com/archives/anti-aliased-rounded-corners-with-jquery/ http://www.curvycorners.net/ All are claiming to give anti aliased corner bu...

What does auto do in margin:0 auto?

What is auto do in margin:0 auto;? I cant seem to exactly understand what auto does. I know it sometimes has an effect of centering objects. That's about it. Thanks. ...

The white-space property between blocks

Is the CSS 'white-space' propert supposed to be able to affect the whitespace between block elements? For example, in the document used as an example in "Whitespace in the DOM" as follows, there is whitespace between the </h1> and the <p>: <!-- My document --> <html> <head> <title>My Document</title> </head> <body> <h1>Header</h1> ...