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

Web Development

 
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 
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 
You can't set the width or height of inline elements like <a>, so you need to add display: block. Adding float: left to the <li> makes the blocks line up horizontally, and overflow: auto in the <ul> prevents items after the list flowing to the right of it.

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

#nav li
{
width: 200px;
border: 1px solid red;
display: block;
float: left;
}

#nav a
{
background-image: url("../images/leftlinkbg1.jpg");
background-repeat: no-repeat;
text-decoration: none;
width: 130px;
height: 25px;
display: block;
}

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 
AnswerRe: JavaScript Difference Between IE and Firefox Pin
Peace ON16-Jul-10 0:04
Peace ON16-Jul-10 0:04 
GeneralRe: JavaScript Difference Between IE and Firefox Pin
002comp16-Jul-10 1:36
002comp16-Jul-10 1:36 
GeneralRe: JavaScript Difference Between IE and Firefox Pin
Peace ON16-Jul-10 1:43
Peace ON16-Jul-10 1:43 

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.