The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
We're trying to make a table for our first 3.5.0 skin. When we view it in IE and firefox it looks OK (see screenshots below) but when we view it in Safari it's not tiling correctly
The only thing that we can figure is that there must be something wrong with the HTML, or that something is affecting the HTML, but it's a default vB forum with no hacks installed so I don't see how anything could be affecting the HTML (even though that's how it's acting when you view it). Below is the HTML for the table. The table is broken into 3 sections, top, middle and bottom. HTML Code:
<!-- top section --> <table cellpadding="0" cellspacing="0" border="0" width="100%" align="center"> <tr> <td width="10" height="32"><img src="$stylevar[imgdir_misc]/pic1.png" /></td> <td width="10" height="32"><img src="$stylevar[imgdir_misc]/pic2.png" /></td> <td width="100%" height="32" background="$stylevar[imgdir_misc]/pic3.gif" valign="middle" class="pic2"><center>vbphrase</center></td> <td width="10" height="32" align="right"><img src="$stylevar[imgdir_misc]/pic4.png" /></td> <td width="10" height="32" align="right"><img src="$stylevar[imgdir_misc]/pic5.png" /></td> </tr> <!-- / End top section --> <!-- mid section --> <tr> <td background="$stylevar[imgdir_misc]/pic7.gif" valign="top"><img src="$stylevar[imgdir_misc]/pic7.gif" /></td> <td colspan="3"> <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center"> </table> </td> <td background="$stylevar[imgdir_misc]/pic9.gif" valign="top"><img src="$stylevar[imgdir_misc]/pic9.gif" /></td> </tr> </table> <!-- / End mid section --> <!-- bottom section --> <table cellpadding="0" cellspacing="0" border="0" width="100%" align="center"> <tr> <td width="10" align="left" valign="top"><img src="$stylevar[imgdir_misc]/pic10.png" width="10" height="32" /></td> <td width="10" align="left" valign="top"><img src="$stylevar[imgdir_misc]/pic11.png" height="32" /></td> <td width="100%" style="background-image:url($stylevar[imgdir_misc]/pic12.png)"><img src="$stylevar[imgdir_misc]/pic12.png" width="1" height="32" alt=" " border="0" /></td> <td width="10" align="right" valign="top"><img src="$stylevar[imgdir_misc]/pic13.png" height="32" /></td> <td width="10" align="right" valign="top"><img src="$stylevar[imgdir_misc]/pic14.png" height="32" /></td> </tr> </table> <!-- End bottom section --> HTML Code:
<td width="100%" height="32" background="$stylevar[imgdir_misc]/pic3.gif" valign="middle" class="pic2"><center>vbphrase</center></td> Hopefully a fresh set of eyes from someone really good with HTML can pick out what's wrong. I'd appreciate it. Thank you.
|
|
#2
|
|||
|
|||
|
I know lots about HTML, but, i know nothing about your browser :S
Could it be in the settings? |
|
#3
|
|||
|
|||
|
Sorry, I don't have safari, so even though I know a lot about HTML/CSS, I cannot say anything about that browser..
|
|
#4
|
|||
|
|||
|
Quote:
Quote:
|
|
#5
|
||||
|
||||
|
You should upgrade your code to compliant XHTML.
|
|
#6
|
|||
|
|||
|
No... If one cell is 100% width, then how the hell are other cells 10px in width? o.O
Other than that, your code is structured too poorly to be readable. Sorry. |
|
#7
|
||||
|
||||
|
use http://validator.w3.org to check your code. As long as it passes the xhtml test, it's safari's fault, and not your code.
|
|
#8
|
|||
|
|||
|
Can you show us the CSS code for the class pic2?
|
|
#9
|
|||
|
|||
|
Quote:
![]() Code:
.pic2
{
color: #222222;
font: bold 10px verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif;
}
.pic2 a:link
{
color: #222222;
text-decoration: none;
}
.pic2 a:visited
{
color: #222222;
text-decoration: none;
}
.pic2 a:hover, .tcat a:active
{
color: #222222;
text-decoration: underline;
}
|
|
#10
|
|||
|
|||
|
Could it be the
HTML Code:
valign="middle" [high]* Guest190829 shrugs shoulders.[/high] |
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|