Click here to Skip to main content
15,917,652 members
Home / Discussions / Web Development
   

Web Development

 
AnswerRe: Serious CSS Question Pin
jeron121-Jul-10 12:13
jeron121-Jul-10 12:13 
GeneralRe: Serious CSS Question Pin
Mustafa Ismail Mustafa21-Jul-10 22:04
Mustafa Ismail Mustafa21-Jul-10 22:04 
AnswerRe: Serious CSS Question Pin
RichardM121-Jul-10 17:36
RichardM121-Jul-10 17:36 
AnswerRe: Serious CSS Question Pin
Roger Wright21-Jul-10 19:15
professionalRoger Wright21-Jul-10 19:15 
QuestionWow. A forum dedicated to slagging him off Pin
Pete O'Hanlon21-Jul-10 11:27
mvePete O'Hanlon21-Jul-10 11:27 
AnswerRe: Wow. A forum dedicated to slagging him off Pin
LunaticFringe21-Jul-10 11:37
LunaticFringe21-Jul-10 11:37 
AnswerRe: Wow. A forum dedicated to slagging him off Pin
Luc Pattyn21-Jul-10 12:08
sitebuilderLuc Pattyn21-Jul-10 12:08 
QuestionActiveX is Missing in IE. Pin
002comp21-Jul-10 2:49
002comp21-Jul-10 2:49 
AnswerRe: ActiveX is Missing in IE. [modified] Pin
002comp21-Jul-10 18:35
002comp21-Jul-10 18:35 
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 

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.