Click here to Skip to main content
14,300,872 members

Web Development

 
QuestionHow Do I Design This Simple (yet Responsive) Site...??? Pin
Member 1208020110-May-18 12:43
memberMember 1208020110-May-18 12:43 
AnswerRe: How Do I Design This Simple (yet Responsive) Site...??? Pin
Richard Deeming11-May-18 1:37
mveRichard Deeming11-May-18 1:37 
AnswerRe: How Do I Design This Simple (yet Responsive) Site...??? Pin
jkirkerx27-May-18 19:13
professionaljkirkerx27-May-18 19:13 
QuestionFixing a Broken Interceptor Pin
cjb1108-May-18 3:50
membercjb1108-May-18 3:50 
QuestionHow to use $_SERVER['PHP_SELF'] to save record and print simultaneouly Pin
Member 136918611-May-18 21:16
memberMember 136918611-May-18 21:16 
AnswerRe: How to use $_SERVER['PHP_SELF'] to save record and print simultaneouly Pin
Richard MacCutchan1-May-18 22:01
protectorRichard MacCutchan1-May-18 22:01 
QuestionHow to run Javascript queries in code (HTML) Pin
Member 1380375629-Apr-18 5:20
memberMember 1380375629-Apr-18 5:20 
AnswerRe: How to run Javascript queries in code (HTML) Pin
Richard Deeming30-Apr-18 1:12
mveRichard Deeming30-Apr-18 1:12 
Start by fixing the id attribute on the <div> - IDs cannot start with "=":
<div id="cont">

Then, it's simply a case of using the descendant or child selectors:
#cont ul
{
    /* Matches all <ul> tags in the <div> */
}
#cont > ul
{
    /* Matches only the <ul> tag which is an immediate child of the <div> */
}
#cont ul ul
{
    /* Matches the second (or third, or fourth, ...) level of <ul> tags in the <div> */
}
#cont > ul > li > ul
{
    /* Matches only the second level of <ul> tags in the <div> */
}

#cont li
{
    /* Matches all <li> tags in the <div> */
}
#cont > ul > li
{
    /* Only matches the first level of <li> tags in the <div> */
}
#cont li li
{
    /* Matches the second (or third, or fourth, ...) level of <li> tags in the <div> */
}
#cont > ul > li > ul > li
{
    /* Matches only the second level of <li> tags in the <div> */
}

If all else fails, use your browser's developer tools to inspect the elements to see what styles are applied.



"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer

QuestionCodeIgniter-Search Pin
Jireh Capao24-Apr-18 19:03
memberJireh Capao24-Apr-18 19:03 
QuestionRe-code to get rid of Absolute Positioning? Pin
Member 1208020114-Apr-18 8:16
memberMember 1208020114-Apr-18 8:16 
AnswerRe: Re-code to get rid of Absolute Positioning? Pin
Blikkies17-Apr-18 22:33
professionalBlikkies17-Apr-18 22:33 
AnswerRe: Re-code to get rid of Absolute Positioning? Pin
Richard Deeming19-Apr-18 2:20
mveRichard Deeming19-Apr-18 2:20 
AnswerRe: Re-code to get rid of Absolute Positioning? Pin
W Balboos4-May-18 7:05
mveW Balboos4-May-18 7:05 
QuestionSaving data submitted online as pdf Pin
Deekkris13-Apr-18 9:23
memberDeekkris13-Apr-18 9:23 
AnswerRe: Saving data submitted online as pdf Pin
David Mujica17-Apr-18 3:20
memberDavid Mujica17-Apr-18 3:20 
QuestionNeed to Link to an Image on another Page already containing multiple images Pin
Member 1208020110-Apr-18 8:03
memberMember 1208020110-Apr-18 8:03 
AnswerRe: Need to Link to an Image on another Page already containing multiple images Pin
Richard Deeming19-Apr-18 2:07
mveRichard Deeming19-Apr-18 2:07 
QuestionRe: Need to Link to an Image on another Page already containing multiple images Pin
Sarcastic CA20-Apr-18 7:56
professionalSarcastic CA20-Apr-18 7:56 
QuestionUsing DOM with Selector Values, Assignment Pin
Member 137687478-Apr-18 9:10
memberMember 137687478-Apr-18 9:10 
QuestionHow to perform addition from LineTotal to subtotal using HTML JavaScript Pin
Nikhil Dange21-Mar-18 3:24
memberNikhil Dange21-Mar-18 3:24 
SuggestionQuestion about crud operations Pin
Maniteja Attili20-Mar-18 10:25
memberManiteja Attili20-Mar-18 10:25 
QuestionRe: Question about crud operations Pin
Richard MacCutchan20-Mar-18 12:25
protectorRichard MacCutchan20-Mar-18 12:25 
AnswerRe: Question about crud operations Pin
Maniteja Attili21-Mar-18 3:34
memberManiteja Attili21-Mar-18 3:34 
GeneralRe: Question about crud operations Pin
Richard MacCutchan21-Mar-18 4:08
protectorRichard MacCutchan21-Mar-18 4:08 
GeneralTemplates with just HTML/CSS (without a back-end) Pin
Ritwesh6-Mar-18 19:55
memberRitwesh6-Mar-18 19:55 

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.