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 > Programming
Reload this Page CSS Help plzz

Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics.

Advanced Search


Closed Thread
 
LinkBack Thread Tools
Old 01-15-2006, 01:16 PM THREAD STARTER               #1 (permalink)
New Member
Join Date: Jan 2006
Posts: 5
prince20 is an unknown quantity at this point
 



Thumbs up CSS Help plzz


hey see my css plzz. Its working exactly what i wanted in IE6 But when i see it in Firefox 1.5 the text is overflowing towards the bottom. Any one can help me plzz? i can fix this by setting up overflow:auto; but it gives a scrollbar which i dont want. I want my layout to strtch in tandum with the content . Plz some one help me plzz.Thanks in advance. Iam giving the URLS of my originaltable based layout and the one iam trying css and also the one i fixed using overflow option. Need a help plzz
This is the original Lay out which i wanted to convert into a pure css based one:
Click Here

This is My Effort so far and the problem am having wheni view it in Firefox
Click Here

This the one i fixed using Overflow option. I Dont like scrollbar there.

Click Here
cheers
Raja

body {

SCROLLBAR-FACE-COLOR: #DFB98F;
SCROLLBAR-HIGHLIGHT-COLOR: #ffffff;
SCROLLBAR-SHADOW-COLOR: #666666;
SCROLLBAR-3DLIGHT-COLOR: #333333;
SCROLLBAR-ARROW-COLOR: #481D12;
SCROLLBAR-TRACK-COLOR: #333333;
SCROLLBAR-DARKSHADOW-COLOR: #999999;
background-color: #000000;
text-align: center;
margin: 0px;
padding: 0px;
}
#wrapper {
width: 760px;
margin-top: 0px;
????: NamePros.com http://www.namepros.com/programming/157821-css-help-plzz.html
margin-right: auto;
margin-bottom: 0px;
margin-left: auto;
background-color: #000000;

}
#contentbg {
background-color: #FFFFFF;
background-image: url(http://cdn.namepros.com/images/main.jpg);
background-repeat: repeat-y;
width: 760px;
height: 317px;
}
#lftcontent {
background-color: #FFFFFF;
width: 440px;
float: left;
position: relative;
left: 40px;
text-align: justify;
padding: 0px;
height: 317px;
}
#contentholder {
}

#rhtcontent {
background-color: #FFFFFF;
height: 317px;
width: 238px;
float: left;
position: relative;
left: 40px;
}


#header {
background-image: url(http://cdn.namepros.com/images/header.jpg);
height: 162px;
width: 760px;
background-repeat: no-repeat;
}
#navbar {
background-image: url(http://cdn.namepros.com/images/button.jpg);
background-repeat: no-repeat;
height: 55px;
width: 760px;
}

#footer {
background-color: #000000;
background-image: url(http://cdn.namepros.com/images/footer.jpg);
height: 66px;
width: 760px;

}
#home{
font: normal bold 9px tahoma, trebuchet ms, verdana, arial, helvetica sans-serif;
height: 55px;
width: 88px;
float: left;
position: relative;
left: 40px;
}
#home a {
background-image: url(http://cdn.namepros.com/images/home.jpg);
background-repeat: no-repeat;
height: 55px;
width: 88px;
background-position: 0px 0px;
display: block;
}
#home a:hover{
background-image: url(http://cdn.namepros.com/images/home_f2.jpg);
background-repeat: no-repeat;
background-position: 0px 0px;
}
#portfolio{
font: normal bold 9px tahoma, trebuchet ms, verdana, arial, helvetica sans-serif;
height: 55px;
width: 86px;
float: left;
position: relative;
left: 40px;
}
#portfolio a{background-image: url(http://cdn.namepros.com/images/portfolio.jpg);
background-repeat: no-repeat;
height: 55px;
width: 86px;
background-position: 0px 0px;
display: block;


}
#portfolio a:hover{
background-image: url(http://cdn.namepros.com/images/portfolio_f2.jpg);
background-repeat: no-repeat;
background-position: 0px 0px;
}
#forum{
font: normal bold 9px tahoma, trebuchet ms, verdana, arial, helvetica sans-serif;
height: 55px;
width: 82px;
float: left;
position: relative;
left: 40px;
}
#forum a{
background-image: url(http://cdn.namepros.com/images/forum.jpg);
background-repeat: no-repeat;
height: 55px;
width: 82px;
background-position: 0px 0px;
display: block;
}
#forum a:hover{
background-image: url(http://cdn.namepros.com/images/forum_f2.jpg);
background-repeat: no-repeat;
background-position: 0px 0px;
}
#templates{
font: normal bold 9px tahoma, trebuchet ms, verdana, arial, helvetica sans-serif;
height: 55px;
width: 84px;
float: left;
position: relative;
left: 40px;
}
#templates a{
background-image: url(http://cdn.namepros.com/images/templates.jpg);
background-repeat: no-repeat;
height: 55px;
width: 84px;
background-position: 0px 0px;
display: block;
}
#templates a:hover{
background-image: url(http://cdn.namepros.com/images/templates_f2.jpg);
background-repeat: no-repeat;
background-position: 0px 0px;
}
#tutorials{
font: normal bold 9px tahoma, trebuchet ms, verdana, arial, helvetica sans-serif;
height: 55px;
width: 82px;
float: left;
position: relative;
left: 40px;

}
#tutorials a{
background-image: url(http://cdn.namepros.com/images/tutorials.jpg);
????: NamePros.com http://www.namepros.com/showthread.php?t=157821
background-repeat: no-repeat;
height: 55px;
width: 82px;
background-position: 0px 0px;
display: block;
}
#tutorials a:hover{
background-image: url(http://cdn.namepros.com/images/tutorials_f2.jpg);
background-repeat: no-repeat;
background-position: 0px 0px;
}

