Web Hosting Deals Holiday Logo Design Webcam Chat Website Header Templates Register domain Search Engine Optimisation Web Hosting
Go Back   Talk Mania Forum > Programming / Scripting / Coding

Programming / Scripting / Coding Got a question about : PHP / Perl / Java / JavaScript / CGI Scripts / JavaScript coding. Ask here! We'll get you the answers !

 Image
Buy Sell Downloads

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 03-15-2007, 04:14 AM
Base's Avatar
Senior Member
 
Join Date: Mar 2007
Location: North Yorkshire, UK
Posts: 121
Base is on a distinguished road
Send a message via MSN to Base Send a message via Skype™ to Base
Problem.

I am mid way through creating a news system for my website...

My problem is with HTML reapeating images..

Its better if i show you the current website

Here

Now if you look at the top & bottom the image (top_center.gif) it repeats way to many times i want it just to repeat horisontaly rather than repeating through out the entire table..

Hope i made myself clear..

Here is an example of what i would like it to look like in the end..



I guess i would have to do it with cascade, but i have been up for too long now, and just can't think straight..

If someone could be a champ and slap me down some code, it would be massively apritiated.

See the tirdness destroys my spelling..

Cheers

Base

(EDIT: Added source code)

Code:
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="15"><div align="left"><img src="images/left_content_upper.gif" width="15" height="67" /></div></td>
        <td background="images/top_center.gif" height="8">&nbsp;</td>
        <td width="15"><div align="right"><img src="images/Right_content_Upper.gif" width="15" height="67" /></div></td>
      </tr>
    </table>
      <table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td> <p>[[subject]] -   [[date]]</p>
          <p> [[body]]</p>
          <p align="right">Posted by:   [[poster]]</p></td>
      </tr>
    </table>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="15"><div align="left"><img src="images/left_content_lower.gif" width="15" height="67" /></div></td>
        <td background="images/top_center.gif" height="8">&nbsp;</td>
        <td width="15"><div align="right"><img src="images/right_content_lower.gif" width="15" height="67" /></div></td>
      </tr>
    </table></td>
  </tr>
</table>


Last edited by Base; 03-15-2007 at 04:15 AM. Reason: Added source code.
Reply With Quote
  #2 (permalink)  
Old 03-15-2007, 04:29 PM
Base's Avatar
Senior Member
 
Join Date: Mar 2007
Location: North Yorkshire, UK
Posts: 121
Base is on a distinguished road
Send a message via MSN to Base Send a message via Skype™ to Base
Can anyone shed any light on the issue?

Base

__________________
http://www.pointserv.co.uk/gfx/deal_..._pointserv.png
PointServ.co.uk - One of the UK's cheapest webhosting companies.
Reply With Quote
Reply

Bookmarks

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT +2. The time now is 07:07 PM.


Fake ID

Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 RC8
Forums Copyright © Talk-Mania.com