NovaArgon Posted November 27, 2007 Share Posted November 27, 2007 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 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? Quote Link to comment https://forums.phpfreaks.com/topic/79149-adding-a-border-to-my-homepage/ Share on other sites More sharing options...
NovaArgon Posted November 28, 2007 Author Share Posted November 28, 2007 http://www.drysnot.com http://www.drysnot.com/forums What do ya think? I used css to adjust the background image and a program called KompoZer to adjust the tables. Quote Link to comment https://forums.phpfreaks.com/topic/79149-adding-a-border-to-my-homepage/#findComment-401317 Share on other sites More sharing options...
dbrimlow Posted November 28, 2007 Share Posted November 28, 2007 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. Quote Link to comment https://forums.phpfreaks.com/topic/79149-adding-a-border-to-my-homepage/#findComment-401366 Share on other sites More sharing options...
NovaArgon Posted November 28, 2007 Author Share Posted November 28, 2007 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. Quote Link to comment https://forums.phpfreaks.com/topic/79149-adding-a-border-to-my-homepage/#findComment-401380 Share on other sites More sharing options...
dbrimlow Posted November 28, 2007 Share Posted November 28, 2007 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. Quote Link to comment https://forums.phpfreaks.com/topic/79149-adding-a-border-to-my-homepage/#findComment-401532 Share on other sites More sharing options...
NovaArgon Posted November 29, 2007 Author Share Posted November 29, 2007 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 Quote Link to comment https://forums.phpfreaks.com/topic/79149-adding-a-border-to-my-homepage/#findComment-402164 Share on other sites More sharing options...
dbrimlow Posted November 29, 2007 Share Posted November 29, 2007 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. Quote Link to comment https://forums.phpfreaks.com/topic/79149-adding-a-border-to-my-homepage/#findComment-402366 Share on other sites More sharing options...
NovaArgon Posted November 30, 2007 Author Share Posted November 30, 2007 I have those two things done What should I do next? Quote Link to comment https://forums.phpfreaks.com/topic/79149-adding-a-border-to-my-homepage/#findComment-402713 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.