Hi Christopher,

Before you even start to think about CSS, you need to understand some key HTML 
concepts, which aren't really relevant to this list. Try a search for "HTML 
tutorial" or similar. However, a few basic points:

* In HTML, <name> represents an 'opening' tag and </name> represents its 
matching 'closing' tag. Everything between those can be thought of as content 
that is classified according to those tags. So "<p>a paragraph</p>" means 'the 
text "a paragraph" is a paragraph'.

* Certain tags (or 'elements') can be nested, such as the <div> element you 
previously mentioned:

<div>
    <div>some text in here ...</div>
</div>

Note that, reading through this excerpt in order, you get 'open tag', 'open 
tag', 'close tag', 'close tag'. The order of these represents the structure of 
your document.

* Tabbing, spacing, etc. *broadly speaking* is irrelevant. There are certain 
cases where spacing is significant, but - generally speaking - all you need to 
know for now is that:

1.
<div>some text</div>

2.
<div>
    some text
</div>

and 3.
<div>
some
    text</div>

are all interchangeable.

Please feel free to mail me directly with any follow-up questions. I think this 
is off-topic, though, so we should call an end to this thread on the list for 
now.

Cheers,

- Bobby

--- On Sun, 6/15/08, Christopher <[EMAIL PROTECTED]> wrote:

> From: Christopher <[EMAIL PROTECTED]>
> Subject: Re: [css-d] <div> ontop of a <div> ?
> To: css-d@lists.css-discuss.org
> Date: Sunday, June 15, 2008, 12:48 AM
> I decided to start from the beginning so I deleted all
> styles and 
> started new and build from there, here is a background
> base <div> tag:
> 
> http://www.walkfar.ca/main2.html
> 
> Two problems it does not repeat along the X or the Y you
> see there is a 
> border, second now if I nest a <div> within this
> <div> as a starting 
> point I assume I tab below this main <div> as so
> 
> <div>     <div>
> 
> to nest, correct?
> 
> Gunlaug Sørtun wrote:
> > Christopher wrote:
> >> So you are basically tricking the browser with CSS
> ?
> >
> > There's no tricks involved in CSS. It is all about
> achieving visual
> > appearance by applying style-rules in accordance with
> standards, and
> > thereby making browsers do their job in accordance
> with same standards
> > so they (hopefully) recreate the visual appearance at
> the user-end.
> >
> > Sometimes we'll have to add workarounds for
> weak/old browsers that don't
> > support particular parts of the standards. For
> example: IE/win is weak
> > and doesn't support much of any standard, and its
> "support" is partly
> > quite buggy. Making IE/win act as if it supports
> standards, _can_ be
> > "quite tricky" at times.
> >
> >> Cause I want to have a <div> nested but in
> different positions.
> >
> > Sure, that's rarely ever a problem - although it
> can be problematic in
> > the sense that there's little or no room for
> mistakes.
> >
> > You can offset a div from its original position in a
> number of ways,
> > each with its positive and negative effects. Combining
> offset-methods is
> > also possible, and sometimes preferable.
> >
> > What will work for you depends on your exact case -
> complete layout and
> > visual appearance, which I have no clear impression of
> at this point so
> > can not suggest practical solution(s) for.
> >
> > regards
> >     Georg
> ______________________________________________________________________
> css-discuss [EMAIL PROTECTED]
> http://www.css-discuss.org/mailman/listinfo/css-d
> List wiki/FAQ -- http://css-discuss.incutio.com/
> List policies -- http://css-discuss.org/policies.html
> Supported by evolt.org --
> http://www.evolt.org/help_support_evolt/


      
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to