|
|
|
|
|
|
![]() |
#1 |
Registered User
|
Is it possible to pad just one cell?
Title says the question. Code would be nice too lol. Getting the impression this is a no, on my searches. Thanks Jugg..
|
![]() |
![]() |
![]() |
#2 |
I'm a jaded evil bastard, I wouldn't piss on myself if I was on fire...
|
A rough and ready example using CSS
Wasn't working in FF... Aaaaaaaaah fuck it! See next...
__________________
I sale Internet My sites have no traffic and no PR - let's trade - PM me Last edited by Wazza; 2005-12-03 at 03:46 AM.. Reason: fudge it! |
![]() |
![]() |
![]() |
#3 |
I'm a jaded evil bastard, I wouldn't piss on myself if I was on fire...
|
Or if you want - just slap another table with its own cellpadding inside the cell you want this done to
__________________
I sale Internet My sites have no traffic and no PR - let's trade - PM me |
![]() |
![]() |
![]() |
#4 |
With $10,000, we'd be millionaires! We could buy all kinds of useful things like ... love!
|
Is this what you are after?
http://www.mysiteontheweb.com/
__________________
Playboy Webmasters - The name says it all! $35 per signup or 60% revshare. |
![]() |
![]() |
![]() |
#5 |
I'm a jaded evil bastard, I wouldn't piss on myself if I was on fire...
|
or
http://www.w3schools.com/css/tryit.a...trycss_padding and http://www.w3schools.com/css/css_padding.asp
__________________
I sale Internet My sites have no traffic and no PR - let's trade - PM me |
![]() |
![]() |
![]() |
#6 |
With $10,000, we'd be millionaires! We could buy all kinds of useful things like ... love!
|
That's basically what my test page shows
![]()
__________________
Playboy Webmasters - The name says it all! $35 per signup or 60% revshare. |
![]() |
![]() |
![]() |
#7 |
I'm normally not a praying man, but if you're up there, please save me Superman!
|
Is that what you're asking for?
<td style="padding: 10px">Cell content</td>
__________________
The tendency is to push it as far as you can -- Fear and Loathing In Las Vegas |
![]() |
![]() |
![]() |
#8 |
Solipsists of the world unite
Join Date: Oct 2003
Location: xxx axis
Posts: 639
|
|
![]() |
![]() |
![]() |
#9 | |
With $10,000, we'd be millionaires! We could buy all kinds of useful things like ... love!
|
Quote:
![]()
__________________
Playboy Webmasters - The name says it all! $35 per signup or 60% revshare. |
|
![]() |
![]() |
![]() |
#10 |
Subversive filth of the hedonistic decadent West
Join Date: Mar 2003
Location: Southeast Florida
Posts: 27,936
|
I just nest a new table into the cell
|
![]() |
![]() |
![]() |
#11 | |
If you don’t take a chance the Angels won’t dance
|
Quote:
|
|
![]() |
![]() |
![]() |
#12 | |
With $10,000, we'd be millionaires! We could buy all kinds of useful things like ... love!
|
Quote:
I have started using divs, rather than tables, to achieve the same layout Example - www.thatmanpoker.com
__________________
Playboy Webmasters - The name says it all! $35 per signup or 60% revshare. |
|
![]() |
![]() |
![]() |
#13 | |
I'm a jaded evil bastard, I wouldn't piss on myself if I was on fire...
|
Quote:
![]()
__________________
I sale Internet My sites have no traffic and no PR - let's trade - PM me |
|
![]() |
![]() |
![]() |
#14 |
Registered User
|
All very good examples and yes they will help me get what I need today for sure. Basiclly if you go to my site you will see after you enter the index, my header has a banner for PECash and I put some text at the top of it. But the banner is right justified and that just makes the text look like it runs off the page. I just wanted to put some distance from the edge. When I try this it applys it to the whole table. I was going to nest a new table but that just seems to screw up the whole header. Thank you I will let you know how it goes...
|
![]() |
![]() |
![]() |
#15 |
With $10,000, we'd be millionaires! We could buy all kinds of useful things like ... love!
|
As your banner cell is right aligned, the position of the banner will stay the same. If all banners are 468 pixels wide you can use a div to center the text above it:
Code:
<div style="width:468px;text-align:center;"> Your text centered under/over banner </div> Code:
<td width="59%" align="right" valign="top" bgcolor="#ffffff" class="topheader"> <div style="width:468px;text-align:center;color:#ff0000;font-size:10px"> BUY YOUR FAVORITE HOST A GIFT HERE!! </div> <script src="bannerdisplay/showbanner.php?catid="></script> </td> Steve
__________________
Playboy Webmasters - The name says it all! $35 per signup or 60% revshare. |
![]() |
![]() |
![]() |
#16 | |
Registered User
|
Quote:
![]() |
|
![]() |
![]() |
![]() |
#17 |
With $10,000, we'd be millionaires! We could buy all kinds of useful things like ... love!
|
NP... glad to help
![]() One thing, tho; Take out the closing div after your banner call... it is no longer required.
__________________
Playboy Webmasters - The name says it all! $35 per signup or 60% revshare. |
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
Display Modes | Rate This Thread |
|
|