473,398 Members | 2,188 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,398 software developers and data experts.

Tables in divs and positioning peril... help!

2
i'm doin the html/css for a web project and i'm having some trouble now that the back end programmers are adding dynamic data... at least that's what i'm being told.

there seem to be two major issues and i really could use an expert opinion:

here's the page: http://72.3.133.233/corporateWeb/beta/template6.aspx

and the css: http://72.3.133.233/corporateWeb/bet..._master003.css

issues:
1) tables inside the divs look fine in the editor, but render about 100px below where it should. i added a -100px top-margin and now it looks correct in IE, NS and Firefox, but Firefox renders six (6) <br />'s between the div and the start of the table and i can't figure out why?¿?

2) as a fix i added a -100px margin for tables in the div (in the css 499-505) and now that it looks correct in IE, NS, Firefox, the page intermittently crashes IE, but no problem with Firefox or NS.

i'm using dreamweaver and for all i know the whole layout could be causing the problem... im hoping someone here can analyze the page and css and tell me what the hell i'm doing wrong here... please!

i'm always trying to read up and learn new techniques, but this is the first css based site i've done so i'm somewhat green... any help at all will be greatly appreciated.

thanks,

~g
Aug 25 '05 #1
1 2498
gforce
2
update: after closer review i was successful at diagnosing and resolving the table positioning problem; the markup of table had errors.

the problem was placement of <br>'s in-between table elements. in standard table based page layouts this will not likely pose any obvious layout problems, but with a css based layout it will, so just be mindful to insert properly coded data and everything lines up as it should.

after correcting the table code there are no positioning errors.

1) correct
...any text here<br></p>
</td>
</tr>

2) incorrect

...any text here</p>
</td><br>
</tr>
<tr>
<td><p>...any text here</p>
Aug 26 '05 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: Peter Jenkins | last post by:
I have some divs I am using to get a two column layout for a section of a page, like so; <div1> <div2> <div3> blah blah blah blah blah blah blah blah...
40
by: Mason A. Clark | last post by:
CSS Experts: OK, I'm a stupid newby. Now, here's the question: Can CSS replace slightly complicated Tables and work in three browsers (e.g. MSIE 6.0, Net 7.1, Op 7.03) ? After countless...
2
by: David Winter | last post by:
This is a totally trivial CSS problem, I'm sure, but I don't get it. I want a centered DIV with a fixed width between two other DIVs that should fill the rest of the window/viewport (= 100%). How...
1
by: no0bodyhome | last post by:
Why am I having so much trouble positioning divs? Am I in a tables mindset here? Why doesn't content flow below or alongside where it is suppose to? I created the example below to give you...
1
by: Siegfried Heintze | last post by:
I want to implement drag and drop for tables, divs, spans. The problem is that I don't know how wide or long my tables, divs and spans are going to be in advance so I cannot use absolute...
5
by: aljamala | last post by:
Hi, I have a group of 5 tables laid out of the web page. 2 go on the left side and 3 on the right. These tables retrieve data from the database so the number of records (rows) returned varies....
3
by: Rangy | last post by:
Hi, I've decided to take the plunge and move from tables to a pure css layout. I still "think" in tables when I do my layouts and I was wondering the following: I have a simple, standard two...
6
by: =?Utf-8?B?Tkg=?= | last post by:
Hi, What do you recommend for defining the layout of an asp.net 2.0 page? Leaving masterpages and user controls aside for the moment is the use of tables or Divs the best approach? I have...
53
by: brave1979 | last post by:
Please check out my javascript library that allows you to create any layout for your web page, nested as deep as you like, adjusting to width and height of a browser window. You just describe it in...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new...

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.