Jump to content

Adding a border to my homepage


NovaArgon

Recommended Posts

Hi guys i'm trying to make my homepage and forums look more alike so that you don't feel like you have went to a different place when you go to the forums.

 

my home page is http://www.drysnot.com

my forums is http://www.drysnot.com/forums

 

style.jpg

 

 

I want to take green and have it as the background on my home page and use the blue to border the link that are currently on my home page.

 

Do you guys have any idea how to do that?

Link to comment
Share on other sites

You have over 140 errors in the coding of your forum. Unless you personally changed the templates, phpBB is NOT providing standards valid code.

 

your validation errors page

 

You have no content-type and charset defined and you have 9 errors on your home page.

 

Until you fix your code and get your home pages valid, your css solutions will be unstable and not look like the phpBB template.

 

 

Link to comment
Share on other sites

I don't know what any of that means.

 

Is it something I messed up?

 

I got the template from here

 

http://www.black-fusion.com/forum/viewtopic.php?f=9&t=685

 

and the forums from here

 

http://www.phpbb.com/downloads/development.php

 

 

All I did to the forums is install the new template. Is there something I need to to validate it? It seems to work fine but I havent got any members yet.

 

What do you think I should do?

 

I've been learning all this on my own with out going to school for it as you can tell. So if its not 100% validated i'm ok with that. I can work out the bugs latter.

Link to comment
Share on other sites

It isn't anything you've done.

 

Evidently the designer of that template doesn't understand valid code. Frankly, there isn't anything you can do about it except to go to the template forum boards and ask if there is a valid code version.

 

What this means is that the code uses out of date html styling rules that are not supported in xhtml 1.0 transitional.

 

For example, this is old code that no current version of html or xhtml uses:

 

<table id="bx" width="100%"height="100%" border="0" cellpadding="0" cellspacing="0">

 

it should be:

<table id="bx"> and the css should designate the styling for width, height, border, padding and margin.

Link to comment
Share on other sites

I have re built my home page and I think all I have to do is figure out how to make it shrink for the people with tiny screens.

 

But its still not valid

 

http://www.drysnot.com/index.html Is not valid but it works great until you get on small screens or old pc's with low screen res.

 

http://www.drysnot.com/index1.html Is valid but after looking at it in IE and FireFox, being valid is not that high up on my todo list lol

 

 

Link to comment
Share on other sites

Actually neither page is valid because you didn't set a proper doctype and charset.

 

The correct doctype for html 4.1 transitional is:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

 

However, you ALSO didn't declare any content-type and character set on either version:

 

<meta http-equiv="Content-Type" content="text/html; charset=utf-8">

 

So, basically, your page is screaming right into quirks mode. In quirks mode, all bets are off so far as properly displaying css in either browser.

 

 

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.