1
gama3d
Tutorial: Fixing Screen Width of your theme to your desired width
  • 2006/10/19 23:05

  • gama3d

  • Just popping in

  • Posts: 4

  • Since: 2006/10/19


okay here is the solution

Solution 1: works for autoswitch full screen themes
in your css
Quote:

#holder {
width: 964px;
margin: 10px auto 0 auto;
text-align: left;
}


964px is ideal in your 1024*768 condition

margin is set perfect for 1024*768 condition, but it will not be if your desired width is diff

okie now edit your theme.html

add this
after head tag
Quote:




and just before /body tag
Quote:




now your theme is fixed at 1024*768 pixels

Solution 2: fixed width theme


open youe styles.css and theme.html
mostly properly coded themes contains fixed width, using table class in their css,
look for something like
container, or body holder, layout

for example this is filthy blue theme css
Quote:

#obLayout {
width: 760px; // this is you need2 change
margin: 0px auto;
padding: 0px;
text-align: left;
background-color: #FFFFFF;
}

and change this to about 900+ to 1000+ more than this will deff make your theme go more than 1024*768 resolution, but it depends on theme padding, and theme margin,
okie your theme is very poorly coded and its fixed width is in html tables, then edit your theme.html
in your case lets see a website link 12345.com

there is a table after body tag
Quote:




note width=725 now this is making your site stick to 725px change this and you ill get your desired width,
simple tutorial, works fine,
now make sure that you change the size of you right and left blocks menus to atleast 170~225px just a rough idea what ever you like
hope this works for you

2
BDW
Re: Tutorial: Fixing Screen Width of your theme to your desired width
  • 2006/11/15 10:57

  • BDW

  • Quite a regular

  • Posts: 280

  • Since: 2002/9/28


Thank you, been having problems with the comments not going to 100%.

I dont know why I didnt think of a DIV to control the whole width of the page. Seems so obvious now. lol

Login

Who's Online

357 user(s) are online (247 user(s) are browsing Support Forums)


Members: 0


Guests: 357


more...

Donat-O-Meter

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

Latest GitHub Commits