Why does text start at the middle of the page?  | |
December 21st, 2005, 07:42 PM
|
#1 (permalink)
| | Junior Member
Join Date: Nov 2005
Posts: 17
| Why does text start at the middle of the page?
After saving a website for web with photoshop, I open the html with dreamweaver. I delete the box where I will put my text and apply an image as the background image. Now the problem is that when I want to type something the typing cursor appears at the center of the page. I DO NOT mean this: TESTING
I mean that lengthwise, the text seems to start half way down the text box. Any way to change this so that the text can be typed at the top of the page? Thanks to all. |
| |
December 22nd, 2005, 04:30 AM
|
#2 (permalink)
| | Senior Member
Join Date: May 2003 Location: Aus, Gold Coast :)
Posts: 802
|
hmmm it seems the size of the Text box is set to something like Code:
<input type="text" size=15> and u have expanded the box in dreamweaver as in to hold more but it will only hold 15 therefore starting in the middle, try changing that to 500 or something... i hope that is the problem |
| |
December 22nd, 2005, 09:08 AM
|
#3 (permalink)
| | Ultimate Member
Join Date: Jun 2002 Location: Ohio
Posts: 1,349
|
In the text cell, try to add the attributes align="left" and valign="top"
__________________
23. That's the number of people Mr. T has pitied in the time it has taken you to read this sentence.
|
| |
December 22nd, 2005, 07:05 PM
|
#4 (permalink)
| | Junior Member
Join Date: Nov 2005
Posts: 17
|
actually I'm talking about text in a table format, not a text box. I tried adding those attributes but, Dreamweaver gives me an error that they are invalid markups. |
| |
December 22nd, 2005, 07:59 PM
|
#5 (permalink)
| | Senior Member
Join Date: May 2003 Location: Aus, Gold Coast :)
Posts: 802
|
so u have
<table>
<tr>
<td valign="bottom">Insert Text Here</td>
</tr>
<table> |
| |
December 22nd, 2005, 08:05 PM
|
#6 (permalink)
| | Junior Member
Join Date: Nov 2005
Posts: 17
| |
| |
December 23rd, 2005, 01:45 AM
|
#7 (permalink)
| | Senior Member
Join Date: May 2003 Location: Aus, Gold Coast :)
Posts: 802
| Code: <tr>
<td rowspan="10">
<img src="images/temp1_37.gif" width="9" height="807" alt=""></td>
<td colspan="19" rowspan="9" background="images/temp1_38.gif">TESTING</td>
<td>
<img src="images/spacer.gif" width="1" height="25" alt=""></td>
</tr> in reference to that part of the HTML code, remove the rowspan 10??? |
| |
December 24th, 2005, 09:16 AM
|
#8 (permalink)
| | Ultimate Member
Join Date: Jun 2002 Location: Ohio
Posts: 1,349
| Quote: |
Originally Posted by rbhai actually I'm talking about text in a table format, not a text box. I tried adding those attributes but, Dreamweaver gives me an error that they are invalid markups. | Are you sure? Here's what I meant Code: <tr>
<td rowspan="10">
<img src="images/temp1_37.gif" width="9" height="807" alt=""></td>
<td colspan="19" rowspan="9" background="images/temp1_38.gif" valign="top">TESTING</td>
<td>
<img src="images/spacer.gif" width="1" height="25" alt=""></td>
</tr> |
| |
December 26th, 2005, 08:13 PM
|
#9 (permalink)
| | Junior Member
Join Date: Nov 2005
Posts: 17
|
It worked! Can't thank you enough for the help!  |
| | | Thread Tools | Search this Thread | | | | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | | | | Most Active Discussions | | | | | Recent Discussions  | | | | | |