Click here to Skip to main content
15,888,968 members
Home / Discussions / Web Development
   

Web Development

 
GeneralRe: I hate CSS Pin
LunaticFringe29-Jul-10 8:33
LunaticFringe29-Jul-10 8:33 
QuestionSerious CSS Question Pin
Dalek Dave21-Jul-10 11:57
professionalDalek Dave21-Jul-10 11:57 
AnswerRe: Serious CSS Question Pin
DaveAuld21-Jul-10 12:07
professionalDaveAuld21-Jul-10 12:07 
GeneralRe: Serious CSS Question Pin
AspDotNetDev21-Jul-10 14:30
protectorAspDotNetDev21-Jul-10 14:30 
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 
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 

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.