SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Addict ibeblunt's Avatar
    Join Date
    Jan 2001
    Location
    Jersey City, NJ
    Posts
    312
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    This CSS looks good here and not there.

    I'm new to CSS and I'm having an issue with this layout that I created.

    http://www.sohh.com/thewire/read_tem...=4521&test=yes

    You should be able to make the browser wider and narrower and you'll see that it works rather well.

    The way I have my site set up is so that this file gets saved to a directory on my HD.
    http://www.sohh.com/html/4521.html

    And then it gets pulled in a rather complex table:
    http://www.sohh.com/thewire/read.php?contentID=4521

    [This is done for a few reasons. But I don't want to get into that now, so please don't ask.]

    Anyway, I'm having two problems.

    1. This nice layout only works sometimes.
    ex: http://www.sohh.com/thewire/read_tem...=4511&test=yes and http://www.sohh.com/thewire/read.php?contentID=4511

    2. Is there a way to get the CONTENT to wrap underneath the sidebar?

    The stylesheet for this can be found here:
    http://www.sohh.com/_inc_stylesheet_article.css

    Thanks...
    <///////~

    www.sohh.com

  2. #2
    Kitty Lizard reptilianfeline's Avatar
    Join Date
    Aug 2002
    Location
    Somewhere in Cyberspace
    Posts
    385
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I'm not really sure what you're trying to do...
    Content to wrap underneath sidebar... what content and what sidebar? Is content the article? Sidebar to the left or right?

    Anyway... when you specify the width of a box it won't become suddenly bigger. What you can do is make the bigger (content) box so wide it has its initial width + the width of the sidebar. Then float the sidebar-box inside the content-box.

    Read more at www.w3.org/TR/REC-CSS2/
    Reptilian Feline
    | www.reptilian-feline.net | Art | Tutorials | Pets | Music |
    Webdesign the hard way...


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •