Jump to content

two backgrounds in one cell


M.O.S. Studios

Recommended Posts

Hey guys, i want to have a mirror image one the top right and bottom left corners of a cell, does any one know how to do that?

 

here is my code

 

<?php
list($reswidth, $resheight)=getimagesize('logo.gif');
?>

<html>
<head>
<style type="text/css">
div.wrapper { 
width:100%; 
} 
div.left_column {
width=23%;
float:left; 
text-align:right; 
vertical-align:top; 
}

div.content {
Position:absolute;
top: <?php echo $resheight/2;?>px;
left: <?php echo $reswidth+10;?>px;
width:800; 
height:700;
float:left;
text-align:right;
background-color: #ff9a9a;
background-IMAGE: url(images/content_bg1.gif);
background-repeat: no-repeat;
background-position: top left;
border-width: .5em; 
border-style: solid; 
border-color: #504e4f; 
}


div.right_column { 
float:right; 
text-align:center; 
vertical-align:middle;
} 
hr { 
clear:both; 
display:block; 
visibility:hidden;} 


</style>
</head>

<body bgcolor='#000000' text='#ffffff'>

<?php echo $reshiegh; ?>
<img src='logo.gif'>

<div class="wrapper"> 

<div class="left_column">
 <?php
          $menus=urlencode("Home");
          $url=urlencode("index.php");
          include("menus/menus.php");

          $menus=urlencode("Portfolio");
          $url=urlencode("index.php?page=portfolio");
          include("menus/menus.php");

          $menus=urlencode("Contact us");
          $url=urlencode("index.php?page=contact");
          include("menus/menus.php");
         ?>
</div> 
<div class="content"> 


</div> 

<div class="right_column"> 
</div> 

</div>

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.