Moving Text

This is a discussion on "Moving Text" within the Starting Out section. This forum, and the thread "Moving Text are both part of the Design Your Website category.



Go Back   Webforumz.com > Main Forums > Design Your Website > Starting Out

Notices


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old May 12th, 2007, 17:40
New Member
Join Date: May 2007
Location: Derby, England
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Moving Text

Hi i'm new to web design and am using Dreamweaver 8.

In Dreamweaver when i use an image as a background and want to add text over the image, i simply create a layer and add text.

BUT the problem i get is when i view it in any web browser, the text moves around the page.

Can anyone tell me what i'm doing wrong ?
Reply With Quote

  #2 (permalink)  
Old May 12th, 2007, 19:04
SuperMember

SuperMember
Join Date: Sep 2006
Location: Pink House
Posts: 3,946
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Moving Text

I've never been successful using layers in Dreamweaver. I think you have to position every layer absolute.

You are better off learning xhtml/css and hand coding the site yourself.
If you are using tables... which you shouldn't be , you make the photo the background of the table cell and add text in the table cell.
Code: Select all
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td background="back_dots.jpg">Text goes here. </td>
  </tr>
</table>
For xhtml the html code would look like this
Code: Select all
<div id="textarea"><p>Your text goes here</p></div>
css would look like
Code: Select all
#textarea {	
	width: 700px;
	height: 300px;
	background: url(image.gif) repeat 0px 0px;
	}
Reply With Quote
  #3 (permalink)  
Old May 13th, 2007, 10:24
New Member
Join Date: May 2007
Location: Derby, England
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Moving Text

Hi,

Thanks for the codes, but the text still moves !
Reply With Quote
  #4 (permalink)  
Old May 13th, 2007, 12:08
SuperMember

SuperMember
Join Date: Sep 2006
Location: Pink House
Posts: 3,946
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Moving Text

You need to stop using layers. That's not an option. There are many resources in the stickies in the beginner's forum. I would suggest that you handcode. It's sweet!
Reply With Quote
  #5 (permalink)  
Old May 13th, 2007, 13:56
acrikey's Avatar
SuperMember

SuperMember
Join Date: Mar 2007
Location: UK
Posts: 305
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Moving Text

CSS link

Moojoo's CSS Layouts
Reply With Quote
Reply

Tags
dreamweaver, moving text, text

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
moving text new bee Starting Out 6 Sep 19th, 2007 22:06
Moving Ryan Fait Webforumz Cafe 36 Jun 12th, 2007 22:55
Header text moving positions in IE & FF Pickle Web Page Design 9 Jan 19th, 2006 23:11


All times are GMT. The time now is 11:23.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43