Reply
Frustrated with CSS and DIV
Old 04-05-2004, 11:36 AM Frustrated with CSS and DIV
Junior Talker

Posts: 2
I've got one simple problem with my layout, here's the site:

http://mahrishi3.tripod.com/Rubix/

The content boxes on the right need to be pushed up to the top, aligned with the box on the left, but for some reason they're always vertically centered, even if I add more boxes....

*Yes, please ignore the tripod ads for right now, i'm going to get a better host soon*

The external css file:

Code:
body {
	background-color: #FFFFFF;
	background-image: url(images/background.gif);
	margin: 0 auto;
	padding: 0 ;
}
#border{
	width: 780px;
	background: #FFF;
	border: solid 1px #666666;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 20px;
	margin-top: 20px;
}
#header{
display: block;
width: 780px;
height: 160px;
background: url(images/top_nav_01.jpg);
padding: 0px;
margin: 0px;
}
#nav{
display: block;
width: 780px;
height: 30px;
background: url(images/nav_buttons.jpg);
padding: 0px;
margin: 0px;
}
#center{
	text-align: center;
}
#boxback{
	background:repeat-x url(images/box_bg.png);
	border:#cccccc 1px solid;
	margin: 0 auto;
	padding:4px;
	width: auto;
}
#box{
	border: 1px solid #DDDDDD;
	width: auto;
	margin: 0 auto;
	padding: 5px;
	text-align: left;
	background-color: #FBFBFB;
}
#lefter{
	padding: 20px 15px 0 15px;
	text-align: left;
}
td {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size : 10px;
	color : #770404;
	font-weight : normal;
}

th {
	font-family: Verdana, Arial, Helvetica, sans-serif;
}
Now, I know it's gotta be something simple that i keep missing, but I can't think of it.

Any Ideas?
His Eminence is offline
Reply With Quote
View Public Profile
 
When You Register, These Ads Go Away!
     
Old 04-05-2004, 12:04 PM
Lippy's Avatar
LipWeb.Net

Posts: 270
Try adding the following line in the html file where those boxes are loading.

Code:
valign="top"
__________________
LipWeb.Net "Less Lip More Service"
Providing Quality Hosting at Fair Prices
AIM: LipWebNet MSN: daniel[at]lipweb.net Yahoo: LipWebNet ICQ: 265771633
Lippy is offline
Reply With Quote
View Public Profile Visit Lippy's homepage!
 
Old 04-05-2004, 03:42 PM
Junior Talker

Posts: 2
Yep, that did the trick, thanks!!!
His Eminence is offline
Reply With Quote
View Public Profile
 
Old 04-05-2004, 04:39 PM
Lippy's Avatar
LipWeb.Net

Posts: 270
Pleasure to help.
__________________
LipWeb.Net "Less Lip More Service"
Providing Quality Hosting at Fair Prices
AIM: LipWebNet MSN: daniel[at]lipweb.net Yahoo: LipWebNet ICQ: 265771633
Lippy is offline
Reply With Quote
View Public Profile Visit Lippy's homepage!
 
Reply     « Reply to Frustrated with CSS and DIV
 

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.11705 seconds with 13 queries