News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

padding in div doesn't work

Started by Cadish, January 06, 2004, 04:45:21 AM

Previous topic - Next topic

Cadish

Hi,

I've tried about an hour to get this thing working: I define that the div should be padding, but it doesn't:

<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr bgcolor="#4F4F4F" style="background-image: url('images/background.gif'); background-repeat:repeat-x;">
    <td colspan="2">
      <table border="0" width="100%" height="100%">
        <tr>
          <td align="left" width="400" valign="top">
            <div style="padding:100"><p class="title">Home</p></div>
           </td>
           <td align="right"><img src="images/image1.gif" width="266" height="190"></td>
         </tr>
       </table>
     </td>
  </tr>
</table>

Tyris

100 what...?
doesnt it need a unit..? pixels..?

Cadish


writeto

Aren't those the best mistakes. I bet you knew that and didn't even think of that. Human beings are so wonderful sometimes. It seems we all have the same quarks sometimes.

Tyris

heh, I was paranoid I was wrong and the padding thign didnt use a 'type' or something ;)
dn worry, everyone makes these mistakes... except maybe [Unknown] ;)
nah, even he probably makes these mistakes :D
(I make 100's of em ;))

[Unknown]

The typos I make could like.. well, if you put them on little slips of paper I could easily fill a football stadium or two.

-[Unknown]

pulpitfire

don't worry guys.  the picture is not really her.

[Unknown]


writeto

I wasn't going to reply but my thoughts exactly

Tyris

hmmm... odd... the poster originally had an avatar as some girl... and a different name too... Cadish.. what you up to >.< :P

Cadish

Just playing a bit while waiting for the release :P

Tyris

lol, ok
* Tyris is happy he isnt going mad

bostasp


Advertisement: