Welcome Guest ( Log In | Register )



2 Pages V  < 1 2  
Reply to this topicStart new topic
> Html Table Issue.
Chesso
post Nov 10 2007, 04:56 AM
Post #11


Teh Coder
Group Icon

Group: Members
Posts: 1,053
Joined: 18-April 06
From: Australia
Member No.: 12,833



Yeah I did try things like that, to see if some of the core CSS code or out element div tags and things had somehow had an adverse effect, but that doesn't seem to be the case.

Unless their is something CSS specific that can cause this kind of issue.

That's why I posted hoping someone might have come across this type of issue before and may have already had some answers.
Go to the top of the page
 
+Quote Post
Quatrux
post Nov 10 2007, 08:50 AM
Post #12


the Q
Group Icon

Group: [HOSTED]
Posts: 1,054
Joined: 13-July 05
From: Lithuania, Vilnius
Member No.: 7,059



to repeat myself again, I really don't think you'll get the correct answer asking us to guess what can be wrong, show as the html code and we will look into it, add some comments to it what is wrong with it and what you're trying to do and what result you want, that will be easy. tongue.gif Just host a separate file of it or something, or use services like pastebin.com or something biggrin.gif
Go to the top of the page
 
+Quote Post
Chesso
post Nov 10 2007, 09:16 AM
Post #13


Teh Coder
Group Icon

Group: Members
Posts: 1,053
Joined: 18-April 06
From: Australia
Member No.: 12,833



It would require too many files, they aren't simple HTML files, but much of PHP/mySQL, Javascript, CSS and XHTML.

It would take too long for one person that go through it all and find the issue.

Hence why I was hoping someone has just had a similar issue and may identify it, or a possibility.

It was actually a problem even when it was simpler code, but I didn't have time to leave it, and I found a way around. So if no one knows of the issue being possible, I will just leave it as is, but everything else works except for a table.

So if no one has come across this, then there probably won't be an answer until someone else is stuck in the same position and find its, but isn't necessary for me. Just thought I would ask.
Go to the top of the page
 
+Quote Post
twitch
post Nov 11 2007, 06:50 AM
Post #14


Veteran Nut
Group Icon

Group: Members
Posts: 527
Joined: 4-October 05
From: UK
Member No.: 8,895



QUOTE(Habble @ Nov 10 2007, 04:49 AM) *
instead of <table>, try:
<table cellpadding="0" cellspacing="0">
or
<table style="border-width: 0px; padding: 0px; margin: 0px;">

The later being preferable.

Consider tables as inline-blocks, that is they shouldn't be a top level element like divisions.
Go to the top of the page
 
+Quote Post
Quatrux
post Nov 11 2007, 09:17 PM
Post #15


the Q
Group Icon

Group: [HOSTED]
Posts: 1,054
Joined: 13-July 05
From: Lithuania, Vilnius
Member No.: 7,059



QUOTE(Chesso @ Nov 10 2007, 11:16 AM) *
It would require too many files, they aren't simple HTML files, but much of PHP/mySQL, Javascript, CSS and XHTML.


For my understanding, hmm, the only thing needed is the html output with some things removed to make it smaller and an explanation of the result you want to get in that html output, all the further coding how to achieve that in your php or whatever source code is another issue, but maybe it is just me and I don't get.
Go to the top of the page
 
+Quote Post
Arbitrary
post Nov 12 2007, 12:24 AM
Post #16


Premium Member
Group Icon

Group: [HOSTED]
Posts: 377
Joined: 17-June 06
From: Adblock life
Member No.: 13,992



QUOTE
instead of <table>, try:
<table cellpadding="0" cellspacing="0">
or
<table style="border-width: 0px; padding: 0px; margin: 0px;">

Well, if you're going to do the latter, you might as well put that in css. IE:

<table class="info">

Then in your css file:

.info {
padding: 0px;
margin: 0px;
}

Or, in a more generic manner, you can just specify what you want for tables:

table {
//layout info
}

And you can specify how you want to layout the table with the info class.

Maybe it'd be better if you (Chesso) posted the code for the whole page so that people can get a better of idea of why the table is causing the page to break? I mean, it's true that you can emulate tables with divs, but I think it's better to use tables all the same. Also, maybe linking to the site would be better so that people can sort through things without looking at your php code.

This post has been edited by Arbitrary: Nov 12 2007, 12:27 AM
Go to the top of the page
 
+Quote Post
kelvinmaki
post Nov 12 2007, 07:39 AM
Post #17


Advanced Member
Group Icon

Group: Members
Posts: 170
Joined: 30-July 07
Member No.: 23,704



QUOTE(Chesso @ Nov 10 2007, 01:33 AM) *
Oh I see what you mean, I should have tried that. I just haven't had that issue before, it might be something specific to how the code/tags are layed out and branched.


Just wondering does the examples I've gave you work for the div/css against table? Just curious as it did for me even though it might not be the best solution.

Cheers
Go to the top of the page
 
+Quote Post
Sten
post Nov 12 2007, 10:01 AM
Post #18


Oh come on Mrs. B!
Group Icon

Group: Members
Posts: 648
Joined: 6-June 07
From: Tasmania, Australia
Member No.: 22,422



when i have troubles with tables the very first thing i do is make sure i have the cellpadding and cellspacing and both on 0. that always fixes any table problems i have, lol. oh and other problems i have i have to use colspan and valign.

for your problem though im not sure.


Go to the top of the page
 
+Quote Post
Chesso
post Nov 12 2007, 11:24 AM
Post #19


Teh Coder
Group Icon

Group: Members
Posts: 1,053
Joined: 18-April 06
From: Australia
Member No.: 12,833



Well seen as it brakes the site up pretty badly, I guess some sort of alignment could be an issue.

I did test out a few different possibilities, but with being capped on speed and especially this ISP (it's mostly great otherwise) it's not very stable when capped, so it is hard just to load up this page lol (let alone a CSS reference).
Go to the top of the page
 
+Quote Post

2 Pages V  < 1 2
Reply to this topicStart new topic

Collapse

> Similar Topics

Topics Topics
  1. Basic Tips and Tricks in HTML(15)
  2. Embedding XML into HTML(2)
  3. Force Object To Load Last(2)
  4. Free Shoutbox? HTML, Flash or PHP Code(24)
  5. Where Can I Learn Advanced Html ?(11)
  6. Where Can I Learn Html Codes ?(8)
  7. Here Are Some Html Tutorial Sites(1)
  8. Get Input From Html/txt File?(2)
  9. How Can You Spice Up Your Basic HTML Site ? Beginner Needs Help(9)
  10. HTML Editor(23)
  11. Need Help With The HTML HR Tag(5)
  12. HTML: Seems Like A Simple Problem, But I'm Baffled!(4)
  13. Where To Find A WML To HTML Converter ?(2)
  14. A First Peep Into Html(5)
  15. Home Videos(4)
  1. Bulletproof HTML: 37 Steps To Perfect Markup(4)
  2. Quick Tips On Html And Css(11)
  3. Firefox Inventing Its Own Html?(9)
  4. Scripts And Html(13)
  5. Stretching My Site Vertically(6)
  6. Html Stats(3)
  7. About Html(15)
  8. Html Emails How?(12)
  9. Sitepoint's Css And Html Reference Sites(2)
  10. Yaml - (x)html/css Framework(2)
  11. Style P And H? Html Tags(2)
  12. Indentation In Html(4)
  13. Good Books For Html And Css Beginners(1)


 



- Lo-Fi Version Time is now: 14th October 2008 - 04:54 AM