|
| Index | Recent Threads | Unanswered Threads | Who's Online | User List | Help |
|
|
| No member browsing this thread |
|
Thread Status: Active Total posts in this thread: 8
|
|
| Author |
|
|
Advanced Member Joined: Apr 2, 2005 Post Count: 2141 Status: Offline |
For some reason, I cannot get it to allow padding (spacing) between the image and text. The image is set to align left so that the text can be placed to the right of the image but I need spacing so that the text does not lean against the image. Here's my code: <table width="100%">CSS: .break {margin-bottom:0pxThanks. ---------------------------------------- Success is based on how much you spend. If it's not money, then the alternative is your time. The Kasper Group |
||
|
|
Advanced Member USA Joined: Nov 27, 2003 Post Count: 6285 Status: Offline |
Try floating the image? |
||
|
|
Advanced Member UK Joined: Dec 29, 2004 Post Count: 1662 Status: Offline |
A link to the actual page would be a great help. ![]() ---------------------------------------- Pavonis Mons | Listen of the week: "Residue of Desire" by Acumen |
||
|
|
Advanced Member Joined: Apr 2, 2005 Post Count: 2141 Status: Offline |
Here's the link: SNA site I was trying to make it work using <div> instead of tables but for some reason I could never position the <div> like I did with the tables. If you have a solution for that, I am open to learn it and apply it. Otherwise, just getting the padding to work between the image and text will suffice for me. ---------------------------------------- Success is based on how much you spend. If it's not money, then the alternative is your time. The Kasper Group |
||
|
|
Stranger Joined: Apr 7, 2006 Post Count: 2 Status: Offline |
why not just throw some vspace="3" hspace="3" hspace controls the horizontal padding and vspace controls vertical padding Another one I find handy is if you have <P></P> Tags, throw some margin heights in there. <P style="margin:0px 0px 0px 0px">Hello</p> Remember it goes in order TOP RIGHT BOTTOM LEFT Inline style is nice... hope this helped |
||
|
|
Advanced Member Joined: Apr 2, 2005 Post Count: 2141 Status: Offline |
why not just throw some vspace="3" hspace="3" hspace controls the horizontal padding and vspace controls vertical padding Another one I find handy is if you have <P></P> Tags, throw some margin heights in there. <P style="margin:0px 0px 0px 0px">Hello</p> Remember it goes in order TOP RIGHT BOTTOM LEFT Inline style is nice... hope this helped Thanks but I want to apply this to external CSS and avoid using vspace and hspace. ---------------------------------------- Success is based on how much you spend. If it's not money, then the alternative is your time. The Kasper Group |
||
|
|
Advanced Member Joined: Oct 27, 2004 Post Count: 2550 Status: Offline |
hi, as lsw said it is better to float the image. I dont know if you saw this example ---------------------------------------- My blog |
||
|
|
Advanced Member Joined: Apr 2, 2005 Post Count: 2141 Status: Offline |
That link opened my eyes. Got it to work: SNA I was not implementing float: left (or right) correctly. Thanks for the help. ---------------------------------------- Success is based on how much you spend. If it's not money, then the alternative is your time. The Kasper Group |
||
|
|
|
|
|
Current timezone is GMT May 25, 2013 6:11:01 AM |