Go Back  HTML Forums - Free Webmaster Forums and Help Forums > WEBSITE DEVELOPMENT > CSS
User Name:
Password:
 

Reply
Thread Tools   Display Modes
  View First Unread
 
Old 11-05-2009, 06:58 PM
  #1
sakinolan
Novice (Level 1)
 
Join Date: Nov 2009
Posts: 2
iTrader: (0)
sakinolan is an unknown quantity at this point
Exclamation A little help for an annoying css...

Hi, i'm a newbie and i need a css help for a google api css.

At first html file is here: CLICK

and css file is here: CLICK

i want to order these 1.RSS, 2.RSS, 3.RSS, 4.RSS HORIZONTALLY.

I think a little CSS work needed, i've tried some but no success. What
i want to do is; order these 4 feeds horizontally and if i add another
5. feed, place it to the 2. row. I mean max. 4 columns for each line.

I'm a newbie on CSS so please help me with codes. Which code to change and where to put...

Thank you...
sakinolan is offline   Add to del.icio.us Add to del.icio.us    Can you digg it?Can you digg it? Reply With Quote
Old 11-06-2009, 12:32 AM
  #2
Excavator
Lord (Level 16)
 
Join Date: Dec 2006
Location: Alaska
Posts: 737
iTrader: (0)
Excavator is on a distinguished road
.gfg-list {
width: 300px;
float: left;
position : relative;
overflow : hidden;
text-align : left;
margin-bottom : 5px;
font-weight : bold;
background-color : 000000;
}

Those line highlighted in red will make your RSS feeds go side by side. Still need to float the .gfg-subtitle too... I would recomend putting the title in the same div as the feed if you can.

To float something, you have to give it a width. To get the 4 beside each other on one line, with 4 elements 300px wide, your .gfg-root would need to be set at 1200px wide. The fifth would automatically drop down because that's how floats work.
__________________
Validate often, DURING development! Use it like a splelcheker.
Use the right DocType | Validate your markup | Validate your CSS | Why validating is good | Why tables are bad
Excavator is offline   Add to del.icio.us Add to del.icio.us    Can you digg it?Can you digg it? Reply With Quote
Old 11-06-2009, 06:02 AM
  #3
sakinolan
Novice (Level 1)
 
Join Date: Nov 2009
Posts: 2
iTrader: (0)
sakinolan is an unknown quantity at this point
Exclamation thank you

Quote:
Originally Posted by Excavator View Post
.gfg-list {
width: 300px;
float: left;
position : relative;
overflow : hidden;
text-align : left;
margin-bottom : 5px;
font-weight : bold;
background-color : 000000;
}

Those line highlighted in red will make your RSS feeds go side by side. Still need to float the .gfg-subtitle too... I would recomend putting the title in the same div as the feed if you can.

To float something, you have to give it a width. To get the 4 beside each other on one line, with 4 elements 300px wide, your .gfg-root would need to be set at 1200px wide. The fifth would automatically drop down because that's how floats work.
Thank you for your help Excavator. You save my life.

I did what you wrote but a little problem appears now:

CHECK


Feed items are not under the feed titles (1. RSS) There are a little bit on the right side. I want to display them right under the feed titles. When i try to extend the feed titles, feed items continue sliding to right side. Can we fix it? Thank you.
sakinolan is offline   Add to del.icio.us Add to del.icio.us    Can you digg it?Can you digg it? Reply With Quote

Reply
KEEP TABS
SPONSORS
 
Boxedart
 
 


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



 
  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
Thread Tools
Display Modes

Forum Jump

 

All times are GMT -5. The time now is 04:11 AM.

   

Mascot team created by Drawshop.com

Powered by vBulletin® Version 3.6.7
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.

Server Monitoring by ENIACmonitor 0.01
HTMLforums.com © Big Resources, Inc. Web Design by BoxedArt.com
vRewrite 1.5 beta SEOed URLs completed by Tech Help Forum and Chalo Na.