7 replies [Last post]
teenwebmaster
teenwebmaster's picture
User offline. Last seen 1 year 48 weeks ago. Offline
newbie
Timezone: GMT-5
Joined: 2010-02-18
Posts: 8
Points: 10

What's the best way to use my content to display information? Can I organize it like a table?

teenwebmaster
teenwebmaster's picture
User offline. Last seen 1 year 48 weeks ago. Offline
newbie
Timezone: GMT-5
Joined: 2010-02-18
Posts: 8
Points: 10

Can I post a table over my

Can I post a table over my div? I'm sure there must be a better way to do it.

CupidsToejam
CupidsToejam's picture
User offline. Last seen 2 weeks 1 day ago. Offline
rank Guru
Guru
Timezone: GMT-6
Joined: 2008-08-15
Posts: 2634
Points: 1552

yeah, thats not making sense.

yeah, thats not making sense. explain what you want to do, in a dif way


First basic few steps in building a webpage
1. Gather and collect content.
2. Organize the content into meaningful semantic valid HTML
3. Design the prototype
4. Style using CSS

http://www.pixelbehavior.com

Verschwindende
Verschwindende's picture
User offline. Last seen 6 days 2 hours ago. Offline
rank Guru
Guru
Timezone: GMT-5
Joined: 2009-10-09
Posts: 2037
Points: 2256

If you have tabular data then

If you have tabular data then a table is what you're supposed to use. That's what it's for.

Do not use tables for layout.
Do use tables for tabular data.

yet again.

teenwebmaster
teenwebmaster's picture
User offline. Last seen 1 year 48 weeks ago. Offline
newbie
Timezone: GMT-5
Joined: 2010-02-18
Posts: 8
Points: 10

Take a look at the site. I

Take a look at the site. I have put a table to place content. Can you help with getting things to line up better as well?

http://coyotemoonvineyards.com/newsite/CoyoteMoon2-26/newsite/7888.htm

Tony
Tony's picture
User offline. Last seen 2 hours 53 min ago. Offline
rank Moderator
Moderator
Timezone: GMT+10
Joined: 2003-03-12
Posts: 3705
Points: 1115

You have to be a bit more

You have to be a bit more specific about what you want to line up etc.

Instead of the table try

<div id="content">
 <div class="one"><img></div>
 <div class="two"><p>content here</p></div>
</div>

.one{width:493px;
float:left;}
.two{width:325px;
float:left;}

Your question may have already been answered, search and read before you ask.

teenwebmaster
teenwebmaster's picture
User offline. Last seen 1 year 48 weeks ago. Offline
newbie
Timezone: GMT-5
Joined: 2010-02-18
Posts: 8
Points: 10

Div Class

Thank you Tony! Those really helped. When I say lined up, I mean the menu. The navigation menu of the site is moved over the right in IE 8. Seems to be fine in Firefox. Also, the left column is moved up toward the top too much.

Finally, how can I make the div classes vertical instead of horizontal. What I mean is, I would like to be able to take the page and split it in half where the yellow box is. Half for a picture, like I have, and the other half for content.

http://coyotemoonvineyards.com/newsite/CoyoteMoon2-26/newsite/7888.htm

teenwebmaster
teenwebmaster's picture
User offline. Last seen 1 year 48 weeks ago. Offline
newbie
Timezone: GMT-5
Joined: 2010-02-18
Posts: 8
Points: 10

bump

bump