View Full Version : yahoo reset css - help?!

10-27-2009, 12:07 PM
hi, IU am using the YUI yahoo CSS reset library,

on my site: http://vila.slicedcreative.co.uk/

I am having trouble positioning the class="yui-g" and the class="yui-u First"

please help


#bd {
line-height: 0px;
background-image: url(/images/top_page_03.png);
background-repeat: no-repeat;
min-height: 400px;
background-image: url(/images/1px_mid.png);
background-repeat: repeat-y;
padding-right: 37px;
left: 0px;
width: 850px;
float: right;




<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//E" "http://www.w3.org/TR/html4/strict.dtd">
<link rel="stylesheet" type="text/css" href="css/reset-style.css" />
<link rel="stylesheet" type="text/css" href="css/vila-style.css" />
<div id="doc">
<div id="hd">
<h1>Villa Fulmar</h1>
<img src="/images/logo.png" border="0" alt="Vila Fula Logo" align="left" />
<img src="/images/top-text.png" border="0" alt="top text" class="toptext" align="right" />
<div id="navbar">
<img src="/images/left_side_nav.png" alt="left side nav" class="nav_end" />
<ul id="menu">
<li><a href="#" title="Vila Fulmar">Vila Fulmar</a></li>
<li><span></span><a href="#" title="The Area">The Area</a></li>
<li><span></span><a href="#" title="The Property">The Property</a></li>
<li><span></span><a href="#" title="Gallery">Gallery</a></li>
<li><span></span><a href="#" title="Contact Us">Contact Us</a></li>
<li><span></span><a href="#" title="Availability & Prices">Availability & Prices</a></li>
<img src="/images/right_side_nav.png" alt="right side nav" class="nav_end" />
<div id="bd">
<div class="yui-g">
<div class="yui-u first"></div>
<div class="yui-u">
<div class="sideimage1"><a href="#"></a></div>
<div class="sideimage2"><a href="#"></a></div>
<div class="sideimage3"><a href="#"></a></div>
<div id="ft">
<div class="textonright">Web Design by Sliced</div>
&copy; Fulmar 2009. Contact us for our <u>Villa in Spain to rent on the Costa Blanca</u>

10-27-2009, 12:38 PM
my css reset is saying:

.yui-g .yui-u, .yui-g .yui-g, .yui-g .yui-gb, .yui-g .yui-gc, .yui-g .yui-gd, .yui-g .yui-ge, .yui-g .yui-gf {

If I take this out, I can make it work but I know I shouldn't be touching the reset CSS

10-27-2009, 02:41 PM
Goodmorning jarv,
Not sure what you mean by having trouble positioning your classes. Sometimes it helps to put a background color on them just to see where they really are, like this -

/** CLASSES **/
background: #ccc url(/images/1px_mid.png) repeat-y;


#rightcol {
width : 220px;


line-height: 18px;
margin-left: 62px;
background: #f00;


Your "CSS reset" ... not sure where you got that or what it's supposed to do but that is making things way more complicated than it needs to be.

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum