Two Texts Aligned to Seperate Edges

This is a discussion on "Two Texts Aligned to Seperate Edges" within the Web Page Design section. This forum, and the thread "Two Texts Aligned to Seperate Edges are both part of the Design Your Website category.


 Subscribe in a reader

Go Back   Webforumz.com > Main Forums > Design Your Website > Web Page Design

Notices




Reply
 
LinkBack Thread Tools
  #1  
Old Jul 21st, 2005, 04:11
Junior Member
Join Date: Jun 2005
Location: United States of America
Posts: 30
Thanks: 0
Thanked 0 Times in 0 Posts
Two Texts Aligned to Seperate Edges

Dear WebForumz Members:

I would like to have some text aligned to the left side of the screen while at the same time have another thing of text on the same line aligned to the right side of the screen. I've tried using tables and setting the width attribute to "100%," however, I am using CSS to create columns and therefore 100% isn't actually 100%... I need 100% minus 150px. Is there any method you can think of to do this? I have listed the webpage URL below:

http://WiseWizards.tripod.com/Webmasters.html

*** I currently have the table with a width attribute of "80%." ***

Regards,
Mike
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote

  #2  
Old Jul 21st, 2005, 21:43
herkalees's Avatar
Highly Reputable Member
Join Date: Jul 2005
Location: Massachusetts, USA
Age: 87
Posts: 576
Thanks: 0
Thanked 0 Times in 0 Posts
This should do it...

Here you go:

This is the CSS:
Code: Select all
#wrapper {width:100%;}
#left {float:left;}
#right {float:right;}
And here is the HTML:
Code: Select all
<div id="wrapper">
<span id="left">Left Text</span><span id="right">Right Text</span>
</div>
While this is pretty basic, it does what you requested. Try it out and let us know how it works.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3  
Old Jul 22nd, 2005, 02:01
Junior Member
Join Date: Jun 2005
Location: United States of America
Posts: 30
Thanks: 0
Thanked 0 Times in 0 Posts
Thank you very much for your help! I will try out the code and be sure to reply if I have any questions, problems, etc.

Regards,
Mike
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #4  
Old Jul 23rd, 2005, 02:24
herkalees's Avatar
Highly Reputable Member
Join Date: Jul 2005
Location: Massachusetts, USA
Age: 87
Posts: 576
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by WiseWizards
Thank you very much for your help! I will try out the code and be sure to reply if I have any questions, problems, etc.

Regards,
Mike
You're welcome :wink:
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #5  
Old Jul 23rd, 2005, 06:36
Junior Member
Join Date: Jun 2005
Location: United States of America
Posts: 30
Thanks: 0
Thanked 0 Times in 0 Posts
Success! Thank you again for your help, the script worked perfectly! ^_^

Regards,
Mike
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Tags
two, texts, aligned, seperate, edges

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
Photoshop question - how do you add moonlit highlights to cloud edges in a night sky? Gerry Graphics and 3D 2 May 4th, 2008 00:00
Changing Content On A Seperate Page josephman1988 Other Programming Languages 0 Sep 20th, 2007 13:42
Remove white from around edges? rxsid Graphics and 3D 7 Dec 13th, 2006 09:57
a seperate domain for my forums(?)... prime Hosting & Domains 4 Aug 16th, 2006 15:05


All times are GMT. The time now is 20:30.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization 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