Jump to content


Layout Extend with comments?


7 replies to this topic

#1 pistonsfreak

    Young Padawan

  • Members
  • Pip
  • 174 posts

Posted 18 June 2007 - 04:44 PM

I use CuteNews CMS to post news and stuff on my homepage and whn I click comments and theres a lot of comments they extend past the layout and it looks goofy. Is there a way to have it so when I click comments the layout extends with it or is that something I have to deal with with CuteNews support?

Heres a screen shot:

Posted Image

#2 pistonsfreak

    Young Padawan

  • Members
  • Pip
  • 174 posts

Posted 19 June 2007 - 01:25 PM

anyone please? i really need this

#3 Av-

    I Feel Left Out

  • Members
  • PipPipPipPip
  • 1,971 posts
  • Gender:Male
  • Location:10 ft. below sea level

Posted 19 June 2007 - 01:55 PM

Do you have a copy of the site online? Posting a screenshot does help identifying a problem, but there's no way we can help you without any source code...

#4 pistonsfreak

    Young Padawan

  • Members
  • Pip
  • 174 posts

Posted 19 June 2007 - 02:54 PM

http://tournamentlou.../tournament.php

click 5 comments and they will come up

Edited by pistonsfreak, 19 June 2007 - 02:55 PM.


#5 Av-

    I Feel Left Out

  • Members
  • PipPipPipPip
  • 1,971 posts
  • Gender:Male
  • Location:10 ft. below sea level

Posted 19 June 2007 - 04:25 PM

Bam! http://slicingguide.com/

It's simply because you didn't slice your layout, it seems that you just saved the layout straight out of photoshop and put it in a div layer. Your site may also look centered on a 1024x768 resolution, but on 1280, it's suddenly way of :). I would really recommend you to read this guide to fully understand how a site is constructed and how those expanding boxes work without ever touching the source code. Once you got the basics down you can start trying some more advanced stuff such as writing the html yourself and eventually xhtml and css.

http://slicingguide.com/

Good luck :)

#6 pistonsfreak

    Young Padawan

  • Members
  • Pip
  • 174 posts

Posted 19 June 2007 - 05:29 PM

i really dont feel like going through and recoding the site is there any other easier way to do it?

#7 Av-

    I Feel Left Out

  • Members
  • PipPipPipPip
  • 1,971 posts
  • Gender:Male
  • Location:10 ft. below sea level

Posted 19 June 2007 - 07:11 PM

Not the answer you want to hear, but nope... However you could put the content in a scrollable div, it's the lazy way out, but it does the job...

wrap the comments in a div like so

<div style="height:400px; overflow:auto;"><?php include('cutenews_comments.php'); ?></div>


#8 pistonsfreak

    Young Padawan

  • Members
  • Pip
  • 174 posts

Posted 19 June 2007 - 10:12 PM

i dd what i needed from that tutorial but when I place my text now its all at different areas in the html documengt but its fine in dreamweaver





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users