+ Reply to Thread
Results 1 to 5 of 5

Thread: A big mess!

  1. #1
    xpodit is offline x10Hosting Member xpodit is an unknown quantity at this point
    Join Date
    Nov 2008
    Posts
    17

    A big mess!

    Okay, basically I have recently create a layout and decided I liked it enough to use it as my new site layout. The only problem, I did not expect to use the layout, so I did not really design the graphics very splice friendly.

    I have the layout spliced into I believe nearly 30 images and set up as a 9 collumn table. The only problem I am having is that I can not set the main content or the navigation as text inside the actual table, it is set in a absolute positioned div. Now you might see that and say, "Well what is the problem?" I'll tell you, I HATE DIVS. Tables seem to be a little easier to use, and I hate sitting and moving boxes around pixel by pixel for hours at a time, just to get my text to show up inside my content box correctly.

    Another dilema I have ran into is I would like to use PHP's switch/case function for my navigation, hopefuly for the fact that it might releave load times for low speed connections, without really having to lower the detail of the images.

    The layout it's self is HERE

    The original image is HERE

    What I want is for the content box itself, along with the inner boarder to stretch with the content, but be seperate from the other content box at the same time.

    The outside boarder (the fading boarder) to stay the original size, no stretching.

    With the navigation, right panel, I was hoping to be able to create sections using the image I have there.

    I have been trying to wrap my head around this for a few days now, and it is driving me crazy!

    I know that part of this topic does belong in the graphics section, but I also needed help with the coding and only wanted to create one post to keep from confusing readers.

    Any help would be greatly appreciated!

    Adam

  2. #2
    freecrm's Avatar
    freecrm is offline x10 Elder freecrm is an unknown quantity at this point
    Join Date
    May 2008
    Location
    UK
    Posts
    629

    Re: A big mess!

    Firstly, you have to understand what the underlying table is doing, so just strip out, or comment out all the .css.

    The you can see where your comment box should be in relation to the rest of the table.

    Once you have that, just put a nested table into the correct cell (the one currently with the class "left content")

    i.e. from

    HTML Code:
    <table>
    <tr>
    <td class = "leftcontent">this is where the div content has been overlaid</td>
    </tr>
    </table>
    to

    HTML Code:
    <table>
    <tr>
    <td class = "leftcontent">
         <table>
         <tr>
         <td class = "whateverstyle">
         type your content here rather than in the div
         </td>
         </tr>
         </table>
    </td>
    </tr>
    </table>
    then the remainder of the .css can be replaced with the exception of the div content, which you can now insert directly into your nested table.

    HOWEVER - I don't see the need to split these cells - why can't you just put your content intot he cell and use styling on the <td>'s? You may have to clarify your problem a bit.

    Hope this helps a little to start off with.
    Last edited by freecrm; 11-23-2008 at 02:50 PM.

  3. #3
    Dan's Avatar
    Dan
    Dan is offline
    Lord Of The Keys Dan is an unknown quantity at this point
    Join Date
    Aug 2007
    Location
    UK
    Posts
    1,258

    Re: A big mess!

    First, can I say brilliant layout! Can you make me one like it?

    I think the easiest thing for you to do would actually be to use divs...
    Tables just don't work very well for complicated designs like yours.
    If you wanted, I could do it for you...
    Thanks,
    Dan
    _______________
    Retired Staff

  4. #4
    freecrm's Avatar
    freecrm is offline x10 Elder freecrm is an unknown quantity at this point
    Join Date
    May 2008
    Location
    UK
    Posts
    629

    Re: A big mess!

    Quote Originally Posted by Dan View Post
    Tables just don't work very well for complicated designs like yours.
    Agreed!!

  5. #5
    xpodit is offline x10Hosting Member xpodit is an unknown quantity at this point
    Join Date
    Nov 2008
    Posts
    17

    Re: A big mess!

    Well I really appreciate the help!! I havnt had the time the past few days to get anything done really but I have a week of nothing-ness so I hope I can finish it.

    And Dan if you really want me to make you a template pm me the details and I can see what I can whip up.

+ Reply to Thread

Similar Threads

  1. whole mess after you have recompiled php and Apache
    By presoon in forum Free Hosting
    Replies: 2
    Last Post: 03-27-2008, 04:55 AM
  2. Server down or did i mess something up?
    By kreppi92 in forum Free Hosting
    Replies: 2
    Last Post: 01-12-2008, 07:37 PM
  3. Does Flash mess up ajax?
    By rickle42 in forum Scripts & 3rd Party Apps
    Replies: 3
    Last Post: 11-24-2007, 12:31 PM
  4. The ads are still a mess
    By yahia in forum Free Hosting
    Replies: 3
    Last Post: 08-23-2007, 11:41 AM
  5. Mess with you webcam with Logitech Video Effects
    By SEŅOR in forum Computers & Technology
    Replies: 5
    Last Post: 04-15-2006, 01:32 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers