PDA

View Full Version : Text Positioning



gtknjgh
11 Jun 2008, 10:04 PM
Hi. I laid out a page in GoLive. Unfortunately, that program used pixel co-ordinates to position text on the page. It looks OK in Internet Explorer, but Firefox and Opera mess up the formatting. I'm not sure how to move the "your computer" line away from the "I can help" one without doing a massive rewrite of the code: http://home.comcast.net/~richmaxw/ad/ad2.htm. Thanks for any help.

Wickham
12 Jun 2008, 02:58 AM
Use a p tag inside the td cell with a margin-top for the lower p tag to create space:-
<table>
<tr>
<td><img
src="http://home.comcast.net/~richmaxw/images/ad/TC00507-
PI23.png"></td>
<td valign="top"><font color=""><p>NEED
HELP WITH</p></font><!--<br /><br /> br tags not needed-->
<p style="margin-top: 200px">YOUR
COMPUTER?</p>
</td>
</tr>
</table>

and remember to close the table tag like I have.

A tutorial may help you, there are links to some here:-
http://www.wickham43.supanet.com/tutorial/links.html

You need to add a doctype above the <html> tag and some meta tags in the head section, especially a charset for character type.

Check for errors with a validator (link in my link above).