1
Ilija
Fixed width???
  • 2003/10/12 17:30

  • Ilija

  • Just popping in

  • Posts: 23

  • Since: 2003/9/9 1


Where can I find themes with fixed width (in px, optimized for 800x600 resolutin)? Design is not important (I`ll change it if I have to).

2
builderb
Re: Fixed width???
  • 2003/10/12 17:42

  • builderb

  • Not too shy to talk

  • Posts: 137

  • Since: 2003/8/4 2


you can pretty much do this with any theme. all you have to do is go to the theme.html file in the theme folder and define the width on the first table to either 700 or 750.


3
Ilija
Re: Fixed width???
  • 2003/10/13 13:44

  • Ilija

  • Just popping in

  • Posts: 23

  • Since: 2003/9/9 1


I did it, and I got full width table (on 1024x768). I don`t know what is the problem...

4
ackbarr
Re: Fixed width???

the theme in question probably has a style declaration that forces tables to 100% width. In /themes//style.css look for something like the following:
table {width100%;}
which says for every table tag set the width to 100% of the container's width.

If you change this to:
table {widthauto;}
your tables should honor your HTML width attribute. Please note that this can modify the output from modules and blocks that expect that their tables will be 100% of the available size. You might have to modify the module's templates for their output to render as expected.

Login

Who's Online

390 user(s) are online (270 user(s) are browsing Support Forums)


Members: 0


Guests: 390


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