Current location: Hot Scripts Forums » Programming Languages » PHP » Border Wont DIE!


Border Wont DIE!

Reply
  #1 (permalink)  
Old 02-12-05, 04:30 AM
liljoeyjordison liljoeyjordison is offline
Newbie Coder
 
Join Date: Jan 2005
Posts: 85
Thanks: 0
Thanked 0 Times in 0 Posts
Border Wont DIE!

Not sure if I'm supposed to post this here or elsewhere but, I'm creating a webpage with a template etc that can easily be changed. I did this by creating a blank php file and stuffing it full o' variables e.g.
Code:
$style= 'href="girlsideblack.css" ' ;
Then in the page i use the require function to grab the php files and create those variables, then instead of putting in
Code:
<link rel="StyleSheet" type="text/css" href="girlsideblack.css" >
I put
Code:
<link rel="StyleSheet" type="text/css" <?php echo $style ?> >
That seems to be working fine, except for frames... It keeps putting a frameborder in and I dont know why, it works in html, but not in php. The frame tag all have the following attributes in
Code:
scrolling="no" marginwidth="0" marginheight="0" noresize frameborder="no" bordercolor="#000000">
And all that information (but with single quotes) is stored in a variable, which is called inside the <frameset> tag aswell....

Why wont this work!?
Reply With Quote
  #2 (permalink)  
Old 02-12-05, 04:55 AM
liljoeyjordison liljoeyjordison is offline
Newbie Coder
 
Join Date: Jan 2005
Posts: 85
Thanks: 0
Thanked 0 Times in 0 Posts
Oh yeah, if you want to see the output goto http://www.theinstitution1.com/dynam...e/frameset.php

This page will change in time though, when it actually starts to be used...
Reply With Quote
  #3 (permalink)  
Old 02-13-05, 01:07 PM
bizzar528's Avatar
bizzar528 bizzar528 is offline
Community Liaison
 
Join Date: Sep 2004
Location: Pennsylvania, US
Posts: 1,550
Thanks: 2
Thanked 16 Times in 15 Posts
i'm not a fan of frames, and they are usually not very happy with search engines. If your site uses css, why not build your layout using the css??
__________________
Yep, it's a signature...
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Printing to the top of a .txt file Tempestshade Perl 23 02-27-05 05:12 PM
Multiple frame loading El Barto HTML/XHTML/XML 0 09-22-04 05:05 PM
[Simple] Problem with paths! denim child PHP 8 08-30-04 05:25 AM
Skip the IFrame border on tabIndex?? jakeisbland HTML/XHTML/XML 3 06-08-04 01:25 PM
perl output to mysql bguerrero Perl 1 04-29-04 09:03 PM


All times are GMT -5. The time now is 05:29 AM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.