Need Help With Tables Causing A Line Down My Website

Pages: 1, 2
free web hosting

Read Latest Entries..: (Post #13) by Dagoth Nereviar on Jun 1 2006, 04:59 PM. (Line Breaks Removed)
QUOTE(michaelper22 @ Jun 1 2006, 02:14 PM) Let me clarify this info. The top cell spans the width of the table, through the use of the colspan attribute. The remainder of the table is a large content area, and a small sidebar. Let me show you:Sorry to say this after you tried to help (Thank you once more for the help), but I decided to change to layout, frustrating as it was, so that the ... read more.
Read the FIRST post of this Topic. - Express your Opinion! Contribute Knowledge :-).

Free Web Hosting, No Ads > CONTRIBUTE > The Internet > Web Design

Need Help With Tables Causing A Line Down My Website

Dagoth Nereviar
On my website there's a line down the page, in between "li" and "nks" on the "links" button. I'm using two seperate tables (One to each side) so that if the content box goes down for a few pages, the links box won't follow and have a big gap, and vice versa.

It's been annoying me for quite some time, and I'm not sure how to get rid of it.



Ps: Both the tables have "border=0".

Reply

Dragonfly
I suggest that you align the the left side image 'li" to the right and the right image 'inks' to the left on the table property, it will be rather the cell property. If this doesn't solve your problem, may be you could consider using one image for links instead of slicing it and placing them into two images.

And let me know if the first suggestion works or not.

Reply

Dagoth Nereviar
Hmm...Nope, I tried aligning the image, td, tr and even table, but none of them worked

Edit: Someone suggested <div>, but i'm not 100% sure how they work...Actually, i'm not 1% sure tongue.gif

Reply

brandice
I looked at your page source to see if there were any problems that I might pick up on. I found a couple of misplaced html, head and body tags throughout the page.

QUOTE

<td colspan="12" bgcolor="007A00" valign="top"><center>
<html>
<head>
</head>
<body>
<font size="+2"><b>Welcome to Dn Games!</b></font><br><br><br>


You should take out everything between <center> and <font...>

and again, the body and html tags don't need to be here

QUOTE

Dagoth Nereviar / 10 Apr 06
</body>
</html> </center></td>


Did that help anything, no. (sorry) but it might help avoid some problems in the future.

My suggestion is that you split your page into three tables. With the title, and header navagation in a table with a width of 100% above the two tables that you have for body of the page. sort of like this:

QUOTE

<table width="100%" height="75">
<tr>
<td>
TOP NAVIGATION
</td>
</tr>
</table>

<table width="74%" height="400" align="left">
<tr>
<td>
MAIN PART OF THE PAGE

</td>
</tr>
</table>

<table width="24%">
<td>
<tr>
RIGHT SIDE NAVIGATION

</td>
</tr>
</table>


You may have to work out the 74%, 24% bit to make your page work. Those were the values I used when making an old webpage of my own line up properly. Good luck.

 

 

 


Reply

Dagoth Nereviar
QUOTE(brandice @ May 23 2006, 04:53 PM) *

I looked at your page source to see if there were any problems that I might pick up on. I found a couple of misplaced html, head and body tags throughout the page.
You should take out everything between <center> and <font...>


and again, the body and html tags don't need to be here
Did that help anything, no. (sorry) but it might help avoid some problems in the future.

Hmm...I never noticed they were even there, cheers laugh.gif

QUOTE(brandice @ May 23 2006, 04:53 PM) *

My suggestion is that you split your page into three tables. With the title, and header navagation in a table with a width of 100% above the two tables that you have for body of the page. sort of like this:
You may have to work out the 74%, 24% bit to make your page work. Those were the values I used when making an old webpage of my own line up properly. Good luck.


Thanks, i'll give that a try biggrin.gif

Edit: I'm thankful for your help, but i've realised that it wouldn't really help, it'd just then have a line across it...the line down won't be visibe because it'll be the background colour, but it would be across...

