Related to CSS?  Sort of.  It probably is relates more to how you code, 
whether you use a template program such as dreamweaver, hand-coding, 
also whether you work in a scripting language like php as well.  I do 
what I can to keep pages light.

I have a couple sites with standard navigation, but depending on page, 
the number of columns and the width defined in CSS stylesheet vary.  In 
the header I do an if/else test for a variable defined in the file - and 
if necessary, the page will draw from either of two stylesheets or 
simply incorporate a couple lines that will overwrite the width (or 
possibly existence) of a column.

#left { width: 0; }

if test successful, say if $file == whatever.php

#left { width: 10em; }

Standard? Probably not, but it works very well.

-Bob

Cem Meric wrote:

>>?
>>Cem,
>>
>>It's related to CSS because I'm asking how designers use it to create site
>>variation.  One of the responses earlier on in the thread was a CSS idea
>>where BODY was given a CLASS name to vary the  page's width.
>>As I said in the post, it's probably not an easy question to answer.  I
>>realize there are no quick answers.  Just looking for some feedback.
>>
>>Thank you,
>>Mark
>>
>>    
>>
>
>Mark, I'm more than happy to provide feedback. Perhaps I didn't quite follow
>where you were heading. 
>
>>From a "designers perspective", I think there is no formula on creating
>different layouts for various pages. Depending on project you can choose
>whatever fancies you.
>
>When it comes to coding though, in order to create various layouts I prefer
>ID e.g. <body id="home">, <body id="about"> and so on. CLASS may not be as
>strong as ID depending on your declarations.
>
>Also, if you are using dynamic content, it's handy to use a unique attribute
>for BODY tag coming from your page data. It makes it easier for future
>alterations on any particular page from CSS. Have a look at the BODY tag on
>my site for an example.
>
>Hope that helps,
>
>  
>

______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to