Solved

how to layout css like a table

Posted on 2011-09-13
12
369 Views
Last Modified: 2012-05-12
Hi all
I would like to use CSS to layout some infomation like a table i have some raw css can someone tell me if i am even close, i cant test it as i am at work

#footerlist{}
#row1  {position:absolute; height="auto"; width="auto"}
#row2  {position:absolute; height="auto"; width="auto" left="inherit"
#row3  {position:absolute; height="auto"; width="auto" left="inherit"

my plan was to put all the row divs in the footerlist div and then i would be able to move them where i need them
0
Comment
Question by:awolarczuk
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 5
  • 2
12 Comments
 
LVL 40

Expert Comment

by:gurvinder372
ID: 36534035
position absolute is not required. Since the row has to come in the next line only, and by default a new div always goes to next line
0
 

Author Comment

by:awolarczuk
ID: 36534055
ok i have been able to test it a little they are going down hte page how do i make them go allong the page
0
 
LVL 40

Expert Comment

by:gurvinder372
ID: 36534080
by any chance you share the page or a link to the same?
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:awolarczuk
ID: 36534143
here are the files mate
in exploer it seems to work but not in crome
test.html
settings.css
0
 
LVL 40

Accepted Solution

by:
gurvinder372 earned 500 total points
ID: 36534255
In settings.css, replace row1, row2 and row3 with

#row1  { width: 100px; padding: 10px; height="auto"; }
#row2  { width: 100px; padding: 10px; height="auto"; }
#row3  { width: 100px; padding: 10px; height="auto"; }

basically, float:left forces the divs to stack horizontally with each other
0
 

Author Comment

by:awolarczuk
ID: 36535164
ok this sis what i want sorry if i confused you but i have foyund with my code itwill only work in iexplorer
no crome
0
 
LVL 40

Expert Comment

by:gurvinder372
ID: 36535196
Not sure about the rest of the code, but this footerlist part should definitely work
0
 

Author Comment

by:awolarczuk
ID: 36535229
yea it works great in explorer not in crome
0
 

Author Comment

by:awolarczuk
ID: 36535238
just tested in fire fox saem issue
Is there another way arpundthis
0
 
LVL 40

Expert Comment

by:gurvinder372
ID: 36535448
can you post the screenshot for both of them ff and chrome
0
 
LVL 9

Expert Comment

by:user_n
ID: 36538257
0
 
LVL 9

Expert Comment

by:user_n
ID: 36538753
0

Featured Post

Enroll in May's Course of the Month

May’s Course of the Month is now available! Experts Exchange’s Premium Members and Team Accounts have access to a complimentary course each month as part of their membership—an extra way to increase training and boost professional development.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Use these top 10 tips to master the art of email signature design. Create an email signature design that will easily wow recipients, promote your brand and highlight your professionalism.
When crafting your “Why Us” page, there are a plethora of pitfalls to avoid. Follow these five tips, and you’ll be well on your way to creating an effective page.
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question