Welcome, Guest. Please login or register.
Did you miss your activation email?
May 26, 2012, 11:56:57 AM

Login with username, password and session length
Search:     Advanced search
Wollen Sie dem WebsiteBaker Team beitreten?
Nähere Informationen finden Sie unter hier und auf unserer neuen Webseite.
155533 Posts in 21712 Topics by 7736 Members
Latest Member: chris85
* Home Help Search Login Register
Pages: [1]   Go Down
Print
Author Topic: Annoying design issue on my template, please help!  (Read 628 times)
tobyw7

Offline Offline

Posts: 18


WWW
« on: October 03, 2010, 09:43:13 PM »

I have an odd problem that I have spent a long time trying to solve. Please take a look at my site www.deathcaprecords .com

There is a space between the body/content area and the footer. Yet when you click onto the Contact page there isn't.

I've been able to 'fix' this by setting the height in pixels for the content div to around 2000px from auto. When I set it to auto the space appaears, but when I set a manual height the gap disappears.

Any ideas would be greatly received!

Thank you in advance Smiley
Logged
dbs
WebsiteBaker Org e.V.

Offline Offline

Posts: 3719


WWW
« Reply #1 on: October 03, 2010, 10:15:02 PM »

hmm... kill the <p> at Tobi White and the next <p> ...
Logged

tobyw7

Offline Offline

Posts: 18


WWW
« Reply #2 on: October 04, 2010, 06:55:35 AM »

hmm... kill the <p> at Tobi White and the next <p> ...

I checked that, didn't seem to help though, sorry.
Logged
dbs
WebsiteBaker Org e.V.

Offline Offline

Posts: 3719


WWW
« Reply #3 on: October 04, 2010, 11:02:39 AM »

i mean 2 lines with <p>

one line is now away, but toby has a <p> around.

sorry for my english

or make this:
Code:
<p style="margin:0;"><span style="font-weight: bold;">Toby White</span></p>
« Last Edit: October 04, 2010, 11:23:08 AM by dbs » Logged

tobyw7

Offline Offline

Posts: 18


WWW
« Reply #4 on: October 04, 2010, 02:26:01 PM »

i mean 2 lines with <p>

one line is now away, but toby has a <p> around.

sorry for my english

or make this:
Code:
<p style="margin:0;"><span style="font-weight: bold;">Toby White</span></p>

The site uses the following template: http://studiohem.com/dcr/template.html which works fine, it's only when you add the following

Code:
  <!-- column for main content -->
    <div id="content">
        <?php page_content(1); ?>
    </div>

That it doesn't work, I can double check it when I get back home later as well.
Logged
dbs
WebsiteBaker Org e.V.

Offline Offline

Posts: 3719


WWW
« Reply #5 on: October 04, 2010, 02:39:22 PM »

ok, now it should help:
you have a float center in your css. change it:
Code:
#content_column_mod {
float:left;
width: auto;
background-color:#FFFFFF;
height: auto;
}
Logged

tobyw7

Offline Offline

Posts: 18


WWW
« Reply #6 on: October 04, 2010, 06:53:17 PM »

ok, now it should help:
you have a float center in your css. change it:
Code:
#content_column_mod {
float:left;
width: auto;
background-color:#FFFFFF;
height: auto;
}

Thanks!
I did this and combined the content and content_column_mod tags - after doing that it's all fixed!

Cheesy
Logged
Pages: [1]   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!