Home > Microsoft Access Help > HTML Tags in Query Field

HTML Tags in Query Field



Hi,



I have a databse that holds details on faults we have on our network, and a set of web pages to list all of those faults.



When i add a fault to the database it adds it to the web pages itself.. i do this by using a macro to export the query to a HTML file.



But i need the columbs of the web page to be at a set width, ive been told i need to insert HTML tags into the field of the query to set the Width..



I've tried the following but have had no Joy:-



Fault Name: "<td width=100>" & [NameOfFirstField] & "</td>



Any help would be great.



Thanks



Robbie

    
Guest


That is the correct way to set the column width. There could be something else that is keeping it from working. I would have to see the html page. Try giving the table a width of 100%.



<table width="100%>

<tr>

<td width="80%"></td>

<td width="20%"></td>

</tr>

</table>



You can leave out the percentage sign and it will be pixels.

Was this answer helpful ? Yes No   
Guest
 
 
Home - About Infoqu - Contact - Privacy Statement - Link to Infoqu - Bookmark Infoqu

Copyright 2007-2008 by Infoqu. All rights reserved