vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=155)
-   -   Myspace Profile Re-Write PRO! 1.0.0 (https://vborg.vbsupport.ru/showthread.php?t=109094)

criscokid 04-19-2006 09:17 AM

It's the CSS table properties that I'm now having problems with.

If I don't include <td class="alt1"> then the background for that section is white instead of taking on the colour properties of the rest of my skin. The other problem I have is that there's now a full line break in between each of the table rows. Take a look at the attachment to see what I mean.

My 'alt1' has a border around it so I guess I need to define a new 'altX' which has no border. I've created 'alt9' by adding the following line to the 'additional CSS definitions section of my forum skin:
.alt9 { background-color: #F1F1F1; color: #000000; }

My 'alt1' has boders - I assume because of:
border-left: 1px solid #dddbdb;
border-top: 1px solid #dddbdb;

My 'alt9' seems to be producing a border - I'm not sure where it's getting this from.

The 'user's favourite things' section has had tables applied yet - you can see how each line runs on one from the other without any line breaks... that's how I'd like the first section (that I'm applying tables to) to look.

imported_infitech 04-19-2006 09:58 AM

The <table> that the <td>s are in has padding properties. It is not a line break. You have borders ther ebecause trhe <table> itself has borders.

criscokid 04-19-2006 12:26 PM

I'm getting somewhere but I still have the 1px white border around each occurence of <td> - see the attachment.

Here's my 'alt9' CSS settings:
Code:

.alt9 { background-color: #F1F1F1; color: #000000;
font-size: 10px;
padding: 0px 0px 0px 10px;
border-left: 0px
border-right: 0px
border-top: 0px
border-bottom: 0px
}


ronoxQ 04-19-2006 02:24 PM

Well, today I finished upgrading my site's engine, so I decided to start again on the CSS problems that I'd been having.

Would it change things if my CSS field hadn't been parsed? I'm thinking that that was my problem, the whole time.

RetroDreams 04-19-2006 02:44 PM

Quote:

Originally Posted by criscokid
I'm getting somewhere but I still have the 1px white border around each occurence of <td> - see the attachment.

Here's my 'alt9' CSS settings:
Code:

.alt9 { background-color: #F1F1F1; color: #000000;
font-size: 10px;
padding: 0px 0px 0px 10px;
border-left: 0px
border-right: 0px
border-top: 0px
border-bottom: 0px
}


What are the cellpadding and cellspacing attributes for the table?

imported_infitech 04-19-2006 03:56 PM

Id bet it was cellspacing

Quote:

Originally Posted by RetroDreams
What are the cellpadding and cellspacing attributes for the table?


RetroDreams 04-19-2006 07:39 PM

Quote:

Originally Posted by imported_infitech
Id bet it was cellspacing

Yeah, 99% sure it was. Just trying to give him a gentle push in the right direction.

criscokid 04-19-2006 10:57 PM

Quote:

Originally Posted by imported_infitech
Id bet it was cellspacing

I tired setting the 'cellspacing' to 0px but that didn't help - maybe I didn't format it correctly?

I might keep the lines... they're thin and some people may say that it helps them 'read along the line'.

imported_infitech 04-19-2006 11:15 PM

Quote:

Originally Posted by criscokid
I tired setting the 'cellspacing' to 0px but that didn't help - maybe I didn't format it correctly?

I might keep the lines... they're thin and some people may say that it helps them 'read along the line'.

I would keep them. I like the spacing

MissKalunji 04-19-2006 11:19 PM

by the way guys becareful with your queries when you do this hack! cause this loadssssss up servers....mine was like 40 queries had to remove a bunch!

make sure you keep it simple not too many installed hack


All times are GMT. The time now is 06:02 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05515 seconds
  • Memory Usage 1,745KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete