Quick Login   
 
Register AdminFusion Tutorials
 
Featured Sponsors


One.com Domain and Hosting


Register
Forum of the Month
Australian Webmaster
fotm

A webmaster forum specifically catering for Australian site owners. We discuss site development, marketing and management issues.

Tag Cloud
Latest Threads
Forum Stats
8,063 Members
165,817 Posts
38 Users Online

Please welcome our newest member, conorod!

Affiliates
Go Back AdminFusion » The Break Room » Off Topic » CSS Problems
Welcome to the AdminFusion. AdminFusion is the ultimate resource for forum administrators and moderators. With exclusive articles, interviews with the experts, free downloadable skins, and the revolutionary post exchange system - PostFusion, AdminFusion is the place to go for all of your forum needs.  By joining AdminFusion, you will become part of a thriving admin community and immediately gain access to all of these resources. Registration is fast, simple and absolutely free so please join us today!
Want more than our forums? Try these: Post Fusion Forum Matrix
Old 12-10-2006, 12:37 AM   #1

Title: Lurker

Points: 967, Level: 8Points: 967, Level: 8Points: 967, Level: 8
Level up: 9%, 183 Points neededLevel up: 9%, 183 Points neededLevel up: 9%, 183 Points needed
Activity: 0%Activity: 0%Activity: 0%

Join Date: Dec 2006

Posts: 0

Steve887 is on a distinguished road
 
 
CSS Problems

Hi everyone,

I am in the process of designing a website using CSS and <div> tags for the layout and have run into a couple problems, any assistance would be appreciated.

First off, I wish to put two different images on the left and right sides of the screen, extending to the bottom. I can position the left one correctly, but am having trouble with the right.

http://img241.imageshack.us/img241/3...itecopyfp2.jpg. This is a mockup I did in Photoshop, the shadows to the left and right of screen are what I'm trying to achieve.

The CSS I have so far that I believe doesn't work:

For some reason they're not showing up at all now.

Code:
#LeftShadow
{
	width: 50px;
	background-image: url(images/left.jpg);
	background-repeat: repeat-y;
	background-position: 28px;
	height: 100%;
	float: left;
}

#RightShadow
{
	width: 50px;
	background-image: url(images/right.jpg);
	background-repeat: repeat-y;
	height: 100%;
	background-position: 100px;
	float: right;
}
And the actual HTML:

Code:
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
	<title></title>
</head>

<body bgcolor="#eeeef0">
	
	<form id="Main" runat="server">
	
	<div id="LeftShadow">
	<div id="RightShadow">

...Rest of Code...

	</div>
	</div>
	</form>
</body>
</html>
Secondly, as can be seen from the above picture, I have a 3 column layout with a footer. All three columns are fixed widths, but I wish for them all the be the same height, so that they are all the height of the column with the longest amount of content. I have read several articles of Feux tables and such, but they are quite confusing and a simple answer would be good.

Again, the CSS for the column section:

Code:
#LeftCol
{
	position: absolute;
	top: 360px; left: 75px;
	background-color: #a8b0b3;
	width: 157px;
	height: auto;
}


#CentreCol
{
	position: absolute;
	top: 360px; left: 232px;
	background-color: #ffffff;
	width: 536px;
	height: auto;

}

#RightCol
{
	position: absolute;
	top: 360px; left: 768px;
	background-color: #a8b0b3;
	width: 157px;
	height: auto;
}
And the relevent section of HTML code:

Code:
		<div id="LeftCol">
			blah blah blah
		</div>
		
		<div id="CentreCol">
			blah blah blah
		</div>
		
		<div id="RightCol">
			   blah blah blah
		</div>
Again, any assistance would be appreciated.

Thanks in advance.
Reply With Quote
Old 12-10-2006, 03:20 AM   #2

DrkSnpr14's Avatar

Title: Veteran

Points: 5,514, Level: 21Points: 5,514, Level: 21Points: 5,514, Level: 21
Level up: 22%, 36 Points neededLevel up: 22%, 36 Points neededLevel up: 22%, 36 Points needed
Activity: 0%Activity: 0%Activity: 0%

Join Date: Sep 2006

Posts: 920

Location: Alberta Canada

DrkSnpr14 is a glorious beacon of lightDrkSnpr14 is a glorious beacon of lightDrkSnpr14 is a glorious beacon of lightDrkSnpr14 is a glorious beacon of lightDrkSnpr14 is a glorious beacon of lightDrkSnpr14 is a glorious beacon of light
Send a message via MSN to DrkSnpr14  
 
I'm certainly no expert, but the CSS for my borders are like so:

