css

Free CSS UI Templates

Hi, Could someone show me some css ui framework/template for consistent web application, something like: http://www.webguitemplates.com/templates/futurism/futurism-blue http://www.webguitemplates.com/templates/simplus/simplus-silver http://www.adminizio.com/ http://gooeytemplates.myshopify.com/products/blue-atom http://gooeytemplates....

Widgets on Samsung Star/ Samsung Corby

Hi, I just created a new widget by following a tutorial. I created a zip containing all files and renamed it to HelloWorld.wgt instead of HelloWorld.zip. I sent it to my samsung star/corby via data cable, but when I try to open the wgt file on my phone it says it can't open it, because it doesn't know the filetype. Is there a way to ins...

Fixed column and fixed header and scrolling text using css?

Hi, I want to make a fixed column and fixed header on a table with the rest as scrolling text by using CSS. But not using jQuery, just simple CSS and JavaScript just like xls Thanks ...

IE6 anchor wordwrapping (display:block, width:0)

Hello, Unfortunaly this site we're developing has to be IE6 compatible. It contains a horizontal block style menu, but there's still one more problem with IE6. I have the following code: <html> <head> <style type="text/css"> a { display: block; width: 0px; background-color: red; } </style> </head> <body> <a href="#">This is a anchor t...

How do I get text to display on top instead of on the side?

I have a definition list and I would like the text description to stay above the textbox. The text however is to the left of the box. Here is the html. <dl> <dt> <label>Phone Number</label> </dt> <dd> <input name="phone" type="text"/> </dd> </dl> Here is the css. dl {font:normal 12px/15px Arial; position: relative; wi...

The line-height css property does not work in a JEditorPane. Can anyone help?

When I place the following html in a JEditorPane, the line-height attr is not obeyed (the font and color ones are though). Does anyone know what I am doing wrong? I checked the html in firefox and it's fine. <html> <head> <style type="text/css"> p { color:#222222; line-height: 200%; font-family:Tah...

How can I convert OTF/TTF files to EOT format?

I need to use @font-face feature and my fonts are in OTF/TTF format and Microsoft browsers support only EOT format. I tried to use Microsoft tool WEFT, but it didn't work or I didn't understand how it works. Is there any other way to convert my fonts to EOT format? ...

How can i produce a select handle by css

hi guys... I want to produce a sort of select/resiz border when some on click on the div, and when i move mouse over that the cursor should change accordingly. I want the user to be able to drag the element border and the element re-size accordingly thanks.... ...

difference between css/javascript selectors

What is the difference between div#name and #name? Or is there a difference if you use class or id to position a certain element? Thank you ...

HTML CSS - fieldset containers do not line up

I am trying to move away from tables but it's proving too difficult. This is the webpage "http://outsidemma.com/index.php" I don't understand why the two green boxes don't align properly on Chrome and older versions of Opera. This works perfectly well with firefox 3.5 and IE8. I would like to know the reason behind this strange behav...

CSS file is not loading?

I am having a JSP file with the below codes <HTML> <head> <link rel="stylesheet" type="text/css" href="../CSS/home.css" /> <link rel="stylesheet" type="text/css" href="../CSS/left.css" /> <script type="text/javascript" src="../js/friend_request.js"></script> </head> <body> <div class="menu"> <form name="search_form" method="p...

Problem with horizontal scrolling div

edit: this problem was already fixed and this question was already answered by myself, but it was not marked as answered because I couldn't mark my own answer as accepted. I'm trying to make a div with horizontal scroll only, and I achieved this by using spans with white-space:no-wrap within a div with overflow-x:scroll. The problem i...

Unwanted space producing at each side in browser for wrapper. Why?

I want my background to cover the total width of the browser like in facebook website http://www.flickr.com/photos/41695354@N08/4228675694/ but my background gives gaps on both side of the browser (left and right) http://www.flickr.com/photos/41695354@N08/4227911233/ why this happens?? Help me my css body { color:#000000; backgrou...

Removing the <script> elements of an HTML

Hi, I'm using Ruby, with the Nokogiri module, and i want to get the content of the body without the script elements. Nokogiri parse uses XPATH or CSS 3.0. XPATH i really dont understand, and i can't find the CSS selector to achieve my goals. ...

sticky footer question

Hello everybody, I've browsed to all question related to "sticky footer" and nothing helped me because my #content div is doesnt not always have sufficient content to push footer to the bottom, here is the code I've used to achiveve this but apparently I did something wrong: CSS: /* FOOTER FIX */ html, body, div#container { he...

PDF Report generation

EDIT : I completed this project using ABCpdf. For anyone interested, I love this product and their support is A+. Everything I listed as a 'Con' for the HTML -> PDF solution was easily doable in ABCpdf. I've been charged with creating a data driven pdf report. After reviewing the plethora of options, I have narrowed it down to 2. I ne...

Clear float in IE 8

I am trying to build a page in .NET MVC (not that this matters) where a div is divided into left and right containers using a float. When I try to clear the float using anything other than a <b> tag (such as <div> or <br>), IE8 will not render the page correctly (it's as if it ignores the style in the tag). If I use the <b> tag, Chrome a...

HTML based report being ripped to pieces by pagination

Hello, I've created a HTML based report that can be variable lengths and number of segments in C# (which is why Crystal Reports wasn't used) and I can't use the wonderful http://www.printfriendly.com/ as the report is Intranet based (boooo, hiss). I've created a media=print CSS file that is used to make the formatting as paper and ink ...

pure css layout for a web application?

I'm working on a web app that currently has a table-based layout. Ideally I'd like to go to pure css, or failing that, a hybrid tables-and-css layout* . I've banged my head against the wall trying to understand css layouts and positioning. The main problem I'm encountering is that, depending on the state of the app, I have different th...

How can I make DIVs do this with jquery?

I am trying to reproduce the lock function on posts on facebook with jquery and php/mysql. Below is an image showing the different actions it does when clicked on. I think you would do somehing like on hover, show a hidden div with a tooltip, on hover off remove it. On click event show another hidden div but somehow has to change the ...