Flash Games
 FAQ   Search   Memberlist   Usergroups   Register  Profile   Log in to check your private messages   Log in 


Alinging tables and side border designs?



 

Post new topic   Reply to topic  
   DEVPPL Forum Index -> HTML Forum
View previous topic :: View next topic  
Author Message
Solarpitch



Joined: 29 Oct 2006
Posts: 1

PostPosted: Sat Jan 06, 2007 2:42 pm    Post subject: Alinging tables and side border designs? Reply with quote

Hi Guys,

I just feel so fed up! What should be a simple part of web development is causing me so much hassle and its probably so easy for you lot Sad

Could someone please just help me with this and I can put it to rest. Basically what I am trying to achieve is have a web page that is centered in a browser. Now that part I can do fine . . ie align = "center". The problem comes when I try and add the 2 sides designs to the page. The table keeps resizing and messing up. I have an example as follows:



page Code

Code:
http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<!-- TemplateBeginEditable name="doctitle" -->
<title>Untitled Document</title>
<!-- TemplateEndEditable -->
<!-- TemplateBeginEditable name="head" -->
<!-- TemplateEndEditable -->
<style type="text/css">
<!--
body {
   background-color: #666666;
}
-->
</style></head>

<body>
<table width="694" border="0" align="center" cellspacing="0" cellpadding="0">
  <tr>
    <td width="77" height="278" align="left" valign="middle" style="background-image: url('file:///C|/websdesigns/left_bar.jpg'); background-repeat: repeat-y">&nbsp;</td>
    <td width="544" valign="top" bgcolor="#FFFFFF">&nbsp;</td>
    <td width="73" align="right" valign="middle"  style="background-image: url('file:///C|/webs/designs/right_bar.jpg'); background-repeat: repeat-y">&nbsp;</td>
  </tr>
</table>
<p>&nbsp;</p>
<p>&nbsp;</p>
</body>
</html>


As you can see the side images are fine there but when I start to nest tables within the main tables it puts it all arse ways and its driving me mad. Just want to get this out of the way so I can move on with development! :L

Can anyone show me the best techinque/ practice in achieving this, thanks
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    DEVPPL Forum Index -> HTML Forum All times are GMT + 1 Hour
Page 1 of 1

 
 
Welcome to DEVPPL.com
You are not logged in, which means that you can't post in the forums.
Click here to Register

If you are a current member here on DEVPPL, please login below:

User: Pass:
Log me on automatically each visit:

 


Powered by phpBB © 2001, 2005 phpBB Group - Modified by DEVPPL

Flash Games - Sitemap