473,378 Members | 1,099 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,378 software developers and data experts.

Alignment problem

Can someone help with the problem outlined here?

http://www.austinmetrobaseball.com/divmenu.html

Jul 21 '05 #1
6 1403
On Tue, 15 Mar 2005 14:11:59 -0600, Mr.Clean wrote:
Can someone help with the problem outlined here?

http://www.austinmetrobaseball.com/divmenu.html


From what I see, you are trying to display data that is
ideally suited to a table.

Using tables to control page layout, is a bad habit formed before the dawn
of CSS. I used it myself for page layout, once upon a time. Now I use
CSS for the page layout and styling. I use tables when I have data that
fits a table.

You can use CSS to style and position your table on the page, but for that
data, use a table.

Carolyn
Jul 21 '05 #2
In article <pa****************************@marenger.com>,
ca****@marenger.com says...
On Tue, 15 Mar 2005 14:11:59 -0600, Mr.Clean wrote:
Can someone help with the problem outlined here?

http://www.austinmetrobaseball.com/divmenu.html
From what I see, you are trying to display data that is
ideally suited to a table.

DUH, it says that on the page.

Using tables to control page layout, is a bad habit formed before the dawn
of CSS. I used it myself for page layout, once upon a time. Now I use
CSS for the page layout and styling. I use tables when I have data that
fits a table.
That is a menu, it is not data for a table. It is to have a rollover
effect whereby the division name, Austin, Cpatiol, etc turns blue and
the age 28+, 38+ turns red. See the real thing in action here:
http://www.austinmetrobaseball.com/index.html


You can use CSS to style and position your table on the page, but for that
data, use a table.


I'm TRYING to use CSS to do this, hence the purpose of the original
post.
Jul 21 '05 #3
Mr.Clean wrote:
Can someone help with the problem outlined here?

You are using divs inappropriately. divs are block level elements; to
get a linear layout you need inline elements, like a list.
<http://css.maxdesign.com.au/listamatic/> has a lot of interesting menu
layouts. One may work for you.

--
jmm dash list (at) sohnen-moe (dot) com
(Remove .AXSPAMGN for email)
Jul 21 '05 #4
Jim Moe <jm***************@sohnen-moe.com> wrote:
divs are block level elements; to
get a linear layout you need inline elements, like a list.


Lists are also block level elements.

--
Spartanicus
Jul 21 '05 #5
In article <y4********************@giganews.com>, jmm-
li***********@sohnen-moe.com says...
Mr.Clean wrote:
Can someone help with the problem outlined here?

You are using divs inappropriately. divs are block level elements; to
get a linear layout you need inline elements, like a list.
<http://css.maxdesign.com.au/listamatic/> has a lot of interesting menu
layouts. One may work for you.


Yes, you are correct. I didn't think of that.

Thanks.
Jul 21 '05 #6
Spartanicus wrote:

Lists are also block level elements.

Urk. Yes, that is so.

--
jmm dash list (at) sohnen-moe (dot) com
(Remove .AXSPAMGN for email)
Jul 21 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

67
by: S.Tobias | last post by:
I would like to check if I understand the following excerpt correctly: 6.2.5#26 (Types): All pointers to structure types shall have the same representation and alignment requirements as each...
13
by: sachin_mzn | last post by:
Hi, What is the concept of memory alignment? Is memory alignment differs, If a data type is local to a function or if it is a member of structure or union? How 32 to 64 bit processor afftects the...
5
by: Hendrik Schober | last post by:
Hi, we just run into the problem, that "default" alignment in the project properies dialog seem to be different. We have a project that's a DLL, which is linked with a couple of LIBs. All are...
8
by: Cardman | last post by:
I am hopeful that someone can quickly solve my image alignment issue when things are just not going right and where my attempts to solve this alignment issue have all failed. First of all take a...
3
by: Bill Pursell | last post by:
I have a program that does most of its work traversing a bunch of lists. The lists contain a void *, and I spent some time today replacing the void *'s with a copy of the data at the end of the...
12
by: Yevgen Muntyan | last post by:
Hey, Consider the following code: #include <stdlib.h> #define MAGIC_NUMBER 64 void *my_malloc (size_t n) { char *result = malloc (n + MAGIC_NUMBER);
0
by: VorTechS | last post by:
I'm having a problem with an inherited label, applying text rotation to aligned text. If text rotation is applied to the aligned text, the alignment goes 'nuts'. I can find no logic to what is...
10
by: haomiao | last post by:
I want to implement a common list that can cantain any type of data, so I declare the list as (briefly) --------------------------------------- struct list { int data_size; int node_num;...
4
by: myfavdepo | last post by:
Hi friends, i am having some trouble in my prog. with struct member alignment. I have two different static libraries that i use, each with "struct member alignment" set to 8 bytes. In my...
8
by: Stephen Horne | last post by:
I understand that the next C++ standard will have features to handle the alignment of data types. This is good, but a bit late for me! I've been using some template trickery to handle alignment...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.