[UPHPU] More CSS frustration
Jacob Wright
jacwright at gmail.com
Wed Jan 24 21:16:24 MST 2007
ha! I thought we had tried going to the index.php manually and didn't find
it. I know what directory index are. :) my bad.
On 1/24/07, Wade Preston Shearer <lists at wadeshearer.com> wrote:
>
> > Question One. I noticed that the url for your examples doesn't
> > have a "
> > index.php" or anything yet the desired page is delivered.
>
> Webservers have a list filenames (Apache calls them Directory
> Indexes) that are defaults; meaning, that if no filename is given,
> the server will search the directory for one of the defaults and
> serve that up. It is the same way that…
>
> http://google.com/
>
>
> …loads without you having to type…
>
> http://www.google.com/index.html
>
>
> In my example, the URL is really…
>
> http://anavidesign.com/examples/css_layouts/index.php?stylesheet=6
>
>
> …and the version without "index.php" works because "index.php" is in
> my Directory Indexes list in my server configuration.
>
>
> > Also, the links on your page only have the get data. How is this
> > accomplished?
>
> The six examples are not six different pages. It is one page with six
> different style sheets. When you click the links, the name of the
> style sheet is passed (via GET as you said) into the page and used
> create the link to the style sheet.
>
>
> > Question Two. Looking at the source for style sheet 1, I noticed a
> > div with
> > id="page_wrap" inside the page dive yet I cannot find "page_wrap"
> > in 1.css.
> > What is the purpose of the page_wrap div?
>
> If example one existed outside of this example, that div would be
> unnecessary and could be left out. It is used in some of the other
> layouts and therefore necessary to make them all work with the same
> markup.
>
> _______________________________________________
>
> UPHPU mailing list
> UPHPU at uphpu.org
> http://uphpu.org/mailman/listinfo/uphpu
> IRC: #uphpu on irc.freenode.net
>
--
Jacob Wright
Within Code LLC
More information about the UPHPU
mailing list