PHP Web Host - Quality Web Hosting For All PHP Applications Sign up for PayPal and start accepting credit card payments instantly
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
Post new topic   Reply to topic
Author Message
eagleeye1000
Hangin' Around


Joined: Nov 04, 2007
Posts: 34

PostPosted: Tue Jun 30, 2009 2:02 pm Reply with quote Back to top

Hi all,

I am having an issue with a theme. As you can see on the screen shot a black (border?) line is appearing between the left row of blocks and the center blocks.
I can't seem to get rid of this thing.
What I've tried so far by advice is to check if all the images are setup properly in html and php files.
Like:

<TD><IMG SRC="themes/Clanswaw/images/story_home_01.jpg" WIDTH=13 HEIGHT=43 ALT=""></TD>

instead off:

<TD>
<IMG SRC="themes/Clanswaw/images/story_home_01.jpg" WIDTH=13 HEIGHT=43 ALT="">
</TD>

The error occurs in IE, Opera and Safari.

In Firefox you need to zoom in one level to see the black line appear (although there it's a broken version as you can see on the last link)

These two are from the forums page. The left side blocks are not on that page, but you see the black line here in between the border on the left and the center blocks:
Only registered users can see links on this board!
Get registered or login to the forums!

Only registered users can see links on this board!
Get registered or login to the forums!


This one is from the main page, the line is between the left blocks and the center blocks:
Only registered users can see links on this board!
Get registered or login to the forums!


Here is the error in firefox (line is interrupted on zoom level 1, no line when not zoomed)
Only registered users can see links on this board!
Get registered or login to the forums!


I hope anybody can help me out here on where and what to search for and repair.

Have also searched and checked if the borders are set to 0.
tnx in advance.
View user's profile Send private message
fkelly
Moderator


Joined: Aug 30, 2005
Posts: 3186
Location: near Albany NY

PostPosted: Tue Jun 30, 2009 3:00 pm Reply with quote Back to top

Try validating the page through the w3c validator or the html validator for Firefox. I suspect that your theme is riddled with errors. For instance even in what you have quoted IMG SRC is all caps (the standard is lower case) and you don't have a closing / on your img src tags.

If you have a good html editor you could also try capturing the page source and looking at it in the editor. That might show you where the black line is coming from.
View user's profile Send private message Visit poster's website
eagleeye1000
Hangin' Around


Joined: Nov 04, 2007
Posts: 34

PostPosted: Tue Jun 30, 2009 3:17 pm Reply with quote Back to top

I do get alot of errors about what I shouldn't have in capitals. Where should that closing / need to go for the image? Like this?

<td><img src="themes/Clanswaw/images/story_home_01.jpg" WIDTH=13 HEIGHT=43 alt=""></img></td>

The site validation tool presents me with 1208 errors (mainly capitals) and 39 warnings Sad

tnx
View user's profile Send private message
fkelly
Moderator


Joined: Aug 30, 2005
Posts: 3186
Location: near Albany NY

PostPosted: Tue Jun 30, 2009 3:43 pm Reply with quote Back to top

The original image tags you quoted read:

<IMG SRC="themes/Clanswaw/images/story_home_01.jpg" WIDTH=13 HEIGHT=43 ALT="">

they should be:

<img src="themes/Clanswaw/images/story_home_01.jpg" width="13" height="43" alt="" />

If the theme is that poorly coded (I realized you needed quotes around the width and height attributes as I was typing) I would recommend ditching it. Ravennuke comes with a dozen or so compliant themes.
View user's profile Send private message Visit poster's website
eagleeye1000
Hangin' Around


Joined: Nov 04, 2007
Posts: 34

PostPosted: Thu Jul 02, 2009 3:06 pm Reply with quote Back to top

I finally got it sorted. You won't believe how many things I've tried. Even cleaned up quit alot of the php files to match that validator.

Turned out there was a spacer.gif image in the theme's images folder messing it up. After removing that one the line disappeared. I don't see any problems to the site without the image there.
View user's profile Send private message
Display posts from previous:       
Post new topic   Reply to topic

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2011 by Raven

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::
:: fisubice Theme Modified by the RavenNuke™ Team ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum