Welcome, Guest. Please Login or Register.
May 11, 2024, 05:12:57 AM
Home Help Search Log in Register
News: If you are still using YaBB SE, please consider upgrading to SMF as soon as possible.

YaBB SE Community  |  English User Help  |  English Help  |  Removing grey borders from the index page? « previous next »
Pages: [1] Reply Ignore Print
Author Topic: Removing grey borders from the index page?  (Read 1104 times)
sosidge
Noobie
*
Posts: 11


I'm an alpaca!

Removing grey borders from the index page?
« on: March 02, 2004, 11:34:01 PM »
Reply with quote

YaBB SE Version: 1.5.5
Server Platform: Windows 98 or ME

Problem Description:
Hi,

I'm playing around with YaBB SE on my home computer, running EasyPHP, before a possible upload to a web server.

Here's my problem, I'm trying to get rid of the thick borders that surround the edges of the header, footer, and discussion topics themselves, but can't for the life of me work out where the code that draws those borders is.

I want my header to run at the full width of the board (780 pixels), but at present I am left with an extra 10 pixels or so of grey on each side, causing unwanted scroll bars.

Bear in mind I am not a programmer, and I'm learning more about php and html every moment!

Thanks!
Logged
[Unknown]
Global Moderator
YaBB God
*****
Posts: 7830


ICQ - 179721867unknownbrackets@hotmail.com WWW
Re:Removing grey borders from the index page?
« Reply #1 on: March 03, 2004, 03:30:42 AM »
Reply with quote

A link would help.  By default such gray borders are... not there.

-[Unknown]
Logged
sosidge
Noobie
*
Posts: 11


I'm an alpaca!

Re:Removing grey borders from the index page?
« Reply #2 on: March 03, 2004, 08:51:43 AM »
Reply with quote

Here is a screen grab that may help... site isn't online.

The borders I'm talking about can be seen clearly to the left of the banner and the board (they're also above and below the banner and board too).

I want the banner and the board to justify right against the left margin.

I may have changed the border colour, default was probably white.

Thanks

Logged
[Unknown]
Global Moderator
YaBB God
*****
Posts: 7830


ICQ - 179721867unknownbrackets@hotmail.com WWW
Re:Removing grey borders from the index page?
« Reply #3 on: March 03, 2004, 10:37:26 AM »
Reply with quote

Okay, try putting this in your css:

body
{
  margin: 0;
  background-color: white;
}

-[Unknown]
Logged
sosidge
Noobie
*
Posts: 11


I'm an alpaca!

Re:Removing grey borders from the index page?
« Reply #4 on: March 03, 2004, 08:35:02 PM »
Reply with quote

That's brilliant! The exact result I wanted.

Thanks very much.

Just out of interest, do you know where in the code is the command that made that margin appear in the first place?
Logged
[Unknown]
Global Moderator
YaBB God
*****
Posts: 7830


ICQ - 179721867unknownbrackets@hotmail.com WWW
Re:Removing grey borders from the index page?
« Reply #5 on: March 03, 2004, 09:09:52 PM »
Reply with quote

It's something IE does automatically...

-[Unknown]
Logged
sosidge
Noobie
*
Posts: 11


I'm an alpaca!

Re:Removing grey borders from the index page?
« Reply #6 on: March 03, 2004, 09:45:10 PM »
Reply with quote

Right - thanks.
Logged
Pages: [1] Reply Ignore Print 
YaBB SE Community  |  English User Help  |  English Help  |  Removing grey borders from the index page? « previous - next »
 


Powered by MySQL Powered by PHP YaBB SE Community | Powered by YaBB SE
© 2001-2003, YaBB SE Dev Team. All Rights Reserved.
SMF 2.1.4 © 2023, Simple Machines
Valid XHTML 1.0! Valid CSS

Page created in 0.047 seconds with 19 queries.