03-04-2008, 11:51 | #11 |
The Last Airbender
Join Date: Jun 2006
Location: Pigmopad
Posts: 11,915
|
OK, I've got InDesign chucking out some html table code and some CSS classes...
Code:
<div class="story"> <table> <tbody> <tr> <td colspan="3"> <p class="titles">Sliced Fillet Steak Dishes</p> </td> </tr> <tr> <td> <p class="text">211</p> </td> <td> <p class="text">Satay</p> </td> <td> <p class="text">£6.20</p> </td> </tr> <tr> <td> <p class="text">212</p> </td> <td> <p class="text">Kin Do</p> </td> <td> <p class="text">£6.20</p> </td> </tr> <tr> <td> <p class="text">213</p> </td> <td> <p class="text">Kung Po</p> </td> <td> <p class="text">£6.20</p> </td> </tr> <tr> <td> <p class="text">214</p> </td> <td> <p class="text">Green Pepper & Black Bean Sauce</p> </td> <td> <p class="text">£6.20</p> </td> </tr> </tbody> </table> </div>
__________________
|
03-04-2008, 13:00 | #12 |
I iz speshul
Join Date: Jun 2006
Location: Liverpool
Posts: 6,296
|
Just add
width="XXXpx" to the <td > bit of code, and it will make that part of the table however many pixels you tell it (for example, td width="100px").
__________________
Our deepest fear is not that we are inadequate. Our deepest fear is that we are powerful beyond measure. It is our light, not our darkness, that most frightens us. Your playing small does not serve the world. There is nothing enlightened about shrinking so that other people won't feel insecure around you. We are all meant to shine as children do. It's not just in some of us; it is in everyone. And as we let our own lights shine, we unconsciously give other people permission to do the same. As we are liberated from our own fear, our presence automatically liberates others. |
03-04-2008, 13:05 | #13 |
The Last Airbender
Join Date: Jun 2006
Location: Pigmopad
Posts: 11,915
|
Yeah, had the width set but the other columns went a bit crap. Think I've got it mostly sorted now though
__________________
|
03-04-2008, 14:17 | #14 |
The Last Airbender
Join Date: Jun 2006
Location: Pigmopad
Posts: 11,915
|
Wohooo, got the whole HTML and CSS pretty much perfected now. And it doesn't take me too long to get the text from InDesign and get it formatted how I need it
__________________
|
Thread Tools | |
Display Modes | |
|
|