#flash{
font: normal bold 9px tahoma, trebuchet ms, verdana, arial, helvetica sans-serif;
height: 55px;
width: 82px;
float: left;
position: relative;
left: 40px;
}
#flash a{
background-image: url(http://cdn.namepros.com/images/flash.jpg);
background-repeat: no-repeat;
height: 55px;
width: 84px;
background-position: 0px 0px;
display: block;
}
#flash a:hover{
background-image: url(http://cdn.namepros.com/images/flash_f2.jpg);
background-repeat: no-repeat;
background-position: 0px 0px;
}
#graphics{
font: normal bold 9px tahoma, trebuchet ms, verdana, arial, helvetica sans-serif;
height: 55px;
width: 84px;
float: left;
position: relative;
left: 40px;
}
#graphics a{
background-image: url(http://cdn.namepros.com/images/graphics.jpg);
background-repeat: no-repeat;
height: 55px;
width: 84px;
background-position: 0px 0px;
display: block;
}
#graphics a:hover{
background-image: url(http://cdn.namepros.com/images/graphics_f2.jpg);
background-repeat: no-repeat;
background-position: 0px 0px;
}
#feedback{
font: normal bold 9px tahoma, trebuchet ms, verdana, arial, helvetica sans-serif;
height: 55px;
width: 89px;
float: left;
position: relative;
left: 40px;
}
#feedback a{
background-image: url(http://cdn.namepros.com/images/feedback.jpg);
background-repeat: no-repeat;
height: 55px;
width: 89px;
background-position: 0px 0px;
display: block;
}
#feedback a:hover{
background-image: url(http://cdn.namepros.com/images/feedback_f2.jpg);
background-repeat: no-repeat;
background-position: 0px 0px;
}

.maintext {
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
font-weight: bold;
color: #000000;
}
A.type1:link {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 10px;
font-weight: bold;
color: #000000;
text-decoration: none;

}
A.type1:visited {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 10px;
font-weight: bold;
color: #000000;
text-decoration: none;
}
A.type1:active {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 10px;
font-weight: bold;
color: #CC00CC;
text-decoration: line-through;
}
A.type1:hover {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 10px;
color: #FF0000;
text-decoration: underline overline;

}
.tinytext {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 10px;
font-weight: bold;
color: #FF6600;
}
.textt {
font-family: Arial, Helvetica, sans-serif;
font-size: 10px;
font-weight: bold;
color: #FF0099;
}
#shoutheader{
background-image: url(http://cdn.namepros.com/images/shoutheader.jpg);
background-repeat: no-repeat;
height: 53px;
width: 238px;
}
#shoutcontent{
height: 228px;
background-image: url(http://cdn.namepros.com/images/shoutmain.jpg);
background-repeat: repeat-y;
}
#shoutfooter{
background-image: url(http://cdn.namepros.com/images/shoutbottom.jpg);
background-repeat: no-repeat;
height: 36px;
width: 238px;
}

cheers
Raja
prince20 is offline  
Old 01-18-2006, 11:15 AM THREAD STARTER               #2 (permalink)
New Member
Join Date: Jan 2006
Posts: 5
prince20 is an unknown quantity at this point
 



plzz some one help me
prince20 is offline  
Old 01-18-2006, 12:12 PM   #3 (permalink)
VI5
NamePros Member
Join Date: Jan 2006
Location: UK
Posts: 45
VI5 is an unknown quantity at this point
 



Fix:

#lftcontent {
background-color: #FFFFFF;
width: 440px;
float: left;
position: relative;
left: 40px;
min-height: 317px;
text-align: justify;
}

In DIVs if you define the heights the content will overflow and the div will not expand. I have changed it to min-height so it can now expand.

Good Luck
VI5 is offline  
Old 01-18-2006, 09:40 PM   #4 (permalink)
Senior Member
 
dongan's Avatar
Join Date: Nov 2005
Location: www.mercuryminds.com
Posts: 2,044
dongan is a splendid one to beholddongan is a splendid one to beholddongan is a splendid one to beholddongan is a splendid one to beholddongan is a splendid one to beholddongan is a splendid one to beholddongan is a splendid one to behold
 



Originally Posted by VI5
Fix:
????: NamePros.com http://www.namepros.com/showthread.php?t=157821
In DIVs if you define the heights the content will overflow and the div will not expand. I have changed it to min-height so it can now expand.

Good Luck
Anohter great tip i learnt today.
dongan is offline  
Old 02-15-2006, 06:11 PM   #5 (permalink)
Account Closed
Join Date: Feb 2006
Location: Gujranwala
Posts: 1,189
youngspider has a spectacular aura aboutyoungspider has a spectacular aura about
 



Oh YEh A NEw Tip
youngspider 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 help "pain or saint"? Maylin Website Development 5 01-05-2006 03:42 PM
PHP, Mysql, CSS Coder Needed weebguy Web Development Wanted 1 12-27-2005 08:44 AM
Converting RedNerve to CSS - Hitting some problems! will7 Web Design Discussion 10 12-13-2005 08:45 PM
CSS: what's the use of it? lucesei Programming 13 04-12-2004 08:21 AM

Liquid Web Smart Servers  
All times are GMT -7. The time now is 03:13 AM.

Managed Web Hosting by Liquid Web
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