SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    gimme the uuuuuuuuuuu duuudie's Avatar
    Join Date
    Feb 2004
    Location
    Switzerland
    Posts
    2,253
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    re-do the whole layout... a way to avoid that?

    Hi

    Let's say that you've done a nice layer. The site you've designed your layout for has say 20 pages. Then suddenly the client tells you to 'forget about the header'. Will you have to open and edit the 20 pages to remove that 'no longer wanted header'? Or what would you do if, suddenly, your client wanted to add a recursive element under the page header? Would you add it on the 20 pages?

    My guess, in order to avoid that problem, was to include (server-side) the generic parts of the layout (the ones that will be used on every page of the site). That way, I would have to remove one element once and this mod in the included file would therefore affect all the generic pages.

    Is there another way to do it? How do you css people deal with it? Thanks in advance for your help and your answers.

  2. #2
    Non-Member Egor's Avatar
    Join Date
    Jan 2004
    Location
    Melbourne, Australia
    Posts
    7,305
    Mentioned
    1 Post(s)
    Tagged
    1 Thread(s)
    You can always use
    Code:
    display: none;
    for parts. Ofcourse that still leaves all the code behind in the html.

    But ssi seems to be the obvious option for things like this. CSS is not for adding and removing content, it's for styling it IMO.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •