|
please help me im desperate
02-19-2006, 04:32 PM
|
Re: please help me im desperate
|
Posts: 26
Location: Miami, FL
|
Yup, I think i did it, looks fine in my browser, how about you guys?
Do you know the code so that the table reaches the very top of the page?
|
|
|
|
02-19-2006, 04:41 PM
|
Re: please help me im desperate
|
Posts: 26
Location: Miami, FL
|
Man im so excited, ive overcome frames!! thank you guys so much for the help...
Just a few questions, one, how do I get the table to reach the very top of page, and 2, on IE, I can see a little bit of the original table background color behind the image, how can I make it exact fit?
Thanks!
|
|
|
|
02-19-2006, 06:24 PM
|
Re: please help me im desperate
|
Posts: 1,606
|
Quote:
|
Originally Posted by Cmoazz
Yup, I think i did it, looks fine in my browser, how about you guys?
Do you know the code so that the table reaches the very top of the page?
|
zero cellspacing and zero borders. The actual name varies depending on which editor you are using. That and no <br> at the top of the page.
I hope you got it working but just in case I put this up for you. Note it is a different link than before. I did use php and the inc files on these sample pages. There is also a sample of the code posted by Vangogh.
http://www.lexkyweb.com/samples/
Best wishes
Colbyt
|
|
|
|
02-19-2006, 10:42 PM
|
Re: please help me im desperate
|
Posts: 26
Location: Miami, FL
|
It was the body topmargin="0", I got it though. Man, all I need to do is learn some more css, php, and photoshop and ill be on the way to the top! haha.
Thanks alot for the help guys, im sure i'll be back, very freindly and helpful forum.
|
|
|
|
02-20-2006, 12:36 AM
|
Re: please help me im desperate
|
Posts: 26
Location: Miami, FL
|
Told ya ide be back! haha
How do I link stuff? I tried <a href="contactus.inc"> but that didnt work, please post all ways of linking in this php format please, thanks!
|
|
|
|
02-20-2006, 12:55 PM
|
Re: please help me im desperate
|
Posts: 10,815
Name: Steven Bradley
Location: Boulder, Colorado
|
I'm not entirely sure where you want to add this link. If you're trying to include the file through php then you need:
<?php include "contactus.inc" ?>
If this is just a regular html link then you want to link to an html page and not an .inc page.
The way you're using the <a> tag is right. It's a form of relative linking. Everything between the "" after the href is the path to the file so the way you have it written above you're asking for a file that's located in the same folder as the file it's being called from.
If your file is in a subfolder of the calling page's folder them you would need to include that folder in the path. Let's say the contact.inc file is in a folder called includes and the page you are calling that file from is in the root directory for your site. Then your link might look like:
<a href="includes/contactus.inc">
You can also use an absolute link which would use the full path to the file:
<a href="http://www.yourdomain.com/includes/contactus.inc">
or alternately:
<a href="/includes.contactus.inc">
Starting with the forward slash (/) is basically the same as saying start in the root directory for your site.
The path you need to use depends on how the folders and files for your site are structured. Again though if you want to link to a contactus page it should be an html page or a php page if you're going to use php on the page.
Last edited by vangogh; 02-20-2006 at 12:57 PM..
|
|
|
|
02-20-2006, 02:58 PM
|
Re: please help me im desperate
|
Posts: 26
Location: Miami, FL
|
That didnt work, all it does is link to the page with the actual html codes as the website. I had to make a new .php, but where I have the main content of my site, I have to change it from main.inc to, for example, contactus.inc, and also make a new contactus.php.
Is there a faster way than this? Also, how can I make it so that it uses a .html Such as www.mixtapemurder.com or www.dadewear.com , they obviously use some sort of "frames without frames" technique, but theyre pages end in .html
Thanks
|
|
|
|
02-20-2006, 09:33 PM
|
Re: please help me im desperate
|
Posts: 10,815
Name: Steven Bradley
Location: Boulder, Colorado
|
Cmoazz I'm confused with what you're looking for. I thought you wanted to link to one of those pages. Could you describe a little more what you're trying to do or better yet post the code you currently have. It'll be much easier to help you that way.
Are you still trying to get the index.php page working?
The first link you posted wasn't working when I clicked, but the second site is using a frame. It's an example of an inline frame the html tag is <iframe> and here's the code from the dadewear site:
HTML Code:
<iframe src="news_inner.htm" name="News" scrolling="auto" frameborder="no" align="center" height = "402" width = "400"></iframe>
The src="" is the link to the html you want inside the iframe and the other attributes are to set how the iframe itself displays.
I had thought you wanted to stay away from frames. If this is what you're looking for you won't need any php at all. Just add the iframe tag inside each of the table cells and link to the html pages and they'll show up inside the table cells.
|
|
|
|
02-21-2006, 02:53 AM
|
Re: please help me im desperate
|
Posts: 26
Location: Miami, FL
|
I didnt mean that iframe section, but you can tell that the whole dadewear.com site uses some sort of framing without frames. Since it has so many pages per product, they are obviously using some sort of method like the php you showed me.
However, they can link pages up as .html, for example if you click mens, and then click products its all under .html
|
|
|
|
02-21-2006, 01:02 PM
|
Re: please help me im desperate
|
Posts: 10,815
Name: Steven Bradley
Location: Boulder, Colorado
|
I think the site is just using tables. It doesn't look to me like they're using any form of scripting to keep the menus in separate files. The site looks like it was created in Dreamweaver and they've probably set things up in Dreamweaver so if they make a change to one of the links in the menu then Dreaweaver is making the changes across all the pages of the site.
Could you post the code you have so far for the page(s) your having trouble with? I'm still not entirely certain what the problem is, but if I could see the code I'm sure it will make more sense to me.
|
|
|
|
|
« Reply to please help me im desperate
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|