Reply

michaelper22
First things first, based on previous replies, cleanup your HTML. I wasn't seeing well formed code, which might be a cause of the problems. After you fix that, my idea is to create a table with 3 cells, one spanning cell at the top (add colspan=2 width="100%" to the td tag for that cell), with the navbar, one big one under that taking up about 70% or so of the table's width, and one to the right of that making up the sidebar.

Reply

Dagoth Nereviar
Hmm...Like I said before though, that'll make a line across, won't it? If so, i'd have to change all the images so that it can work...

Anyways, thanks for the all the help! But a quick question (That's gone unanswered) does anyone know how to use <div>?

Reply

Tyssen
QUOTE(Dagoth Nereviar @ May 28 2006, 07:53 PM) *

Anyways, thanks for the all the help! But a quick question (That's gone unanswered) does anyone know how to use <div>?

A div's just a container for other elements. Anyone can use it. It's the styling of that div using CSS which you'd need to learn. And I'm sure there's quite a few people on here who know how to do it. You'd need to elaborate on your intended purposes though.

Reply

AnGeL KiSS
im guessing your layout has 1 px away from the other picture, since you made your layout in small parts. maybe try bringing the 'nks' left 1px?

Reply

Dagoth Nereviar
QUOTE(Tyssen @ May 28 2006, 12:33 PM) *

A div's just a container for other elements. Anyone can use it. It's the styling of that div using CSS which you'd need to learn. And I'm sure there's quite a few people on here who know how to do it. You'd need to elaborate on your intended purposes though.


Well, i'm not entirely sure what the purpose would be, but to basically get rid of the line


QUOTE(AnGeL KiSS @ May 28 2006, 04:07 PM) *

im guessing your layout has 1 px away from the other picture, since you made your layout in small parts. maybe try bringing the 'nks' left 1px?



I didn't make the different parts, I drew it in photoshop, then used image ready to slice it up for me, then that imported it into HTML, but i'll try that

Reply

Latest Entries

Dagoth Nereviar
QUOTE(michaelper22 @ Jun 1 2006, 02:14 PM) *

Let me clarify this info. The top cell spans the width of the table, through the use of the colspan attribute. The remainder of the table is a large content area, and a small sidebar. Let me show you:


Sorry to say this after you tried to help (Thank you once more for the help), but I decided to change to layout, frustrating as it was, so that the line are still there, but you can't see them.


Thank you all for the help, especially Michael smile.gif

Reply

michaelper22
QUOTE(michaelper22 @ May 23 2006, 09:23 PM) *

First things first, based on previous replies, cleanup your HTML. I wasn't seeing well formed code, which might be a cause of the problems. After you fix that, my idea is to create a table with 3 cells, one spanning cell at the top (add colspan=2 width="100%" to the td tag for that cell), with the navbar, one big one under that taking up about 70% or so of the table's width, and one to the right of that making up the sidebar.

Let me clarify this info. The top cell spans the width of the table, through the use of the colspan attribute. The remainder of the table is a large content area, and a small sidebar. Let me show you:
CODE

<table width="100%">
    <tr>
        <td colspan=2>NAVBAR GOES HERE</td>
    </tr>
    <tr>
         <td width="70%">CONTENT GOES HERE</td>
         <td width="30%">SIDEBAR GOES HERE</td>
    </tr>
</table>

Reply

Dagoth Nereviar
QUOTE(Paul @ May 31 2006, 09:38 PM) *

(Just change the width to 690px)

I tried this, saved the file and opened it in FF and IE and it worked fine wink.gif

Its just off by a pixel, thats all


It didn't work for me, it just stayed the same size sad.gif


Thanks for trying though smile.gif


QUOTE(brandice @ May 23 2006, 04:53 PM) *

I looked at your page source to see if there were any problems that I might pick up on. I found a couple of misplaced html, head and body tags throughout the page.
You should take out everything between <center> and <font...>
and again, the body and html tags don't need to be here


I just looked through, and that's because I use PHP for main the area, and it "loads" up the information from another PHP file, so when looking at it via source, it looks like that's a part of the actual code.

Reply



Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

(Maximum characters: 10,000)
You have characters left.
Confirm Code:

Pages: 1, 2
Similar Topics

Keywords : tables, causing, line, website

  1. Has Anyone Designed A Website For A Wow Guild?
    (2)
  2. Basic Of Website Creation
    Get basic knowledge on website creation here (9)
    By basic, i mean reaaaal "BASIC". I know that its probably redundant info for so many of us, but I
    still would like you to add your bit into this post , so that newbies benefit from it.....
  3. Website Layout?
    Help me please (3)
    Im sorta really new to html and php, and i want to make or edit a layout for my website that i might
    get from this forum thing, and i need sombody to point me to some tutorials or make me a layout.
    also if you want to you can make me a myspace one too xD. Please and thanks.....
  4. Creating A Good Website, How?!
    (18)
    Creating a good website, How?! I looked at many forums, searching on now to create a good
    website, by good I meant good website interface. For example, Trap17 have this amazing flash header,
    and nice design… I searched and searched, I found that many people started with a photoshop
    picture, then they make it come true by requesting a website coder (A.K.A. Programmer) to code the
    whole website for it. If, I said if, I were good a art, I can design a good nice picture off
    photoshop, and I know how to code, does that means I can make a good website? Please post any ....
  5. Flash Media Into Html/css Website
    does anyone know how to import a flash into a webpage with transparenc (1)
    Hi I need some help , Im designing this website for school studies However, I made a flash drop down
    menu, works perfectly, but you know how flash has a background when you export it in to a SWF file?
    For example my flash is width= 800, and height = 200 but my div box on my html page for my
    navigation is only 50 px my buttons is width of 50px and the rest of the content is the drop down
    animations i want to insert it into my navigation div box but i want to set the flash background to
    transparent so that when the drop down menu comes down it overlaps the text or whateva....
  6. Php Auto Website Title
    (8)
    This simple PHP function is pretty handy if you want your websites pages in the title without having
    to name individual ones. It will look like: QUOTE MyWebsite | Index QUOTE Quote:
    MyWebsite | Gallery QUOTE Quote: MyWebsite | Forums etc.. paste the code into your
    "functions" file, or any webpage which is included in every page you have (Reminder: To include a
    webpage, use 'include("webpage.php");') You can of course put the function in each page, but
    that's just annoying .. /tongue.gif" style="vertical-align:middle" emoid=":P" borde....
  7. How To Build A Good Website
    (2)
    First, have a good color is important. You don't want people say "Ow!!! My
    eyes!!! where's the X button????" So try not to use colors like light green, yellow.
    Second, have some content. Will you like a site just with a title? Updated it AT LEAST once a
    month. Third, try not to put "too much" image on the homepage. Otherwise, if they come from a
    search engion, they will probley want to find something that they want. If that takes too long,
    they'll leave. Fourth, having a portal is good if you have a forum. If you are using something....
  8. Help Creating A Profile Website
    how do i make a profile website (13)
    Ok this is my idea: I am making a website about anime. Its function is add anime, review anime,
    search anime, anime information. Users can make a profile. People can make a profile which they can
    edit to theire likes with html to give it a fancy look.(this is what my problem is about) What i
    would like to know is how can i accomplish this. I already have the database for the anime titles
    etc ready, the only thing that needs to be done is the profile section. If you have any tutorial,
    tip or guide i would really really appriciate it. Thx in advance. ....
  9. How To Make A Website
    (If you're trying to drive people away from your site) (18)
    Alright so there are many topics out there of how to make a website that everyone will love and want
    to go to, but I can't seem to find any about how to make a website that people will hate and try
    to run away from, so here are some pointers for those who are trying to make the worst website:
    Step one: COLORS Be sure to use a vivid and bright background color, and a non-noticeable text
    color. Nothing wakes people wake up more than a florescent yellow background with white text. Make
    people work to try to read your website. After all, you have some great content....
  10. Webdesign Frequently Askd Questions
    is it posible to design a sercheingin in your website. (11)
    what i wanna no is is it posible to incorporate a custom search engin into your own website. for a
    while now i have bin wondering is it posible to do this as i would like to try something like this
    out. but i have heard of there being a way to do this in pearl but i no nothing of pearl does
    annyone have anny tips or info on this? (i use frontpage and dreamweaver)....
  11. Please Rate My Website
    out of a possible 10 (19)
    I have built a newly designed website here with Trap17 - http://www.zofanatic.com . Can you please
    rate it or give me some suggestions on the design and layout (including the forum, which runs on
    SMF). Thanks....
  12. My Website Design , Any Suggestions?
    this is something i designed with the help from user sonesay , what do (13)
    Hey guys I designed and almost finish my site, www.keegonguyen.com .. so what do you guys think?
    Have any good suggestions? or anything that i should take out? anything good or bad about it?
    anything at all that would help me out would be nice /tongue.gif" style="vertical-align:middle"
    emoid=":P" border="0" alt="tongue.gif" /> Is it too plain? any beneficial criticism will be fine
    /rolleyes.gif" style="vertical-align:middle" emoid=":rolleyes:" border="0" alt="rolleyes.gif" />
    let me know thanks /smile.gif" style="vertical-align:middle" emoid=":)" border="0" ....
  13. Is There An Xbox Live Gamertag Code To Shw The Gamercard On A Website?
    The title says all! (1)
    Hi everyone, im looking for a code that will display a users xbox live gamercard. Ive seen one
    little widget but that was for the igoogle page ao its not suitable for what i want. Ideally I want
    one thats written with HTML or something like that so its easy for me to modify and such. What i
    want it to do is t have a URL in the code which the user can then insert their gamertag ID into and
    have the widget display their gamercard for all to see. if i ever use this code it will be on a
    money making site, hopefully, so something thats free to use even for commercial things ....
  14. Xml For Dynamic Website Content
    (3)
    Anyone got a site where they're using XML to generate dynamic content? I'm thinking of
    using XML for several elements of the website for my workplace, partially because I can easily
    generate XML through a simple VBA interface far easier than XHTML (since I'm only considering
    the content), so that I can set up easy ways of changing that content for the completely computer
    illiterate people I work with. Also, I'm doing an XML course later, so I want ot get some
    practice in /biggrin.gif" style="vertical-align:middle" emoid=":D" border="0" alt="biggrin.gif....
  15. Need Environmental Website Ideas!
    Needing Environmental website ideas for design! (0)
    Hi everyone, I am new to trap17.com. In fact this is my first message. So... Yeah! for me. I
    hope this will website will live up to all of the hype that I have been hearing from all of my
    friends. Ok well getting on to the subject. I am creating an environmental website for a
    competition. The topic is the environment. I can do absolutely anything about the environment. My
    idea is to create a website that will show all of the facts about both the good and bad of the
    environment and all that we can do to help/ save the environment. I am looking for some amaz....
  16. Help! Php Or Just Html?
    i want to start buliding my website. which is better, php or basic htm (13)
    i try to start this topic in webhost category but it seems like i cant. i dont have the permission
    so i just post my topic here. im sorry mod.. i want to build a website which contains: - Links to
    videos - Informations - photos - flash i don't know if i should use php or just HTML. guys,
    what are your opinions..??....
  17. Php Scripts And Website Templates
    php scripts and website templates (7)
    I need some help. I´m trying to start my own website but I´m out of ideas about the design... The
    site should look something like this (click to view) Like I said I´m out of ideas so if any of you
    knows of a good and free web template that looks like my site please post the link to it. I´m also
    looking for some free php scripts (classified ads, fotolog, youtube, banner exchange, link exchange,
    adbux) so if you know where I can find any of those scripts please let me know. Thanks in advance.
    "I Need Some Help" isn't a good topic title. Changed to a more descript....
  18. How To Beat Ironport(best Website Blocker?)
    proxy browsing (0)
    I am asking this question to all experts And answer is not that simple. Problem is that all the
    proxy sites are also banned by IRONPORT. So u cannot beat it that easily. The only solution i know
    is to find out a newest proxy site before it is banned? Is there any better way? All TECH-GODS....
  19. Image Not Taking The Right Size In Web Page
    An image is correct when designed, but not when put in a website (1)
    When trying to make a web page with a GIF image on it which runs a coloured bar along the top and a
    coloured curve along the side, I come across the weird thing that, when I put the image on a web
    site, it does not take in the whole top and does not run from top to bottom completely. The image is
    made in Adobe Photoshop at a resolution of 1024X768 pixela and looks correct , ie. the horizontal
    bit runs completely from left to righ and the vertical bit completely from topright to bottom right,
    yet when put in to the web page, it shows with big margins left and right and to....
  20. Need A Logo For Website Can't Get Into Ideas
    (10)
    Hi friends i'm running site on computinghost server called http://onecore.net i think again i
    need some help,for good touch to the site so pleasse help me can you think of any good logo idea,i
    want simple,creative,techno-anime style yet smoot for eyes. can you think of any good idea,mymind
    is just wandering here and there /unsure.gif" style="vertical-align:middle" emoid=":unsure:"
    border="0" alt="unsure.gif" /> hope u understand that .... Please send in any dieas for logo almost
    anything.....
  21. How Do I Put A Flash Image In My Website
    (10)
    oke i got flash now and i made this button http://www.crazydesign.trap17.com/coolflashthingy.swf
    this button i wanne use for my website now my question is, what do i need to put it online do i need
    a special code or something,i'm not experienced with this,i heard something about a special code
    u need for it,but i dunno wichi'm just used to using tis QUOTE ....
  22. Why Tables For Layout Is Stupid
    problems defined, solutions offered (10)
    this covers what every web developer/designer should know, first and foremost. /biggrin.gif"
    style="vertical-align:middle" emoid=":D" border="0" alt="biggrin.gif" /> although this resource has
    been around since 2003, there are still some things to learn from it, especially for beginners. the
    gist of it all is this: avoid TABLES for LAYOUT at all cost. /tongue.gif"
    style="vertical-align:middle" emoid=":P" border="0" alt="tongue.gif" /> Why tables for layout
    is stupid: problems defined, solutions offered MAIN SECTIONS COVERED: Introduction
    QUOTE ....
  23. How Successful Are Part-time Website Designers/developers?
    (10)
    I have been createing websites for a while now. I use HTML, Javascript, just added PHP, and starting
    MySQL. I'm thinking about trying to start createing website partime. Any of you guys ever tryed
    it? If so how well did it go and how should I start?....
  24. How To Create Smallest Website
    (21)
    I wonder if any one create smallest website on earth? any webmaster can share this things .. .if
    they can make how could it be? /wink.gif" style="vertical-align:middle" emoid=";)" border="0"
    alt="wink.gif" />....
  25. What Are The Steps To Making A Website?
    (19)
    what are some steps to making a website? im doing a project and i need like 5-7, but id ont know
    waht to put. ....
  26. Help Needed For Alumni Website.
    (6)
    I'm planning to start an Alumni website for my college mates, I searched for any Alumni CMS but
    couldn't find one. So If anyone of you know any Alumni or Community CMS, please share it with
    me. I need a community CMS where each member Can have his own page, and somewhat related to orkut.
    If there is any add-on MODs for Joomla or Mambo please do share them too.....
  27. Excellent Free Website Templates
    (23)
    Site also includes 60 free logo templates, 63 free banner templates, 84 free newsletter templates,
    website arrows, abstract images, and much more. Fantastic resource...
    http://www.templatesbox.com/templates.htm ....
  28. Fp2003 - Tables
    Hope this is the right forum...? (7)
    Hi, I have designed a page within a table - three columns all adding up to 100% (no fixed pixel
    column widths). The thing is that when I previously previewed it in other browsers it showed the
    whole page - a but squashed, but everything was in the window without having to scroll horizontaly.
    I made some adjustments without interfering with column widths, but now previews require horizontal
    scrolling to view the page. Previously the text links in the centre column would wrap to cater for
    the smaller browser size, but not now. Also, at the foot of the page there is a b....
  29. Man Why Is Everything Hard To Get A Website Design
    man webdesigning is hard (32)
    okay ppl why is that they give u front pagew that u make a webdisgn adnthe u have to bye better
    stuff just to get it right plz tell me why....
  30. Which Is The Best Premade Website?
    mambo or phpnuke (7)
    Hi, I am looking for a ready made site like mambo or phpuke, anyone know anyhting faster and lighter
    to use. Moving from What Is...? to Webdesigning Tools and Software Discussion . Topic title AND
    its description are very important when posting a new topic. Entered description. ....

    1. Looking for tables, causing, line, website

*RANDOM STUFF*





*SIMILAR VIDEOS*
Searching Video's for tables, causing, line, website

*MORE FROM TRAP17.COM*
Similar
Has Anyone Designed A Website For A Wow Guild?
Basic Of Website Creation - Get basic knowledge on website creation here
Website Layout? - Help me please
Creating A Good Website, How?!
Flash Media Into Html/css Website - does anyone know how to import a flash into a webpage with transparenc
Php Auto Website Title
How To Build A Good Website
Help Creating A Profile Website - how do i make a profile website
How To Make A Website - (If you're trying to drive people away from your site)
Webdesign Frequently Askd Questions - is it posible to design a sercheingin in your website.
Please Rate My Website - out of a possible 10
My Website Design , Any Suggestions? - this is something i designed with the help from user sonesay , what do
Is There An Xbox Live Gamertag Code To Shw The Gamercard On A Website? - The title says all!
Xml For Dynamic Website Content
Need Environmental Website Ideas! - Needing Environmental website ideas for design!
Help! Php Or Just Html? - i want to start buliding my website. which is better, php or basic htm
Php Scripts And Website Templates - php scripts and website templates
How To Beat Ironport(best Website Blocker?) - proxy browsing
Image Not Taking The Right Size In Web Page - An image is correct when designed, but not when put in a website
Need A Logo For Website Can't Get Into Ideas
How Do I Put A Flash Image In My Website
Why Tables For Layout Is Stupid - problems defined, solutions offered
How Successful Are Part-time Website Designers/developers?
How To Create Smallest Website
What Are The Steps To Making A Website?
Help Needed For Alumni Website.
Excellent Free Website Templates
Fp2003 - Tables - Hope this is the right forum...?
Man Why Is Everything Hard To Get A Website Design - man webdesigning is hard
Which Is The Best Premade Website? - mambo or phpnuke
advertisement



Need Help With Tables Causing A Line Down My Website



 

 

 

 

ADD REPLY / Got an Opinion! a humble request :-) RAPID SEARCH! Free Hosting [X]
Express your Opinions, Thoughts or Contribute more info. to help others.
Ask your Doubts & Queries to get answers, So that "Together We can help others!"
Register FREE for AD-FREE forum, Create your own topics, Ask Questions, track topics, setup subscriptions & notifications and Get a Free Website w/ Email and FTP.
500MB Space *No Ads*, CPanel, FTP, PHP, MySQL, EMails - 100% FREE