NamePros
Welcome, Guest! Ready to make a name for yourself in the domain business? We welcome both the hobbyist and professional domainer to join the discussion as part of the NamePros community.

Click here to create your profile to start earning reputation for posting, and trader ratings for buying & selling in our free e-marketplace. Build your trader rating with each successful sale. Our system has tracked over 100,000 sales and counting!
FAQ & TOS Register Search Today's Posts Mark Forums Read

Go Back   NamePros.com > Website Development Discussion Forums > Web Design Discussion
Reload this Page CSS positioning issue...

Web Design Discussion Discussion of web design techniques, advice, browser issues, software, design firms.

Advanced Search
9 members in live chat ~  
NamePros Design Contests NamePros Design Contests
Forum Sponsorship
Join in on the FUN! You can start an affordable design contest and pick from entries talented members submit or you can enter a design contest for a chance to win CASH PRIZES! What are you waiting for? Get started in the fun TODAY! - Banners, Logos, Mascots, and MORE! (Please READ the design Contest section rules Prior to starting or entering a contest)



Closed Thread
 
LinkBack Thread Tools
Old 05-01-2005, 10:21 AM THREAD STARTER               #1 (permalink)
New Member
 
TouCHiNG_CLoTH's Avatar
Join Date: Apr 2005
Location: Tyne & Wear, UK
Posts: 8
TouCHiNG_CLoTH is an unknown quantity at this point
 



CSS positioning issue...


Hi everyone,

I was just wondering if anybody out there can help me with a problem I'm having with CSS positioning?
????: NamePros.com http://www.namepros.com/web-design-discussion/86714-css-positioning-issue.html

http://www.johnpaterson.org/test/index.html
http://www.johnpaterson.org/test/jpstyle1.css

Can anybody tell me why the light grey border at the bottom does not meet the rest of the site?

There is a big unwanted dark grey panel, this is not part of the website.

The site is just my experimentation with CSS positioning.

Cheers,
John
__________________
Composer | Sound Designer | Producer
http://www.johnpaterson.org
TouCHiNG_CLoTH is offline  
Old 05-01-2005, 02:42 PM   #2 (permalink)
Senior Member
 
Brian's Avatar
Join Date: Sep 2003
Location: Charlottesville Virginia
Posts: 2,317
Brian is a splendid one to beholdBrian is a splendid one to beholdBrian is a splendid one to beholdBrian is a splendid one to beholdBrian is a splendid one to beholdBrian is a splendid one to beholdBrian is a splendid one to beholdBrian is a splendid one to behold
 




Code:
#textarea
{	
	height: 480px;
	width: 620px;
	background-color: #FFFFFF;
	position: relative;
	left: 100px;
	bottom: 480px;
}
problems arise with the 480px bottom, cause thats exactly how much space is between the two elements, don't have time to fiddle with it to get it working right now, cause i gotta go. Will take a shot at it when i get home, unless someone has already helped you out before then.
Brian is offline  
Old 05-01-2005, 06:21 PM   #3 (permalink)
NamePros Regular
 
Rowan W's Avatar
Join Date: Dec 2004
Location: QLD, Australia
Posts: 713
Rowan W will become famous soon enough
 



The links were pushing the content down. So how do you stop an element pushing another one? Float it over the top.

Code:
#links
{
	height: 480px;
	width: 100px;
	position: static;
	background-color: #CCCCCC;
float:left;
}

#textarea
{	
	height: 480px;
	width: 620px;
	background-color: #FFFFFF;
	position: relative;
	left: 100px;
}
I haven't checked this in IE yet so you'd better check.
Rowan W is offline  
Old 05-02-2005, 10:57 AM THREAD STARTER               #4 (permalink)
New Member
 
TouCHiNG_CLoTH's Avatar
Join Date: Apr 2005
Location: Tyne & Wear, UK
Posts: 8
TouCHiNG_CLoTH is an unknown quantity at this point
 



Rowan, thanks very much for your input.

I figured out that the 'float: left; command was needed in the #links section. But that was not enough...

I had to include 'top: 0px;' in the #textarea section and I had to change the positioning of the links section from static to absolute in order for the page to work in both Firefox and IE5/6.

Thanks again Rowan, all is well now. Now to commence with my learning of CSS positioning..........well, after the snooker

Cheers,
J
__________________
Composer | Sound Designer | Producer
http://www.johnpaterson.org
TouCHiNG_CLoTH is offline  
Old 05-03-2005, 06:16 PM   #5 (permalink)
NamePros Member
Join Date: May 2005
Location: Osaka, Japan
Posts: 37
df-sean is an unknown quantity at this point
 



Just in case you don't already know about it. There are lots of insanely useful CSS tutorials here:
http://www.alistapart.com

Here's a nice one for CSS layout ideas:
http://www.alistapart.com/articles/practicalcss/
__________________
:::: Â*DataFly.Net Â*::::
Rock-Solid Linux Web Hosting

http://www.datafly.net
df-sean is offline  
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
CSS Layout Issue In I.E. (figures) XX7509 Web Design Discussion 3 03-25-2005 11:34 PM
div positioning + css + IE problem? countcobolt Programming 0 12-22-2004 06:55 AM
Mozilla/Firefox (css) width: 100%; issue. FieroGT Web Design Discussion 3 08-07-2004 12:06 AM
CSS positioning :( gwx Programming 6 12-30-2003 12:31 PM
CSS help please... positioning issue ivcho Programming 7 02-11-2003 03:23 PM

 
All times are GMT -7. The time now is 07:25 PM.

Domain name forum recommended by Domaining.com Powered by: vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.6.0 Ad Management plugin by RedTyger