Jump to content

CSS layout

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
9 replies to this topic

#1
asafe

asafe

    Programmer

  • Members
  • PipPipPipPip
  • 107 posts
How should I go with CSS layouts? Let's say I choose liquid layout. The main wrap has a 100% width. Is that enough to assure proper resize? What about the remaining sections, they should obey any rules?

#2
WingedPanther

WingedPanther

    A spammer's worst nightmare

  • Moderators
  • 16,831 posts
It depends on what you're doing. Sometimes you need sidebars to be fixed width, and the main section take up the remaining portion.
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog

#3
asafe

asafe

    Programmer

  • Members
  • PipPipPipPip
  • 107 posts
Resize, uncle WingedPanther. I read this: CSS Layouts: The Fixed. The Fluid. The Elastic. - Beast-Blog.com , but I don't get it completely.

#4
WingedPanther

WingedPanther

    A spammer's worst nightmare

  • Moderators
  • 16,831 posts
I guess I can summarize my feelings like this: when I was using an ASUS EEE PC, it was REALLY annoying how many websites required side-to-side scrolling to read the main article. That said, with a larger computer, I don't want my screen space wasted.

I usually go for Fluid and Elastic, with an occasional column set to a min-width.
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog

#5
Glin Migrath

Glin Migrath

    Newbie

  • Members
  • Pip
  • 5 posts
Right-click over that page and go to "view source". There you will see both the CSS code and also how it is integrated into the HTML (and yes, you'll see the div tags toward the bottom of the source code)


Edited by WingedPanther, 10 July 2010 - 05:58 AM.
Delete spammy links

sig spam deleted by management.

#6
asafe

asafe

    Programmer

  • Members
  • PipPipPipPip
  • 107 posts

Glin Migrath said:

Right-click over that page and go to "view source". There you will see both the CSS code and also how it is integrated into the HTML (and yes, you'll see the div tags toward the bottom of the source code)

Everyone knows it.

#7
ManZzup

ManZzup

    Newbie

  • Members
  • PipPip
  • 10 posts
you cna use jqery to make things flexible :D

#8
asafe

asafe

    Programmer

  • Members
  • PipPipPipPip
  • 107 posts
omg amg, let's keep in css.

#9
ManZzup

ManZzup

    Newbie

  • Members
  • PipPip
  • 10 posts
ok then you shold apply the % to many elements of the page
thatzz so hard
so i think best is to make a site with fixed site
but not a *totally fixed* one
the kind of one that determines the users screen size and adjust for that size (not resizing)
then weather user makes the screen smaller or bigger the same size would be there
NO MEZ!

#10
asafe

asafe

    Programmer

  • Members
  • PipPipPipPip
  • 107 posts
I don't get it still. For example, why this page resize to right?
mafaldafc.co.cc