CSS Positioned DIV to replace HTML Tables

liunx

Guest
benabaxter.multiservers.com

How would I use CSS positioned DIVs to replace my current use of tables and as an alternative to frames in making broad, sweeping changes to the site easier? As it stands, if I fix that link to the-underdogs.org, I'd have to open up ten text files.

I have been told that the use of CSS makes this easier. How might I use them in this case? How do I use them? How do I modify them?You might want to study this sample layout page, as it's basic design is similar to yours: 2 columns with menu on the left, full-width header on top.

<!-- m --><a class="postlink" href="http://bluerobot.com/web/layouts/layout1.html">http://bluerobot.com/web/layouts/layout1.html</a><!-- m -->

.Oh, as far as ways to control content across multiple pages (such as the navigation), you're looking at either server-side includes (SSI) or using a server-side script (PHP, ASP, Perl, etc.). CSS only controls the appearance of the pages, not the content.CSS is for presentation so using an external style sheet shared by all pages makes changing the look of your whole site easier but CSS has nothing to do with content. To make content changes like you describe you need to generate your pages dynamically, inserting bits of shared content into page templates as each request is satisfied.Use A Proper Doctype!In that case, could a moderator just move this to the SSI forum or something? I don't want to post all over the forums haphazardly like some n00b. ;-)
 
Back
Top