| re: CSS positioning problem
Does it ever make sense to nest DIVs?
--
######################
## PH, London ##
######################
Jonathan Melhuish wrote:[color=blue]
> Joni a écrit :[color=green]
> > This is a working configuration, but I would like to be able to[/color]
> take the > "midright" DIV out of the "midleft" DIV so I could change
> the whole layout[color=green]
> > with just the CSS.[/color]
>
> Sorry if I haven't quite grasped the question, but why did you have to
> nest them in the first place?
>[color=green]
> > I would like people to be able to select which layout they want[/color]
> and I would[color=green]
> > not have to change to HTML file at all. So I could change[/color]
> top->bottom or > left->right etc. Using this CSS the "midright" is
> always INSIDE the > "midleft" area.[color=green]
> >
> > Or am I complete off track thinking that having the DIVs on the[/color]
> same level[color=green]
> > the positioning would be easier?[/color]
>
> Well, yes, you'd be able to position them independently of each other,
> whereas at the moment any changes you make to "midleft" will impact
> "midright".
>
> Jon[/color] |