navigation
a webmaster learning community
     Home    Register     Search      Help      Login    
Sponsors

Shopping Cart Software
Ecommerce software integrated into Frontpage, Dreamweaver and Golive templates. No monthly fees and available in ASP and PHP versions.

Website Templates
We also have a wide selection of Dreamweaver, Expression Web and Frontpage templates as well as webmaster tools and CSS layouts.

Frontpage website templates
Creative Website Templates for FrontPage, Dreamweaver, Flash, SwishMax

Search Forums
 

Advanced search
Recent Posts

 Todays Posts
 Most Active posts
 Posts since last visit
 My Recent Posts
 Mark posts read

 

Basic CSS positioning

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
Printable Version 

All Forums >> Web Development >> Cascading Style Sheets >> Basic CSS positioning
Page: [1]
 
mrfantomex

 

Posts: 1
Joined: 11/13/2004
Status: offline

 
Basic CSS positioning - 11/13/2004 22:43:31   
I'm trying to do something very, very simple, but for some reason is incredibly complicated in CSS. The basic <table> translation would be this

<table>
<tr><td width=50%></td><td width=50%></td></tr>
<tr><td width=50%></td><td width=50%></td></tr>
...
</table>

And, actually I've done this, but the only way CSS will display it correctly is when ALL boxes are float:left, which makes it impossible for me to center my main box on the page. (I've also COMPLETELY given up any hope of margin or padding working with % widths. Absolute it is from here on out)

You can view the closest I've come here

http://www.lelon.net/tests

Please help. Thanks in advance.
jaybee

 

Posts: 14191
Joined: 10/7/2003
From: Berkshire, UK
Status: offline

 
RE: Basic CSS positioning - 11/14/2004 4:54:40   
Put your 4 small boxes inside a main container div and center that.

Having said that, if you are trying to display rows of data then use tables. That's what they're for. Just make sure you have a header row for the screen readers.

_____________________________

If it ain't broke..... fix it until it is.
:)

:)
GAWDS
Now where did I put that Doctype?

(in reply to mrfantomex)
c1sissy

 

Posts: 5084
Joined: 7/20/2002
From: NJ
Status: offline

 
RE: Basic CSS positioning - 11/15/2004 9:47:13   
Hi Mrfantomex,
Welcome to outfront.

Here is a link for you to check out. It has an example of a table done in css that you can play with to get the feel for styling a table.

http://css.nu/articles/table-in-css.html

_____________________________

Deb-aka-c4Ksissy
high panjandurum and alpha female of the silverback tribe
As decreed by Jesper 5-24-2003.
The only stupid question is... the one that is never asked!!
http://directory.css-styling.com
http://fmsforum.com
http://positioniseverything.net/
http://www.tanfa.co.uk/

(in reply to mrfantomex)
Page:   [1]

All Forums >> Web Development >> Cascading Style Sheets >> Basic CSS positioning
Page: [1]
Jump to: 1





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts