Adjust height for MAINCONTAINER

Hi all,
i have built my website on wobbly.com. i iused one of thier templates which i adjusted using the css.
i am stuck on trying to make the heioght of the main container shorter. it is too long.
in the css i tried to add a height; 400px; and height; 50%; line but nothing happens.

here is what i see

.container,
.main-container {
width: 770px;
margin: 0 auto;
}

.main-container {
position: relative;
top: -50px;

any ideas on how i can do this?

thanks in advance !

Text columns with CSS

Hi there, I'm new here so take it easy on me! Smile

Ok so I'm trying to create 3 columns of text with css and thus far i've come across the following code:

.three-col {
       -moz-column-count: 3;
       -moz-column-gap: 20px;
       -webkit-column-count: 3;
       -webkit-column-gap: 20px;
}

and the html is like this:

How do i make this code capable in php?

<div id="idag" align="center"><p>I dag har foreningen eksisteret i 
<%=DateDiff("yyyy",#1858-03-21#,#2014-01-01#)%>
 år og 
<% 'Noter at der er fratrukket 20 dage fra dage. Detta må korrigeres vid skudår!' %> 
<%=DateDiff("d",#2014-01-22#,now)%> dage</p></div>

Trouble with a CSS table layout

Hi there,

I have created a table via CSS that I like but I can't get them to sit next to each other rather than underneath each other.
I did it at some point in the past but can't for the life of me work out how I did it. Lost the custom code in a site backup restore.

My brain maybe being slightly frazzled from redoing everythign but any help would be greatly appreciated.

Here is the page
http://enjoythewater.ky/services-rates/

Here is the page code:

<div id="pricelist">
<h2>1 Day of Diving</h2>
<ul id="prices">
	<li><a href="#">2 Tank Dive $105</a></li>

Getting my text to line up right

In the following site I have an image at the top left of the screen and a black bar that the same height in pixels as the picture but that extends all the way to the right of page. I also want to be able to place some text in the center of the black bar, so it would be half way between the image and the right side of the browser and in the middle vertically of the black bar. My problem is that when I wrap my text up in my div it goes away completely, and my bar extends past the right side of the screen creating the horizontal side bar at the bottom of browser. Any ideas?

CSS

Syndicate content