css

Does Drupal have print button like print link

Drupal has a print link function that I'm using in my .tpl.php <?php print l(t('Announcement'), 'node/30'); ?> l makes it become a link. Does drupal have an equivalent API function to make buttons? If not, what's your best suggestion for this? ...

fix css image menu

Hi, I am trying to create a css based image rollover navigation bar. For some reason, I can not get the images in the right place. I was hoping someone could help. You can find the code and images here: http://garretwais.com/Freelance/9-3-2010/home.html Thanks, Garret ...

CSS Drop Down Menu - Stays HOVER state when clicked

i have a CSS Drop Down Menu... what i am doing with this in a certain portion of my website is that i am using its links to call AJAX-jQuery to change the contents of a DIV on the page without reloading... <script type="text/javascript"> function load_editor(id) { $('#myDIV').load('editor.php?id=' + id); } </script> <div class="ma...

CSS - What is a better solution to mix text with images?

Hello all, We have to design some text as follows: Text in English XXX Text in English XXX Text in English. While XXX should be replaced by images with the same height of the Text in English. I would like to know whether or not there is a better solution for this. Thank you //////// Update //////////////// XXX in fact are text tr...

CSS looks bad in IE

I am having a CSS problem in IE This page looks fine in Firefox, chrome, opera....but on IE the "date bar" overlaps on the first <li> bar Here : http://www.animefushigi.com/latest-episodes CSS is as followed : #content h2.other-posts { height: 31px; font-size:12px; line-height: 31px; background: #2c2b2b; padding: ...

Maximum limit of CSS classes that can be assigned to HTML element ?

How many number of CSS classes can be assigned for an HTML element. ...

jquery margin problem with chrome 6

I have a problem with jquery (1.4.2) and chrome 6 margin-left:auto margin-right:auto $(id).css('margin-left'); $(id).css('margin-right'); both return a px value(ex: 327px) ...

creating chart with css and javascript

hi, i need to create a task list in the html page.using only css . i try using jquery,but it is not filled my requirement.for reference please check the image attached thank you ...

When click on tools div button (:active) works fine in Firefox but not in IE!

This code works fine in Firefox but not in IE, please give a solution only using CSS (No jquery or javascript), the problem begins when you click on the span inside the DIV! <style type="text/css"> .tools { cursor:pointer; } .tools { background-color:#aaa; padding:5px; } .tools span { background-color:green; color...

Change color of text using css

Can the color of this text be changed as it is inputted by the user in the text box through css only.. <html> <head> </head> <input type="text" id="name1" name="name1" /> ...

Draggable has been droppped and cloned, but the clone isn't draggable

Bit of a cryptic title there, hopefully you can help :) When I drag one of the Draggables, it clones itself but doesn't drop on the droppables :( any ideas? My code: <!DOCTYPE HTML> <html> <head> <title>jQi</title> <script type="text/javascript" language="javascript" src="http://code.jquery.com/jquery-1.4.2.mi...

Firefox line-height issue with input fields

I have realized the problem before but I guess it didn't matter as much then as it did now. What I discovered is that Firefox has a default line-height value of 1.2 for input fields which can not be changed. At least in OSX, don't have Windows so I can't confirm it there. I did some experimenting and testing and there's just no way to ...

MultiColumn HTML List Box

Is it possible to create a List Box, with List Items in Multiple Columns? I am aware of the alternatives, but I am wondering if this is possible in <select> ...

pros and cons of .htc file

What are pros and cons of using a .htc file in CSS? ...

How to change CSS style of facebook produced windows?

I am creating facebook fbml application, that has to run in tab. That fbml application contains image, which, after clicking, loads iframe. Iframe contains content of application and uses facebook Javascript API. Starting 23rd of August, facebook tabs are 520px wide. I am using <fb:request-form> to invite friends to application. The prob...

CSS and jQuery Simple Question

Just starting using css and jQuery and I have a CSS class called .content which I'm using for a side of the page navigation box, picture of the day box, statistics box, etc., which are layed out using a definition lists. So I need it when I click on the <dt> tag it slides up/down the <ul> tag underneath it which is simple enough. but h...

How to show hidden div on mouse over using jquery?

I want to show hidden div on hover of <div class="thumb"> and i have multiple div on page each thumb div has different content images. width is fix for all div but height of large div <div class="large" style="display:none"> can be extended upon content after the image inside div. Text of h2 will be always the same in both div. If mous...

increase size of text on mouse hover css/jquery/html

I have a large paragraph. Within that there is a span tag with id for a particular word. On mouse hover the size of that particular word in para should increase. It can come above the other text and cover the contents in paragraph but it should not affect the alignment of other text. ...

jQuery: if checkbox is checked, toggleClass..

Hi, I am a jQuery noob and seems I always will be, been trying to get this simple thing to work. What I want is, when the checkbox is checked, hide the div with display: none;. Here's a jFiddle example of what I'm making a mess of. Thanks for any help, or other solutions :) ...

Am I allowed to use div:hover in my css ?

Say my div class is called fred. Can I : .fred:hover { text-decoration:underline; } (I don't want to use an a tag) (I know it works in some browsers but the question is really is it legit code ?) ...