|
|||||||
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
#1 |
|
Security Dude
Staff
|
Web Design Assistance
Hi,
I need some help with my designing. I have the homepage designed just how i want it, with tables and not frames dividing it. Now, when going to make the rest of the links, it takes intirely too long to paste the main HTML and then do the text i want per page. I have read i can do it in SSI, but it doesnt work with tables. I was wondering if there was a CSS way to do it. I am using HTML 4.1 transisional. THANKS (link below) www.derbydigital.com
__________________
Tyler A. Thompson Small Business Networking Services Specialist tyler@derbydigital.com |
|
|
|
|
|
#2 |
|
Member (10 bit)
|
It takes a while, but I ran into the same problem as you did a few months ago. I decided to go for the php option (if your server offers it. What this means is you can have all your data coming through the one page and all you have to do is write write a few if/else code lines. What it also means is if you want to redesign your website in the future all you have to do is redesign one page. If you want an example of how to do it I can send you my index page (in progress) that shows how simple it is?
|
|
|
|
|
|
#3 |
|
Staff
Premium Member
Join Date: Jul 1999
Location: Arlington, TN
Posts: 5,538
|
The easiest would be to use php. You wouldn't necessarily have to have any if/then/else statements. Just build you page the way you want it and chop it up into a header, left menu, content and footer. The only part that will change will be the content part. So a page would look something like this:
PHP Code:
__________________
Want to Make $$$$ with your Computer? No Risk! Simply press shift-4 four times in a row |
|
|
|
|
|
#4 |
|
Security Dude
Staff
|
can you explain how to "chop the website" a little please? I havent used PHP much, but my server does allow it
|
|
|
|
|
|
#5 |
|
Member (11 bit)
Join Date: Aug 2003
Location: NJ
Posts: 1,099
|
An example of a "chopped website" is this. It's coded using php. It utilizes mysql as its database. It's not yet complete. It took a back seat since there are more pressing issues in my department. It's estimated completion date is Summer 2004.
Basically index.php calls on other files (footer.php, header.php, etc). There are different files responsible for the header, footer, side boxes, and website functions (search, checkout, shopping cart, etc.). This allows me to make changes very easily. I've done other sites but this particular one is the best of them all
__________________
P4 2.6C @ 3.12 || ASUS P4C800-E Dlx || Antec SOHO File Server w/ 5 case fans || Antec TruePower 430w PSU || 2 x 512MB Crucial PC3200 DDR || 280GB of total storage 7200rpm ATA100 8mb cache || LiteOn CDRW 52x32x52 || LiteOn DVD+/-RW SOHW-812S || WinXP Pro || Solarism 15" TFT LCD || 500VA TrippLite UPS || Logitech MX-700 Duo || ATI 9800 AIW || Sennheiser HD-555 |
|
|
|
|
|
#6 | |
|
Staff
Premium Member
Join Date: Jul 1999
Location: Arlington, TN
Posts: 5,538
|
Quote:
|
|
|
|
|
|
|
#7 |
|
Member (8 bit)
|
php includes are exactly the way i think you should do it :P
|
|
|
|
|
|
#8 |
|
Security Dude
Staff
|
thanks! do i just save as php or html?
can you right out the includes script i would need? thanks again! |
|
|
|
|
|
#9 | |
|
Staff
Premium Member
Join Date: Jul 1999
Location: Arlington, TN
Posts: 5,538
|
Quote:
|
|
|
|
|
|
|
#10 |
|
Member (10 bit)
|
Stick us up a copy of your current index.html and if you want ill edit it for you.
|
|
|
|
|
|
#11 |
|
Security Dude
Staff
|
Here you go, THANKS!!!!!!!!! Sorry it took so long, ive been sick. if you need any more files let me know.
|
|
|
|
|
|
#12 |
|
Member (9 bit)
|
erm i had ago with the includes for u, usually they work for me but youll have to ask someone else to make it work proppa. put all the files on a server and have a look.
|
|
|
|
|
|
#13 |
|
Security Dude
Staff
|
My only problem is an alignment issue. I am not sure how to realign it right. here is what ive got, using your includes: www.derbydigital.com/dd
Thank you very much! |
|
|
|
|
|
#14 |
|
Member (9 bit)
|
from what ive heard the alingment info goes in the header file. ill keep ya posted when i find the right code cos i wnat to do my own site like that cos html frames mess up 99% of the time
|
|
|
|
|
|
#15 |
|
Member (9 bit)
Join Date: Nov 2003
Location: Canada ontario
Posts: 342
|
i dont know what u mean u want to align it right but u can do that to the right left and center.
add align="left" , align="right", align="center" i.e. big heading right alignededit this has html code on so heres a code modofied so it wont be recocnised. h1 align="right">big heading right aligne closing tag goes here post to see if thats what u meant gimme more details. Or are u talking about frames/tables and aligning text eh? Last edited by Undead_Rider; 12-22-2003 at 02:54 PM. |
|
|
|
|
|
#16 |
|
Security Dude
Staff
|
I need frame alignment using php includes but not using the actual HTML frames.
|
|
|
|
|
|
#17 |
|
Member (9 bit)
Join Date: Nov 2003
Location: Canada ontario
Posts: 342
|
heres a sight
www.phpconsulting.com/web/html.php and cant you just do http://www.sloppycode.net/html/special/iframe.html Admin Edit: fixed a bunch of buggy code so the thread would look good. Last edited by M. A. Dockter; 12-22-2003 at 05:32 PM. |
|
|
|
|
|
#18 |
|
Member (9 bit)
Join Date: Nov 2003
Location: Canada ontario
Posts: 342
|
olds post got wacked so heres it agian
heres a web site http://www.sloppycode.net/html/special/iframe.html and www.phpconsulting.com/web/html.php but cant u just do this to align the frames? Admin Edit: I removed a bunch of code that was messing up this thread. Last edited by M. A. Dockter; 12-22-2003 at 05:30 PM. |
|
|
|
|
|
#19 |
|
Staff
Premium Member
Join Date: Jul 1999
Location: Arlington, TN
Posts: 5,538
|
Eek, I hate Iframes.
Undead_rider can you edit your post and remove the iframes? |
|
|
|
|
|
#20 |
|
Member (9 bit)
Join Date: Nov 2003
Location: Canada ontario
Posts: 342
|
ya i wanted to but i couldn't eh. Wouldn't let me see bottem half of the page for some reason but since dok fixed it i can now.
|
|
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|