Quote:
.borderleft { background-image: url(http://img222.imageshack.us/img222/6...rleftwk7.gif); background-repeat: repeat-y; padding: 0px; background-position: right; }
.borderright { background-image: url(http://img137.imageshack.us/img137/8...rightrl0.gif); background-repeat: repeat-y; padding: 0px; background-position: left; }
I suspect your background position value should be left or right, instead of 100px
Reply With Quote
Old 12-10-2006, 03:24 AM   #3

RedMatrix's Avatar

Title: Gas 1.43

Points: 25,494, Level: 48Points: 25,494, Level: 48Points: 25,494, Level: 48
Level up: 49%, 56 Points neededLevel up: 49%, 56 Points neededLevel up: 49%, 56 Points needed
Activity: 0%Activity: 0%Activity: 0%

Join Date: Feb 2006

Posts: 3,984

Location: back in TX

RedMatrix has a reputation beyond reputeRedMatrix has a reputation beyond reputeRedMatrix has a reputation beyond reputeRedMatrix has a reputation beyond reputeRedMatrix has a reputation beyond reputeRedMatrix has a reputation beyond reputeRedMatrix has a reputation beyond reputeRedMatrix has a reputation beyond reputeRedMatrix has a reputation beyond reputeRedMatrix has a reputation beyond reputeRedMatrix has a reputation beyond reputeRedMatrix has a reputation beyond reputeRedMatrix has a reputation beyond reputeRedMatrix has a reputation beyond repute
Send a message via ICQ to RedMatrix Send a message via MSN to RedMatrix  
 
WHen you say shadow, what exactly do you mean? Is it the darkened areas on the bottom left right, or the lighter BORDER-pillars to the left and right? I can't really help you if you don't explain this to me.

PS: welcome to AF!
__________________
I went to Vegas, and all I got was this Blister. - true story!
Reply With Quote
Old 12-10-2006, 03:59 AM   #4

Title: Lurker

Points: 967, Level: 8Points: 967, Level: 8Points: 967, Level: 8
Level up: 9%, 183 Points neededLevel up: 9%, 183 Points neededLevel up: 9%, 183 Points needed
Activity: 0%Activity: 0%Activity: 0%

Join Date: Dec 2006

Posts: 0

Steve887 is on a distinguished road
 
 
Quote:
Originally Posted by DrkSnpr14 View Post
I suspect your background position value should be left or right, instead of 100px
I have 100px so its in a little from the side, rather than right up against the edge, but I'll give it a try.

Quote:
Originally Posted by RedMatrix View Post
WHen you say shadow, what exactly do you mean? Is it the darkened areas on the bottom left right, or the lighter BORDER-pillars to the left and right? I can't really help you if you don't explain this to me.
Yes, the border pillars that start a darker grey and fade out to white at the left and right.

Quote:
PS: welcome to AF!
Cheers, I'll probably be hanging around here for a while yet and annoying everyone with the things I can't do with this site.
Reply With Quote
Old 12-10-2006, 08:21 AM   #5

RedMatrix's Avatar

Title: Gas 1.43

Points: 25,494, Level: 48Points: 25,494, Level: 48Points: 25,494, Level: 48
Level up: 49%, 56 Points neededLevel up: 49%, 56 Points neededLevel up: 49%, 56 Points needed
Activity: 0%Activity: 0%Activity: 0%

Join Date: Feb 2006

Posts: 3,984

Location: back in TX

RedMatrix has a reputation beyond reputeRedMatrix has a reputation beyond reputeRedMatrix has a reputation beyond reputeRedMatrix has a reputation beyond reputeRedMatrix has a reputation beyond reputeRedMatrix has a reputation beyond reputeRedMatrix has a reputation beyond reputeRedMatrix has a reputation beyond reputeRedMatrix has a reputation beyond reputeRedMatrix has a reputation beyond reputeRedMatrix has a reputation beyond reputeRedMatrix has a reputation beyond reputeRedMatrix has a reputation beyond reputeRedMatrix has a reputation beyond repute
Send a message via ICQ to RedMatrix Send a message via MSN to RedMatrix  
 
Let me know if this helps...

Why not put the whole thing inside a division, and have the border set to display thick, and then superimpose your gradient.

border-left: 30px solid grey url(/images/left.jpg);
border-right: 30px solid grey url(/images/right.jpg);
__________________
I went to Vegas, and all I got was this Blister. - true story!
Reply With Quote
Old 12-10-2006, 11:39 AM   #6

Title: Lurker

Points: 967, Level: 8Points: 967, Level: 8Points: 967, Level: 8
Level up: 9%, 183 Points neededLevel up: 9%, 183 Points neededLevel up: 9%, 183 Points needed
Activity: 0%Activity: 0%Activity: 0%

Join Date: Dec 2006

Posts: 0

Steve887 is on a distinguished road
 
 
It's not the actual border that's the problem, but the positioning of it.
Reply With Quote
Old 12-10-2006, 12:47 PM   #7

RedMatrix's Avatar

Title: Gas 1.43

Points: 25,494, Level: 48Points: 25,494, Level: 48Points: 25,494, Level: 48
Level up: 49%, 56 Points neededLevel up: 49%, 56 Points neededLevel up: 49%, 56 Points needed
Activity: 0%Activity: 0%Activity: 0%

Join Date: Feb 2006

Posts: 3,984

Location: back in TX

RedMatrix has a reputation beyond reputeRedMatrix has a reputation beyond reputeRedMatrix has a reputation beyond reputeRedMatrix has a reputation beyond reputeRedMatrix has a reputation beyond reputeRedMatrix has a reputation beyond reputeRedMatrix has a reputation beyond reputeRedMatrix has a reputation beyond reputeRedMatrix has a reputation beyond reputeRedMatrix has a reputation beyond reputeRedMatrix has a reputation beyond reputeRedMatrix has a reputation beyond reputeRedMatrix has a reputation beyond reputeRedMatrix has a reputation beyond repute
Send a message via ICQ to RedMatrix Send a message via MSN to RedMatrix  
 
Did you even try it?

Besides, AF is for forum building, not website building. We're not that versed
__________________
I went to Vegas, and all I got was this Blister. - true story!
Reply With Quote
Reply



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

 
Posting Rules

Similar Threads
Thread Thread Starter Forum Replies Last Post
Computer Problems: Need Help! htmlmaster Off Topic 18 08-06-2006 01:29 PM
Ryan, what kind of tech problems you having? Jemrada Off Topic 3 04-21-2006 08:16 AM
Advice Please - Problems encountered whilst doing my first bit of paid work imported_Link Graphics and Design 0 04-20-2006 08:14 PM
Forum Problems ORACLE Graphics and Design 4 04-16-2006 09:52 PM

AdminFusion

All times are GMT +1. The time now is 04:38 AM. Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.1.0 © 2005-2008 AdminFusion - All Rights Reserved


From:
Title:

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 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72