Guest Posted August 27, 2005 Share Posted August 27, 2005 can somebody tellme how to create large spaces inbetween text on the same line. i am having a nightmare writing my product info's! what i what is sometthing that will work like the tab key. so at the moment im getting: manufacturers: generics but i want a space between the two words like: manufacturers:.................generics (but the dots wouldn't be there, i've tried to hide them using a white colour, which works, but is a lengthy process) i've tried tables, but they don't give me a space. all i want is a large space between the two words on the same line. also is the a contribution for writing you product info' just to make life alot easier than you lots of html codes. Link to comment Share on other sites More sharing options...
Guest Posted August 27, 2005 Share Posted August 27, 2005 tables should give you the space you want try them by adjusting spacing and/or padding between cells for instance: <table border="0" width="100%" cellspacing="4" cellpadding="4"> <tr> <td>Cell 1</td> <td>Some Description</td> </tr> </table> Link to comment Share on other sites More sharing options...
Guest Posted August 27, 2005 Share Posted August 27, 2005 i've tried tables in the product text in the admin page. but for some reason the text size changes to become bigger than what it was and it also leaves a huge space from the top of the table to the postion of the first line of the text! not sure why! Link to comment Share on other sites More sharing options...
Guest Posted August 27, 2005 Share Posted August 27, 2005 the html elements can be affected by the css class that preceds them. So in the previous example you could have in the table cells something like this for the text size <td class="smallText"><b>Cell 1</b></td> <td class="smallText">Description</td> Link to comment Share on other sites More sharing options...
Guest Posted August 27, 2005 Share Posted August 27, 2005 thanks but it still doesn't explain why i am getting a large space. here is an page example: http://www.deviltronics.com/product_info.p.../products_id/57 here is what i am using as code(as you can see i stil need to make the other text smaller): <DIV align="center"><TABLE> <MENU> <tr><font color="#0000ff">Features flash LEDs on front and 3 Cooling Fans for Better Ventilation.</font></tr> <tr><TD class="smalltext"><LI type="square">Manufacturer:</TD><td><font color="#0000ff">Generics</font></td></tr> <br> <tr><TD class="smallText"><LI type="square">Product:</TD><td><font color="#0000ff">Tsunami Living Case Flex/Micro ATX 200W PSU Red/Black/White</font></td></tr> <br> <tr><TD><LI type="square">Form Factor:</TD><td><font color="#0000ff">Micro ATX</font></td></tr> <br> <tr><TD><LI type="square">PSU:</TD><td><font color="#0000ff">200W</font></td></tr> <br> <tr><TD><LI type="square">Side Window:</TD><td><font color="#0000ff">No</font></td></tr> <br> <tr><TD><LI type="square">5.25" Bays:</TD><td><font color="#0000ff">2</font></td></tr> <br> <tr><TD><LI type="square">3.5" Bays (Exposed):</TD><td><font color="#0000ff">2</font></td></tr> <br> <tr><TD><LI type="square">3.5" Bays (Hidden):</TD><td><font color="#0000ff">0</font></td></tr> <br> <tr><TD><LI type="square">Expansion Slots:</TD><td><font color="#0000ff"></font></td></tr> <br> <tr><TD><LI type="square">Front USB Ports:</TD><td><font color="#0000ff">0</font></td></tr> <br> <tr><TD><LI type="square">Front Audio Ports:</TD><td><font color="#0000ff">0</font></td></tr> <br> <tr><TD><LI type="square">Front Firewire Ports:</TD><td><font color="#0000ff">0</font></td></tr> <br> <tr><TD><LI type="square">Internal Fan Space:</TD><td><font color="#0000ff">3</font></td></tr> <br> <tr><TD><LI type="square">Screwless:</TD><td><font color="#0000ff">No</font></td></tr> <br> <tr><TD><LI type="square">Dimensions(WxHxD):</TD><td><font color="#0000ff">410x136x434 mm</font></td></tr> </MENU> </table> </div> Link to comment Share on other sites More sharing options...
Guest Posted August 27, 2005 Share Posted August 27, 2005 I think its because the variables cellspacing and cellpadding are not set in your html. See the generated source and these table definitions: <td><table border="0" width="100%" cellspacing="" cellpadding="" class="infoBox"> Link to comment Share on other sites More sharing options...
Guest Posted August 27, 2005 Share Posted August 27, 2005 I think its because the variables cellspacing and cellpadding are not set in your html. See the generated source and these table definitions: <td><table border="0" width="100%" cellspacing="" cellpadding="" class="infoBox"> <{POST_SNAPBACK}> sorted it need to take all the <br> codes out! another thing that has taken me all day! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.