Showing posts with label CSS. Show all posts
Showing posts with label CSS. Show all posts

Wednesday, November 6, 2013

jQuery DataTables mouseover cursor issue

For the disabled text of the jquery datatable it show hand or pointer.
To show default cursor use the below css at the end of DataTable.css

.paginate_disabled_previous, .paginate_disabled_next,
.paginate_disabled_previous:hover, .paginate_disabled_next:hover
{
cursor: default;
text-decoration:none;
}

Check the below links for the cursor and text decoration demo from w3schools

Cursor
text-decoration

Thursday, November 20, 2008

Background image on button not showing in IE

This render the image on the background of the Input tag in FF but not in IE

<input class="button" value="Login" style="" type="submit"/>



I just had to add a border to the style containing my background image.
The image is ignored by IE without the border.
I don't want to see a border,
but fortunately, including a 0px border still works.
I simply changed

border-style: none;

to

border: 0px solid #FFFFFF;

<input class="button" value="Login"
style="border: 0px solid rgb(255, 255, 255);
background-image:
url(Images/button_bg.png);
background-repeat: repeat-x; display: block;" type="submit"/>