Old 11-10-2003   #1 (permalink)
Incredible Indelible Etiquette
 
Young Spartan's Avatar
 
Join Date: Oct 2003
Location: Hobe Sound, Florida
Posts: 1,751

Send a message via AIM to Young Spartan Send a message via MSN to Young Spartan Send a message via Yahoo to Young Spartan
HTML Help..

Okay, Bullet-Line.com - the layout is one big table with lots of cells. Well if I give the table cellpadding, it messes up th layout. But those 3 boxes where I want text, the text is touching the sides. How do I get aroudn this?
Young Spartan is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 11-10-2003   #2 (permalink)
Registered User
 
r4z0r's Avatar
 
Join Date: Oct 2003
Location: England
Posts: 65

Use CSS - make a class or ID for the three text boxes - therefore it will just add padding to those cells and not the rest of the table.

Within the <td> for each of the text boxes do the following
<td style="padding">

Then within your CSS add this
.padding {padding:10px}

Obviously change the value to how much padding you want
__________________

Last edited by r4z0r; 11-10-2003 at 10:27 PM..
r4z0r is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 11-10-2003   #3 (permalink)
Incredible Indelible Etiquette
 
Young Spartan's Avatar
 
Join Date: Oct 2003
Location: Hobe Sound, Florida
Posts: 1,751

Send a message via AIM to Young Spartan Send a message via MSN to Young Spartan Send a message via Yahoo to Young Spartan
Quote:
Originally posted by r4z0r
Use CSS - make a class or ID for the three text boxes - therefore it will just add padding to those cells and not the rest of the table.

Within the <td> for each of the text boxes do the following
<td style="padding">

Then within your CSS add this
.padding {padding:10px}

Obviously change the value to how much padding you want
I know only the very very basics of CSS which is why I did not come up with this. Thanks!
Young Spartan is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 11-10-2003   #4 (permalink)
Incredible Indelible Etiquette
 
Young Spartan's Avatar
 
Join Date: Oct 2003
Location: Hobe Sound, Florida
Posts: 1,751

Send a message via AIM to Young Spartan Send a message via MSN to Young Spartan Send a message via Yahoo to Young Spartan
CSS File:
Quote:
<style>
.pad {padding: 3px}
</style>
Table Code:
Quote:
<TD COLSPAN=9 ROWSPAN=2 bgcolor="#FFFFFF" WIDTH=420 HEIGHT=409 valign="top" class="pad">
It's not working, what'd I do wrong?
Young Spartan is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 11-11-2003   #5 (permalink)
Registered User
 
r4z0r's Avatar
 
Join Date: Oct 2003
Location: England
Posts: 65

Sorry my mistake - change class="pad" to style="pad"

It's been a long day

Also I notice you've got an I-frame in there - you'll have to put the style on the content of the I-frame i.e. the table in news.php
__________________
r4z0r is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 11-12-2003   #6 (permalink)
Incredible Indelible Etiquette
 
Young Spartan's Avatar
 
Join Date: Oct 2003
Location: Hobe Sound, Florida
Posts: 1,751

Send a message via AIM to Young Spartan Send a message via MSN to Young Spartan Send a message via Yahoo to Young Spartan
Still no workie.
Young Spartan is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 11-12-2003   #7 (permalink)
Registered User
 
r4z0r's Avatar
 
Join Date: Oct 2003
Location: England
Posts: 65

In your external CSS file get rid of <style> and </style>

You don't need them, and they're what's messing it up - let me know how it goes!
__________________
r4z0r is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 11-13-2003   #8 (permalink)
Incredible Indelible Etiquette
 
Young Spartan's Avatar
 
Join Date: Oct 2003
Location: Hobe Sound, Florida
Posts: 1,751

Send a message via AIM to Young Spartan Send a message via MSN to Young Spartan Send a message via Yahoo to Young Spartan
Quote:
Originally posted by r4z0r
In your external CSS file get rid of <style> and </style>

You don't need them, and they're what's messing it up - let me know how it goes!
Okay, been real busy. Will try in the next few minutes and let you know.
Young Spartan is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 11-13-2003   #9 (permalink)
Incredible Indelible Etiquette
 
Young Spartan's Avatar
 
Join Date: Oct 2003
Location: Hobe Sound, Florida
Posts: 1,751

Send a message via AIM to Young Spartan Send a message via MSN to Young Spartan Send a message via Yahoo to Young Spartan
I had to change style back to class, but it worked.
Young Spartan is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 11-14-2003   #10 (permalink)
Registered User
 
r4z0r's Avatar
 
Join Date: Oct 2003
Location: England
Posts: 65

Yeah sorry - confusing myself - it IS class - durrr Glad you got it working though
__________________
r4z0r is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Closed Thread

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 +1. The time now is 04:59 PM.
Content Relevant URLs by vBSEO 3.2.0

Design & Content © BioRUST 2008 :: PRIVACY STATEMENT :: LEGAL INFORMATION :: ADVERTISING MEDIA KIT