Member Avatar for iamthwee

Hi all,

I'm making a website in front-page and I am using tables.

When rendered in other browsers such as Opera, chrome etc the positioning seems all different. Why is this, and is there a better way to do it?

Like maybe css?

Recommended Answers

All 3 Replies

You would do CSS:

CSS

table 
{
        position: absolute;
	left: 200px;
	top: 20px;
}

HTML

<div id='table'>
// insert table here
</div>
Member Avatar for iamthwee

ok but the reason I use tables in front page is because of their drag and drop usability. Can you do such a thing with css?

I am basically using border-less tables as the confines of the layout...

Member Avatar for iamthwee

OK I figured it out. Looks like I can still use tables which is easier from my design point.

Just have to specify the positioning in pixels instead of percent and click on cell properties to center it. This way it appears to render the same across all browsers.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.