Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 Programming Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 07-19-2002, 10:35 AM
imported_+||ProtoCon||+ imported_+||ProtoCon||+ is offline
 
Join Date: Jun 2002
Posts: 26
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Help!:(

I was wondering of someone could help me remove the space at the left and right of the forums. I tried setting my table width to 100, but there is still space there...how do i remove it? An example of the width can be seen at somethingleet.com or http://www.xelation.com/forum/

Thanx in Advance.
Reply With Quote
  #2  
Old 07-19-2002, 01:12 PM
mashby's Avatar
mashby mashby is offline
 
Join Date: Jan 2002
Location: Nashville, TN - USA
Posts: 736
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Have you tried editing your <body> tag? You might try adding the topmargin and leftmargin attributes. In other words:
Code:
<body topmargin="0" leftmargin="0">
With the default install, the margin settings are set to "10," meaning that there is a 10 pixel spacer all around the board.
Reply With Quote
  #3  
Old 07-19-2002, 01:34 PM
SaintDog SaintDog is offline
 
Join Date: Nov 2001
Location: Tennessee
Posts: 1,975
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

CSS, imo, works a lot better than specifying it in the body tag, instead, use it in the body section of your CSS template.

Admin CP -> Styles -> Modify -> Head Insert

Right below:

body {

Add:

MARGIN-TOP: 5px;
MARGIN-BOTTOM: 5px;
MARGIN-LEFT: 0px;
MARGIN-RIGHT: 0px;


Then remove all of the margin settings from the non-css body section.
Reply With Quote
  #4  
Old 07-19-2002, 01:42 PM
mashby's Avatar
mashby mashby is offline
 
Join Date: Jan 2002
Location: Nashville, TN - USA
Posts: 736
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Either will work, but I like SaintDog's method better. He's right it's works better.
Reply With Quote
  #5  
Old 07-20-2002, 09:33 PM
imported_+||ProtoCon||+ imported_+||ProtoCon||+ is offline
 
Join Date: Jun 2002
Posts: 26
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanx for the support guys, i just got back, i'll go try it out now.

iLLuSioNaL.
Reply With Quote
  #6  
Old 07-24-2002, 10:47 AM
imported_+||ProtoCon||+ imported_+||ProtoCon||+ is offline
 
Join Date: Jun 2002
Posts: 26
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hey Saint Dog, i tried that, and i put it in the right place...but it still doesn't work? Can you tell me what im blatently missing?

Sorry for being such a newb.



Quote:
<meta http-equiv="MSThemeCompatible" content="Yes">
<script LANGUAGE="Javascript">
<!--
function showwin(name,size)
{
attrbts = size + ",resizable=yes,toolbar=no,location=no,directories =no,status=no,menubar=no,scrollbars=yes"
window.open(name, "Photos", attrbts);
}
//-->
</script>
<style type="text/css">
BODY {
MARGIN-TOP: 0px;
MARGIN-BOTTOM: 0px;
MARGIN-LEFT: 0px;
MARGIN-RIGHT: 0px;
scrollbar-face-color: #DCE0E2;
scrollbar-shadow-color: #000000;
scrollbar-highlight-color: #FFFFFF;
scrollbar-3dlight-color: #000000;
scrollbar-darkshadow-color: #BCBFC0;
scrollbar-track-color: #BCBFC0;
scrollbar-arrow-color: #6E7E88;
}
SELECT {
FONT-FAMILY: Verdana,Arial,Helvetica,sans-serif;
FONT-SIZE: 11px;
COLOR: #000000;
BACKGROUND-COLOR: #CFCFCF
}
TEXTAREA, .bginput {
FONT-SIZE: 12px;
FONT-FAMILY: Verdana,Arial,Helvetica,sans-serif;
COLOR: #000000;
BACKGROUND-COLOR: #CFCFCF
BORDER: 1px dotted #000000;
}
A:link, A:visited, A:active {
COLOR: {linkcolor};
TEXT-DECORATION: none;
}
A:hover {
COLOR: {hovercolor};
TEXT-DECORATION: none;
}
#cat A:link, #cat A:visited, #cat A:active {
COLOR: {categoryfontcolor};
TEXT-DECORATION: none;
}
#cat A:hover {
COLOR: {categoryfontcolor};
TEXT-DECORATION: none;
}
#ltlink A:link, #ltlink A:visited, #ltlink A:active {
COLOR: {linkcolor};
TEXT-DECORATION: none;
}
#ltlink A:hover {
COLOR: {hovercolor};
TEXT-DECORATION: ;
}
.thtcolor {
COLOR: {tableheadtextcolor};
}
.mytable { border: 1px #000000 solid; background-color: #FFFFFF; font-family:
Verdana, Arial, Helvetica, sans-serif; font-size: 10px; color: #000000;
text-decoration: none;}

.pagenumstatic {
color: #FFFFFF;
background-color: {linkcolor};
border-color: #000000;
border-style: solid;
border-width: 1px;
margin: 1px;
spacing: 1px;
padding: 1px;
padding-left: 4px;
padding-right: 4px;
padding-top: 1px;
padding-bottom: 1px;
width: 1em;
text-decoration: none;
}
.pagenum A:link, .pagenum A:visited, .pagenum A:active {
color: #000000;
background-color: {categorybackcolor};
border-color: #000000;
border-style: solid;
border-width: 1px;
margin: 1px;
spacing: 1px;
padding: 1px;
padding-left: 4px;
padding-right: 4px;
padding-top: 1px;
padding-bottom: 1px;
width: 1em;
text-decoration: none;
}
.pagenum A:hover {
color: #FFFFFF;
background-color: {linkcolor};
text-decoration: none;
border-color: #000000;
border-style: solid;
border-width: 1px;
margin: 1px;
spacing: 1px;
padding: 1px;
padding-left: 4px;
padding-right: 4px;
padding-top: 1px;
padding-bottom: 1px;
width: 1em;
text-decoration: none;
}
.cat A:link, .cat A:visited, .cat A:active {
color: {linkcolor};
text-decoration: none;
}
.cat A:hover {
color: {hovercolor};
text-decoration: underline;
}

</style>

$headnewpm
Reply With Quote
  #7  
Old 07-24-2002, 11:02 AM
shiva
Guest
 
Posts: n/a
Default

hmm, that should be right actually, unless it's the caps, though I don't see why.

body { margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px}

is the proper code, at least according to O'Reilly CSS reference.
Reply With Quote
  #8  
Old 07-24-2002, 05:18 PM
mashby's Avatar
mashby mashby is offline
 
Join Date: Jan 2002
Location: Nashville, TN - USA
Posts: 736
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

AND it looks right in IE. I don't see any spaces at all. What browser and OS are you using?
Reply With Quote
  #9  
Old 07-24-2002, 08:49 PM
shiva
Guest
 
Posts: n/a
Default

Ah, there you go, it may be the browser.
I remember the site design, people with apple os had some problems with the CSS, especially if they didn't upgrade from 4.0 browsers. Looked kind of funky.

Think there's a CSS validater around, I do know TopStyle has a validater that checks the CSS with different versions, os and browsers, pretty sure there's one for free on the web, just can't remember where. Guys?
Reply With Quote
  #10  
Old 07-25-2002, 03:45 PM
mashby's Avatar
mashby mashby is offline
 
Join Date: Jan 2002
Location: Nashville, TN - USA
Posts: 736
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The W3C has a validator that I use [link]
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 10:44 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04260 seconds
  • Memory Usage 2,248KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (8)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete