Click here to Skip to main content
15,884,099 members
Home / Discussions / Web Development
   

Web Development

 
GeneralRe: about element styling Pin
Ali Al Omairi(Abu AlHassan)29-Mar-11 2:36
professionalAli Al Omairi(Abu AlHassan)29-Mar-11 2:36 
QuestionAbout Form Design Pin
Ali Al Omairi(Abu AlHassan)27-Mar-11 0:34
professionalAli Al Omairi(Abu AlHassan)27-Mar-11 0:34 
AnswerRe: About Form Design Pin
JP_Rocks27-Mar-11 0:54
JP_Rocks27-Mar-11 0:54 
GeneralRe: About Form Design Pin
Ali Al Omairi(Abu AlHassan)27-Mar-11 2:18
professionalAli Al Omairi(Abu AlHassan)27-Mar-11 2:18 
AnswerRe: About Form Design Pin
Keith Barrow27-Mar-11 0:58
professionalKeith Barrow27-Mar-11 0:58 
GeneralRe: About Form Design Pin
Ali Al Omairi(Abu AlHassan)27-Mar-11 2:16
professionalAli Al Omairi(Abu AlHassan)27-Mar-11 2:16 
GeneralRe: About Form Design Pin
Ali Al Omairi(Abu AlHassan)28-Mar-11 0:24
professionalAli Al Omairi(Abu AlHassan)28-Mar-11 0:24 
GeneralRe: About Form Design Pin
Keith Barrow28-Mar-11 1:24
professionalKeith Barrow28-Mar-11 1:24 
Ali Al Omairi(Abu AlHassan) wrote:
Ma'am;

That is Sir to you, unless you mean floated Smile | :) . I may be dead ringer for Kate Winslet (see my signature), but in reality I am a whacking great chap, which is why I found the Kate Winslet thing funny as I'm about as far removed from her as you can get (or I would be if I grew a beard)! In any case, please call me Keith or Abu Adam.

Anyhoo in response to your question, no I wouldn't do it that way: I'd put them into nested divs, something like:
<div id="tree">
  <div>
    <div>
    </div>
    <div>
    </div>
  </div>
  <div>
    <div>
    </div>
  </div>
</div>


Then you can do something like :

div #tree
{
   //root styling here
}

div #tree > div
{
   //1st level styling here
}

div #tree > div > div
{
   //2nd level styling here
}

The actual styling depends on what you want to do, this might not be the most efficient.
One further thing I'd like to suggest before you procede: take a look at the tutorials here: http://www.w3schools.com/[^] especially "Learn HTML" and "Learn CSS". I get my student to go through these as an introduction to our "Web Programming" course.

GeneralRe: About Form Design Pin
Ali Al Omairi(Abu AlHassan)28-Mar-11 1:46
professionalAli Al Omairi(Abu AlHassan)28-Mar-11 1:46 
GeneralRe: About Form Design Pin
Keith Barrow28-Mar-11 2:16
professionalKeith Barrow28-Mar-11 2:16 
GeneralRe: About Form Design Pin
User 171649228-Mar-11 2:26
professionalUser 171649228-Mar-11 2:26 
AnswerRe: About Form Design Pin
Dalek Dave27-Mar-11 7:17
professionalDalek Dave27-Mar-11 7:17 
GeneralRe: About Form Design Pin
Ali Al Omairi(Abu AlHassan)27-Mar-11 8:25
professionalAli Al Omairi(Abu AlHassan)27-Mar-11 8:25 
GeneralRe: About Form Design Pin
Keith Barrow28-Mar-11 1:28
professionalKeith Barrow28-Mar-11 1:28 
QuestionUnable to perform simple upload from simple HTML page Pin
Branislav Vidovic25-Mar-11 1:25
Branislav Vidovic25-Mar-11 1:25 
AnswerRe: Unable to perform simple upload from simple HTML page Pin
Gerben Jongerius25-Mar-11 2:01
Gerben Jongerius25-Mar-11 2:01 
Questionmail addresses in html pages... Pin
Joan M24-Mar-11 9:57
professionalJoan M24-Mar-11 9:57 
AnswerRe: mail addresses in html pages... Pin
AspDotNetDev24-Mar-11 10:13
protectorAspDotNetDev24-Mar-11 10:13 
QuestionRe: mail addresses in html pages... Pin
Joan M27-Mar-11 20:59
professionalJoan M27-Mar-11 20:59 
AnswerRe: mail addresses in html pages... Pin
AspDotNetDev28-Mar-11 19:27
protectorAspDotNetDev28-Mar-11 19:27 
GeneralRe: mail addresses in html pages... Pin
Joan M29-Mar-11 0:41
professionalJoan M29-Mar-11 0:41 
AnswerRe: mail addresses in html pages... Pin
Dalek Dave25-Mar-11 5:00
professionalDalek Dave25-Mar-11 5:00 
GeneralRe: mail addresses in html pages... Pin
Peter_in_278027-Mar-11 21:11
professionalPeter_in_278027-Mar-11 21:11 
GeneralRe: mail addresses in html pages... Pin
Joan M29-Mar-11 0:39
professionalJoan M29-Mar-11 0:39 
QuestionConsuming SOAP 1.1 WebService using Telnet Pin
NandoMan23-Mar-11 15:18
NandoMan23-Mar-11 15:18 

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.