News:

Wondering if this will always be free?  See why free is better.

Main Menu

Custom Layout Looking Odd

Started by Krysia, December 20, 2006, 10:16:30 PM

Previous topic - Next topic

Krysia

I did a custom setup following Unknown's suggestion to do a simple "header.php/footer.php" thing, and that worked fabulous... except for 1 thing:

(Please take a look at the screencaps below; click the thumbnails for a larger visual.)

Notice the left side of the screencap where the forum is shown. There's a blue gap before the white starts. That gap isn't supposed to be there (note the regular web page of the site; the white on the left side is up against the edge of the page).


The messed up one.


How it's supposed to be.

In addition (though this is a minor annoyance): The custom edging for the forum menu, the right end closure graphic, never shows up. I don't know why; I checked to make sure that the graphic was named correctly. :(

Any ideas?



Krysia

Anyone know how I can code it to fix this problem?



forsakenlad

In the SMF stylesheet there are some body margins set, removing them would help, add this to your stylesheet:

body, html {margin: 0; padding: 0;}
Eren "forsakenlad" Yaşarkurt
SMF Friend & Former Team Member

Krysia

Forsakenlad, you totally rock.

That did it. All I had to do was change the padding line to 0 from the default to:

/* The main body of the entire forum. */
body
{
background-color: #E5E5E8;
margin: 0px;
padding: 0px;
}


And now it's looking like it should. Hooray! :D 
Thank you! :-*



Krysia

Now, if I can only get this fixed:

QuoteIn addition (though this is a minor annoyance): The custom edging for the forum menu, the right end closure graphic, never shows up. I don't know why; I checked to make sure that the graphic was named correctly. :(

Any ideas?
(This can be seen in the screencap above, by clicking on the thumbnail.)

Help?
:)



Krysia




Advertisement: