How do I make an image change when the mouse is over it?
Snippet:
<body>
<!-- Site navigation menu -->
<ul class="navbar">
<li><img src="C:\Users\Drew French\Pictures\Style\SepiaWeb\button_demo5.png" alt="Button 1" /></a>
...
How do I center my webpage?
Something like this, notice the borders on both sides of the text?
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
<html>
<head>
<title>Sepia!</title>
<link rel="stylesheet" href="mystyle.css">
<style type="text/css">
body {
padding-top: 14em;
padding-left: 30em;
text-align: center...
technique 1
.realimage {background: url('data:image/png;base64,
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQAQMAAAAlPW0iAAAABlBMVEUAAAD/
//+l2Z/dAAAAM0lEQVR4nGP4/5/h/1+G/58ZDrAz3D/McH8yw83NDDeNGe4U
g9C9zwz3gVLMDA/A6P9/AFGGFyjOXZtQAAAAAElFTkSuQmCC')}
technique 2
.realimage {background: url('http://..test.jpg);
Questions
If I need to show mult...
When this page is viewed in IE6, you will see extra left and right white borders on the button:
http://pastehtml.com/view/1aycieg.html
They don't appear in other browsers (e.g. IE7, IE8, Chrome, Firefox).
I have been trying hard to fix it by changing the margin and padding values of the <li> and <a> tags but still no success.
I would...
Is there a way to "lock" the header row of an html table of results so that when the browser window scrolls, the header rows remain visible. I need it to work under IE7+/Firefox/Safari/Chrome.
Can this be done with CSS alone, or will I need javascript.
Any tips appreciated.
...
i am building a website which i am publishing in DIVs... when i refresh the page.. if the page was scrolled to position X... after page refresh when the page is loaded it will be at the same at scrolled to position X... i want to force page scrolled to top at page refresh...
what i can think of is of some JS / jQuery run as onLoad() f...
Hello,
I just started in Ajax today and the tutorial i was reading showed me how to use the result to change a div. But is it possible that i can get the result and make it the new value of a text box. This way i can still edit the text box but the current value will be the ajax result.
Right now i am changing the div with this line:
d...
i have the following classes applied to a span tag :
c1
i want to check whether c_2 (any particular class) is applied or not using js
...
Hi there,
I am trying to center vertically the text in my menu bar. I have tried editing the HTML and CSS, but had no luck making it work.
The webpage is located at: http://www.xuanyinwen.com/test4.html
The CSS is at: http://www.xuanyinwen.com/css.css
Could anyone give some idea, please! Many thanks!
...
How do I make a horizontal navbar? I want all the images (demo4), to be in a horizontal line.
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
<html>
<head>
<title>Sepia!</title>
<link rel="stylesheet" href="mystyle.css">
<style type="text/css">
body {
padding-top: 4em;
padding-left: 1em;
font-family: Arial ;
...
hi all,
I Have Problem with Headers And Footer on web page Which is Going to Print. My custom headers and footer should print on each page. Header is printing at top of page, that is fine, but footer is not printing at bottom of page if the content is less on page. footer is printing depends on content.
HERE MY CODE IS:-
<html>
<...
Hello,
I dont know alot about Javascript. I want about 5 background images to continuously rotate and fade with a 5 second interval.
There are a lot of image slideshows available on the web, but I need it to be with a background image on my site.
Any help is much appreciated!
...
hey
okay so lets say $word = [email protected]
can i make a new variable only everything upto the "@"
and another everything after?
( I.E. $one = abcdefg & $two = hijk.lmn )
thanks alot
...
Hi all,
We want an java plugin to convert html to pdf, that will integrate with our app. is that possible with any java plugins?, we dont want to purchase it every time especially number of users for one app something like that. we will integrate that plugin with our app. we are not going to show that there plugin inside our app.but the...
I've two elements in <td> a <div> and some text. I would like to align <div> to top and text to middle of <td> How can I do that?
Edit: The should be vertically top aligned and not text inside div.
...
Hello,
I have in my site some links that are just used to display informative popups.
For example I have something like :
<a href="#" id="myLink">show more info</a>
And in my .js file I have something like :
$(document).ready(function() {
$("#myLink).click(function() {
displayPopup();
});
});
But google crawler or other ...
My problem is that I have a menu bar with z-index 100, and two elements of that bar with z-index 1000 (Sorry, in the code, the z-indexes are actually higher numbers butt different by a factor of 10... i realize this is bad practice, but i havent changed it yet because there are a few pieces connected). In firefox, the tweet button and f...
Hello
i have got a table with 3 columns.
And i want that the third column is aligned to the right of the upper element und the other 2 columns to the left
(left column) (middle column) (right column)
is there a way todo this via css or something?
greetings
...
Hi,
I have a page with a background-image that is set in a stylesheet
body {background: url(blabla) center top no-repeat;
When I put an iframe in the page I get the background image repeated in the iframe, how can I avoid this? allowtransparency="yes" makes it go away in FireFox but not IE.
<iframe class="iframeclass" allowtranspare...
I have a form with a checkbox that's used to filter some search results.
The form action is GET so that the users can navigate back to the search results without having to OK the post data request message.
I want one of the checkboxes to default to true. This in itself is not a problem of course, it's simple HTML. However, it's the PHP...