1
dimitris_s
Automatic alignment...How can I do this?
  • 2005/9/10 21:58

  • dimitris_s

  • Just popping in

  • Posts: 75

  • Since: 2005/7/13


Hi to all of you.

I would like to know, how can I turn all my pages in my site, into automatic aligned ones...


I mean that I have a 19" monitor running on 1280x1024, and when for the first time I saw my page on another computer with a 17"monitor[@]1024x768, someone would have to scroll horizontally in order to view the whole page...

I have seen other pages, that when I try to visit them with 1024x768 they seem to get automatically aligned to the size of my monitor's resolution, viewing area.

How can I make my pages automatically aligned?
I have edited my styles.css file and changed the default size of the width of my webpages to 1000pixels....


Any help, appreciated...
.:::http://tus.ath.cx :::.
Apache 2.0.55, PHP 4.4.2, MySQL 4.0.18

2
hyperpod
Re: Automatic alignment...How can I do this?
  • 2005/9/10 22:26

  • hyperpod

  • Quite a regular

  • Posts: 359

  • Since: 2004/10/4


well, its not easy to do, depnding on your content. I looked at the site in your profile, and your content is fine... nothing forcing the theme to wide, content-wise.

After looking at your style shhet for

I suggect reducing the width here:

#obLayout {
    
width1050px;
    
margin0px auto;
    
padding0px;
    
text-alignleft;
    
background-color#FFFFFF;
}


You need to first try to reduce the Width to below 1050px

This is obviously wider than a 1024 wide screen can hold, for the results you want.

You also need to make sure your theme gets updated in the db, before you will see any changes from simply editing the style.css file.

Hope that helps...

Cheers,
Daniel Hall / XOOPS Module Development & Theme Design
Free XOOPS Support > My Wish List

3
hyperpod
Re: Automatic alignment...How can I do this?
  • 2005/9/10 22:28

  • hyperpod

  • Quite a regular

  • Posts: 359

  • Since: 2004/10/4


BTW- the size of the monitor has no relevance whatsoever.

all that matters here is the resolution that the system is running under.

Well designed sites should be able to be viewed effectively even at 800x600 without scrolling sideways.


Cheers,
Daniel Hall / XOOPS Module Development & Theme Design
Free XOOPS Support > My Wish List

4
Jharis
Re: Automatic alignment...How can I do this?
  • 2005/9/10 23:25

  • Jharis

  • Just can't stay away

  • Posts: 488

  • Since: 2005/2/13


Would it be a good idea for dimitris to change his theme from a fixed width to a flexable one?

don (el paso)
motto - green chili for everything!

5
shank
Re: Automatic alignment...How can I do this?
  • 2005/9/11 3:10

  • shank

  • Not too shy to talk

  • Posts: 144

  • Since: 2004/8/17


Set it to 100% instead of a pixel measurement
s l s h a n k l e @ b e l l s o u t h . n e t

Login

Who's Online

116 user(s) are online (86 user(s) are browsing Support Forums)


Members: 0


Guests: 116


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits