positioning text freely

This is a discussion on "positioning text freely" within the Starting Out section. This forum, and the thread "positioning text freely 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 Mar 18th, 2007, 18:38
Junior Member
Join Date: Feb 2007
Location: mississippi
Age: 29
Posts: 28
Thanks: 5
Thanked 0 Times in 0 Posts
Thumbs up positioning text freely

I am having trouble with positioning.

One complicating factor is that I have two background images and I'm not sure how to place one image on top of the other.

I would like my name, that you see at top, to be just above and on the right of the yellow box.

Should I be looking into layers?

Thanks
Reply With Quote

  #2 (permalink)  
Old Mar 18th, 2007, 18:42
Junior Member
Join Date: Feb 2007
Location: mississippi
Age: 29
Posts: 28
Thanks: 5
Thanked 0 Times in 0 Posts
Exclamation Re: positioning text freely

Oops, forgot to give the website.
http://digitizeyourdigits.com/aaron.html
Reply With Quote
  #3 (permalink)  
Old Mar 18th, 2007, 21:39
BGarner's Avatar
Reputable Member
Join Date: Oct 2006
Location: In front of the computer.
Posts: 213
Thanks: 0
Thanked 0 Times in 0 Posts
Re: positioning text freely

Ok,

Here's some code for you...

CSS - save this as "main.css"
Code: Select all
* {
  margin: 0;
  padding: 0;
}

body {
  background-image: url(pat.gif);
}

div#wrapper {
  background-image: url(page.jpg);
  margin: 0 auto; /*CENTERS IMAGE*/
}
HTML
HTML: Select all
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<html lang="en">

<head>
<link rel="StyleSheet" href="main.css" type="text/css" />
</head>

<body>
</body>

</html>
Hopefully that works.
As far as the text, just go into your picture editing program and type it in on top of the picture. It's the easier option.
Reply With Quote
  #4 (permalink)  
Old Mar 19th, 2007, 20:29
Junior Member
Join Date: Feb 2007
Location: mississippi
Age: 29
Posts: 28
Thanks: 5
Thanked 0 Times in 0 Posts
Re: positioning text freely

Thanks,
I think I'm starting on the right foot now.

However the page.jpg file is not showing up. I have it saved in the same folder as everything else.
Reply With Quote
Reply

Tags
layer, position, text, top

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
making text field text disapear Phixon JavaScript Forum 4 Feb 2nd, 2008 07:49
[SOLVED] Image with text -&gt; text with background alexgeek Web Page Design 5 Nov 13th, 2007 23:25
Text Positioning Problems Ed Web Page Design 15 Oct 8th, 2007 03:09
Positioning Text, Links and Images DregondRahl Web Page Design 4 Jun 7th, 2007 11:34
alt text/title text differences Donny Bahama Web Page Design 3 Apr 23rd, 2007 17:02


All times are GMT. The time now is 01:40.


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