Changing these Tables

This is a discussion on "Changing these Tables" within the Web Page Design section. This forum, and the thread "Changing these Tables are both part of the Design Your Website category.



Go Back   Webforumz.com > Main Forums > Design Your Website > Web Page Design

Notices


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old Nov 9th, 2007, 06:38
Junior Member
Join Date: Nov 2007
Location: Michigan
Age: 22
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts
Changing these Tables

Hello,

I'm in the process of remaking my guild's website, and I'm redoing the code so that tables don't make the layout anymore (yay!), however, I have a couple of problems. All the code is clean and I get no errors, however, I want to know if it's possible to fix the couple of tables included in this short page.

http://www.ascendo-tuum.com/atbeta/index.php

Check the source code. By learning how to fix this table issue so that it is CSS-driven, I shouldn't have as many problems making the rest of the site, but I want to make sure it's being put together correctly from the start! Thanks in advance.

Code in Question:

Code: Select all
<div id="admin">
    <div id="adminlogo">
    <table cellpadding="0" cellspacing="0" border="0">
        <tr>
        <td class="adminmenu"><a href="index.php?p=admin&amp;mod=mmanagement">Member Management</a></td>
        <td class="adminmenu"><a href="index.php?p=admin&amp;mod=recruitment">Recruitment Notices</a></td>
        <td class="adminmenu"><a href="index.php?p=admin&amp;mod=progression">Progression Admin</a></td>
        <td class="adminmenu"><a href="index.php?p=admin&amp;mod=rmanager">Review Manager</a></td>
        </tr>
    </table>
    </div>
</div>

<div id="wrapper">
    <div id="topbar">
    <table cellpadding="0" cellspacing="0" border="0">
        <tr>
        <td class="topbarleft">Left Text</td>
        <td class="topbarright">Right Text</td>
        </tr>
    </table>
    </div>
</div>
Reply With Quote

  #2 (permalink)  
Old Nov 9th, 2007, 08:30
AdRock's Avatar
SuperMember

SuperMember
Join Date: Jul 2006
Location: Devon, England
Posts: 565
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Changing these Tables

What are suppposed to b elooking at?
Reply With Quote
  #3 (permalink)  
Old Nov 9th, 2007, 12:40
Junior Member
Join Date: Nov 2007
Location: Michigan
Age: 22
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Changing these Tables

The code that's highlighted, I was looking to see if that code can be done without using tables, through CSS.
Reply With Quote
  #4 (permalink)  
Old Nov 9th, 2007, 12:48
AdRock's Avatar
SuperMember

SuperMember
Join Date: Jul 2006
Location: Devon, England
Posts: 565
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Changing these Tables

You should be able to do it with an unordered list and just add css to the list

Have a look here http://www.alistapart.com/articles/taminglists/
Reply With Quote
  #5 (permalink)  
Old Nov 9th, 2007, 13:11
Junior Member
Join Date: Nov 2007
Location: Michigan
Age: 22
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Changing these Tables

Excellent, that's exactly what I'm looking for, thank you.

I do have a follow-up question. Is there a way to do padding in CSS without it moving the background with it? The table created there is also done because I can pad the table to get the text in the right position without it adjusting the background. Thanks again in advance!
Reply With Quote
  #6 (permalink)  
Old Nov 9th, 2007, 20:27
Marc's Avatar
Moderator

SuperMember
Join Date: Apr 2007
Location: Scotland, UK
Age: 15
Posts: 1,662
Thanks: 0
Thanked 9 Times in 9 Posts
Re: Changing these Tables

Have you tried Margin?
Reply With Quote
  #7 (permalink)  
Old Nov 9th, 2007, 22:09
Junior Member
Join Date: Nov 2007
Location: Michigan
Age: 22
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Changing these Tables

Yeah, it starts the background at the point the margin is, same for padding

Edit: The page isn't showing up properly in IE at all: it's adding blank space Any coding reason why or how to fix it?

Thanks again in advance for the help!

Last edited by Aerdan; Nov 9th, 2007 at 22:15.
Reply With Quote
  #8 (permalink)  
Old Nov 9th, 2007, 22:20
AdRock's Avatar
SuperMember

SuperMember
Join Date: Jul 2006
Location: Devon, England
Posts: 565
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Changing these Tables

Have you tried adding a background image to each list item?

I have never tried it but it is just a theory.....also the I haven't had a beer for 2 weeks and it's starting to think for me :crazy:
Reply With Quote
  #9 (permalink)  
Old Nov 24th, 2007, 18:44
Junior Member
Join Date: Nov 2007
Location: Michigan
Age: 22
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Changing these Tables

Sorry for a lack of response. I haven't had a chance to run the last fixes, but going to shortly.

I'm also looking to fix this line break issue. Does anyone know a way to fix it so it won't break the images in a row like it is?
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
changing vaules in tables iochinome Databases 2 Mar 18th, 2008 11:53
Changing CSS with PHP Emzi PHP Forum 7 Oct 11th, 2007 23:24
changing pic's bruno89 Web Page Design 4 Sep 8th, 2006 15:22
changing %20 in URL using PHP JamieH PHP Forum 1 Dec 8th, 2005 13:52
why are my fonts changing? Val J Flash & Multimedia Forum 0 Sep 1st, 2005 20:29


All times are GMT. The time now is 20:28.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43