Hi;

I am in the process of implementing a new site design and was hoping someone could help. I have designed the site in photoshop and frontpage. I wanted to fix the size of the site to 1141.

As you can see by the screenshot of what i am trying to do, versus the problem with the live site. I hate to admit it but I am terrible with css and am using the garland theme with modified page.tpl.php

Hope someone can please help.

Screenshot
Live Site

Many thanks in advance. Would love to get this issue resolved.

Comments

prestonso’s picture

You have a table tag defining the width of your table in your HTML:

<table cellspacing="0" cellpadding="0" border="0" width="1141">

Unfortunately, your style.css file has all tables having a 100% width. What I would recommend you do is assign an id to your table, like:

<table cellspacing="0" cellpadding="0" border="0" id="width-1141">

Then add the following to the very end of your CSS file (so it takes precedence over everything else):

table#width-1141 {
width: 1141px;
}

Alternatively, you can use an inline style like so:

<table ... style="width: 1141px !important;">

___________________

Preston So
Web/Print Designer
Monarch Digital, Colorado Springs
My near-dead non-Drupal site

___________________

Preston So

tagsxy’s picture

Thank you so much, I am back on track :)

oskkar’s picture

Been tearing my eyes, hair, limbs off trying to resolve a table width issue. Found your post here that did the trick! Wanted to send thanks and good karma along.....