Click here to Skip to main content
15,889,096 members
Home / Discussions / Web Development
   

Web Development

 
Questionjsf 2.0 <f:ajax> help [modified] Pin
martinlm119-Jul-10 21:18
martinlm119-Jul-10 21:18 
Questiondisplay image on mouse over in java script Pin
varsh1218-Jul-10 22:13
varsh1218-Jul-10 22:13 
AnswerRe: display image on mouse over in java script Pin
Peace ON18-Jul-10 22:36
Peace ON18-Jul-10 22:36 
QuestionAccess an element that is present in a embed object Pin
cdpace17-Jul-10 6:47
cdpace17-Jul-10 6:47 
AnswerRe: Access an element that is present in a embed object Pin
Peace ON18-Jul-10 22:14
Peace ON18-Jul-10 22:14 
GeneralRe: Access an element that is present in a embed object Pin
cdpace20-Jul-10 21:12
cdpace20-Jul-10 21:12 
GeneralRe: Access an element that is present in a embed object Pin
Peace ON21-Jul-10 19:51
Peace ON21-Jul-10 19:51 
QuestionProblem with menu image Pin
swornavidhya_m16-Jul-10 21:20
swornavidhya_m16-Jul-10 21:20 
The size of the image i'm using in the background for <a> element is of width:130px and height:25px. Since <a> element is within <li> and it will act as menus.

The problem is that when i run my sorce, the image gets displayed according to the contents of the <a>. How to set the background image for all <a> with width:130px and height:25px.

My html code is :
*****************

<html>

<head>
<meta name="GENERATOR" content="Microsoft FrontPage 6.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>Try Web Page</title>
<link type=text/css rel=stylesheet href=css/style.css>
</head>

<body>
<div id="container">
<div id="top">
<div id="header">Inside Header Top Container</div>
<div id="nav">
<UL>
<li><a href=#>Home</a></li>
<li><a href=#>About Us</a></li>
<li><a href=#>References</a></li>
<li><a href=#>Contact Us</a></li>
</UL>
</div>
</div>
<div id="main">
<div id="left">Inside Left Main Container</div>
<div id="right">Inside Right Main Container</div>
</div>
<div id="footer">Inside footer Container</div>
</div>
</body>

</html>


CSS Part of code is:
********************
#nav
{
text-align:center;
}

#nav ul
{
list-style-type:none;
}

#nav li
{
width:200px;
border:1px solid red;
display:inline;
}

#nav a
{
background-image:url("../images/leftlinkbg1.jpg");
background-repeat:no-repeat;
text-decoration:none;
}
AnswerRe: Problem with menu image Pin
Peace ON16-Jul-10 22:29
Peace ON16-Jul-10 22:29 
GeneralRe: Problem with menu image Pin
swornavidhya_m18-Jul-10 19:13
swornavidhya_m18-Jul-10 19:13 
AnswerRe: Problem with menu image Pin
Graham Breach18-Jul-10 22:03
Graham Breach18-Jul-10 22:03 
GeneralRe: Problem with menu image Pin
swornavidhya_m19-Jul-10 0:19
swornavidhya_m19-Jul-10 0:19 
Questionjava script code error Pin
varsh1216-Jul-10 19:35
varsh1216-Jul-10 19:35 
AnswerRe: java script code error Pin
Peace ON16-Jul-10 19:46
Peace ON16-Jul-10 19:46 
GeneralRe: java script code error Pin
varsh1216-Jul-10 20:14
varsh1216-Jul-10 20:14 
AnswerRe: java script code error [modified] Pin
Peace ON16-Jul-10 20:20
Peace ON16-Jul-10 20:20 
Questionjavascript : submit for via link + "retrieving value of submit button" Pin
sharp_k16-Jul-10 12:02
sharp_k16-Jul-10 12:02 
AnswerRe: javascript : submit for via link + "retrieving value of submit button" Pin
sharp_k16-Jul-10 12:15
sharp_k16-Jul-10 12:15 
QuestionSurvey request for Javascript Developers Pin
Sean Ewington16-Jul-10 5:46
staffSean Ewington16-Jul-10 5:46 
QuestionBackground-image not working in external stylesheet Pin
swornavidhya_m16-Jul-10 3:40
swornavidhya_m16-Jul-10 3:40 
AnswerRe: Background-image not working in external stylesheet Pin
Peace ON16-Jul-10 4:04
Peace ON16-Jul-10 4:04 
GeneralRe: Background-image not working in external stylesheet Pin
swornavidhya_m16-Jul-10 18:14
swornavidhya_m16-Jul-10 18:14 
GeneralRe: Background-image not working in external stylesheet Pin
Peace ON23-Jul-10 19:09
Peace ON23-Jul-10 19:09 
AnswerRe: Background-image not working in external stylesheet Pin
T M Gray16-Jul-10 6:28
T M Gray16-Jul-10 6:28 
QuestionJavaScript Difference Between IE and Firefox Pin
002comp15-Jul-10 22:37
002comp15-Jul-10 22:37 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.