Jump to content

Help with Style sheet


merebel

Recommended Posts

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 side
here 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>&nbsp;</p>
<P>&nbsp;</p>
<P>&nbsp;</p>
<a class=mainmenu href='/invite.php'>To Invite Alderaan Base to an event or to find out more email us</a><br>


<P>&nbsp;</p>
<P>&nbsp;</p>
<P>&nbsp;</p> </td>




<td width='674' valign=top class=row1>



                  <P>&nbsp;</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]

Thanks
Keith
Link to comment
https://forums.phpfreaks.com/topic/32973-help-with-style-sheet/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.