Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

webspeed with html centering an image

Status
Not open for further replies.

mak2112

IS-IT--Management
Aug 8, 2001
46
I am using Progress 9.1(i believe) and am trying to include some HTML coding within. I cannot seem to figure out how to centre an image.

i have tried to align="middle"
align="absmiddle"
i have even tried the old fashion <center></center>

thanks
 
middle is used for vertical alignment, ie VALIGN=&quot;MIDDLE&quot;. For horizontal alignment use ALIGN=&quot;CENTER&quot; (American spelling!). Centering (or centring!) only works within the surrounding HTML box so if you are trying to put the image in a table and not explicitly making the table and cells larger than the image you will find that the cell may only be the same size as your image, so it will give the appearance of not having been centred. Note that even if you do allocate space, if the surrounding table cell is being squeezed by the contents of other cells some browsers will reallocate the widths of cells as they see fit when something doesn't quite fit and the image doesn't appear quite where you expected it to... Oh the delights of browsers... :-( Paul McFedries wrote an excellent HTML beginners book called &quot;An Idiot's Guide to HTML4&quot; or something like that. It's in an orange cover. I found it very useful when I started HTML.
 
Thanks but that was not what i was looking for. HTML code does not always work with webspeed. I had to actually define it in webspeed and then define where i wanted the code to be placed on the page. Unfortunately HTML does not interact very well with Progress, Webspeed, and sometimes you need to input HTML codes, while others you need to input Progress style codes. This was the case to this problem. I needed the progress code as opposed to the HTML code. Thanks anyways.

marc
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top