merebel Posted January 5, 2007 Share Posted January 5, 2007 haveing problems with a style sheet setup. I can get the layout I want but the my web pages text dosent show up in the main body of the style sheet ehre i would like it. it shows up on the lower right sidehere is the syle shhet that I am useing, and I am looking to add the web page content in the center[code]<?function print_header_small($title=''){ print(" <head> <title>$title</title> <link rel='stylesheet' href='/include/alderaanbase.css'> </head> <body bgcolor=black text=black marginheight=0 marginwidth=0> ");}function print_header($title='Alderaan Base'){ print(" <head> <title>$title</title> <link rel='stylesheet' href='/include/alderaanbase.css'> </head> <body bgcolor=black text=black marginheight=0 marginwidth=0> <table width=100% height=100% cellspacing=0 cellpadding=5> <tr> <td class=header align=left height=110><img src='/images/alderaanbase1.jpg'></td> </tr> <tr> <td> <table width=100% cellspacing=10 cellpadding=10 border=0 height=100%> <tr> <td class=bodyline width=150 valign=top> <a class=mainmenu href='/'>Home</a><br> <a class=mainmenu href='/calendar/eventslist.php'>Upcoming Events</a><br> <a class=mainmenu href='/events.php'>Past Events</a><br> <a class=mainmenu href='/gallery2/main.php?g2_itemId=79'>Photo Gallery</a><br> <a class=mainmenu href='/join.php'>Join the Rebellion!</a><br> <a class=mainmenu href='/reference'>Costuming Resources</a><br> <a class=mainmenu href='/forum'>Forum</a><br> <a class=mainmenu href='/members.php'>Members</a><br> <a class=mainmenu href='/honorary.php'>Honorary Base Members</a><br> <P> </p> <P> </p> <P> </p> <a class=mainmenu href='/invite.php'>To Invite Alderaan Base to an event or to find out more email us</a><br> <P> </p> <P> </p> <P> </p> </td> <td width='674' valign=top class=row1> <P> </P> <td width='250' valign=top class=tablewhite> <P> <img border=0 width=250 height=340 src='/images/rebelpreview.jpg'></a><br></P> ");} function print_footer(){ print(" </td> </tr> </table> </tr> </table> </body> </html> ");}function print_footer_small(){ print "</body></html>";} function fix_url($linkurl) { if(substr($linkurl,0,4) == "http" || substr($linkurl,0,5) == "https") { $fixed_url = $linkurl; } else { $fixed_url= "http://" . $linkurl; } return $fixed_url; } [/code]ThanksKeith Quote Link to comment https://forums.phpfreaks.com/topic/32973-help-with-style-sheet/ Share on other sites More sharing options...
complex05 Posted January 5, 2007 Share Posted January 5, 2007 can you please post the url to the site where you are having problems? I don't understand what you mean. Quote Link to comment https://forums.phpfreaks.com/topic/32973-help-with-style-sheet/#findComment-153532 Share on other sites More sharing options...
merebel Posted January 5, 2007 Author Share Posted January 5, 2007 here is the page I am trying to work onhttp://www.alderaanbase.com/test1.phpKeith Quote Link to comment https://forums.phpfreaks.com/topic/32973-help-with-style-sheet/#findComment-153537 Share on other sites More sharing options...
complex05 Posted January 5, 2007 Share Posted January 5, 2007 Even though your code does contain PHP, this is an HTML problem and you will need to post this thread in the HTML Help forum.Please try to be more clear. I still don't see or understand what your problem is. Quote Link to comment https://forums.phpfreaks.com/topic/32973-help-with-style-sheet/#findComment-153540 Share on other sites More sharing options...
merebel Posted January 5, 2007 Author Share Posted January 5, 2007 ok I will post this over in the html section.The problem I am haveing is the text that shows up below the picture on the right needs to be in the center section which is the blue error.Keith Quote Link to comment https://forums.phpfreaks.com/topic/32973-help-with-style-sheet/#findComment-153542 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.